Skip to content

Commit cdcd258

Browse files
tthvoclaude
andcommitted
OCPBUGS-86225: fix PDB AlwaysAllow test failure on IPv6-primary dualstack clusters
The nginx config in the PDB test only had `listen 8080` which binds to IPv4 only. On dualstack clusters where IPv6 is the primary family, the kubelet probes readiness using the pod's IPv6 address. Since nginx was not listening on IPv6, the probe got connection refused and pods never became Ready, causing the test to time out. Add `listen [::]:8080` so nginx accepts connections on both IPv4 and IPv6. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4486518 commit cdcd258

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/extended/testdata/poddisruptionbudgets/nginx-with-delayed-ready-deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ data:
6868
default.conf: |
6969
server {
7070
listen 8080;
71+
listen [::]:8080;
7172
server_name localhost;
7273
location / {
7374
root /usr/share/nginx/html;

0 commit comments

Comments
 (0)