mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
add ipv6 support to the hostport/HostIP e2e test
This commit is contained in:
parent
0655ad338f
commit
54f81c3bb8
@ -825,6 +825,7 @@ func CreateHostPortPods(f *framework.Framework, id string, replicas int, expectR
|
||||
|
||||
// create pod which using hostport on the specified node according to the nodeSelector
|
||||
func createHostPortPodOnNode(f *framework.Framework, podName, ns, hostIP string, port int32, protocol v1.Protocol, nodeSelector map[string]string, expectScheduled bool) {
|
||||
hostIP = framework.TranslateIPv4ToIPv6(hostIP)
|
||||
createPausePod(f, pausePodConfig{
|
||||
Name: podName,
|
||||
Ports: []v1.ContainerPort{
|
||||
|
Loading…
Reference in New Issue
Block a user