mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 15:58:37 +00:00
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
This commit is contained in:
parent
0b4275b6c7
commit
d5d57baa36
@ -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{
|
||||
|
Loading…
Reference in New Issue
Block a user