From d5d57baa3607125aa3afa7bf5a4cc4f305bf7ce0 Mon Sep 17 00:00:00 2001 From: Antonio Ojea Date: Sun, 10 Mar 2019 16:47:53 +0100 Subject: [PATCH] Add ipv6 support to the e2e healthz test The test [k8s.io] Probing container [It] should not be restarted with a /healthz http liveness probe [NodeConformance] [Conformance] fails because it's using a nginx image that's spawns a server that's only listening on IPv4 by default. Switching to an image like TestWebserver that's listening in IPv4 and IPv6 by default allows the test to run on IPv4 and IPv6 environments. Reference: https://github.com/kubernetes/kubernetes/issues/70248 --- test/e2e/common/container_probe.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/common/container_probe.go b/test/e2e/common/container_probe.go index 9988a29919e..dfe3114756d 100644 --- a/test/e2e/common/container_probe.go +++ b/test/e2e/common/container_probe.go @@ -252,7 +252,7 @@ var _ = framework.KubeDescribe("Probing container", func() { Containers: []v1.Container{ { Name: "liveness", - Image: imageutils.GetE2EImage(imageutils.Nginx), + Image: imageutils.GetE2EImage(imageutils.TestWebserver), Ports: []v1.ContainerPort{{ContainerPort: 80}}, LivenessProbe: &v1.Probe{ Handler: v1.Handler{