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
parent 0b4275b6
...@@ -252,7 +252,7 @@ var _ = framework.KubeDescribe("Probing container", func() { ...@@ -252,7 +252,7 @@ var _ = framework.KubeDescribe("Probing container", func() {
Containers: []v1.Container{ Containers: []v1.Container{
{ {
Name: "liveness", Name: "liveness",
Image: imageutils.GetE2EImage(imageutils.Nginx), Image: imageutils.GetE2EImage(imageutils.TestWebserver),
Ports: []v1.ContainerPort{{ContainerPort: 80}}, Ports: []v1.ContainerPort{{ContainerPort: 80}},
LivenessProbe: &v1.Probe{ LivenessProbe: &v1.Probe{
Handler: v1.Handler{ Handler: v1.Handler{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment