Revert "Open nodeport to IPv6 in e2e tests"

This reverts commit 064fd9215c.
This commit is contained in:
John Gardiner Myers 2021-11-28 19:21:35 -08:00
parent d6ad9ded50
commit ad46b4d5bd
2 changed files with 1 additions and 2 deletions

View File

@ -86,7 +86,7 @@ kubetest2 kops \
If you don't specify any additional flags, the kOps deployer Go module will create a kubernetes cluster using the following defaults. If you don't specify any additional flags, the kOps deployer Go module will create a kubernetes cluster using the following defaults.
```shell ```shell
kops create cluster --name my.testcluster.com --admin-access <Client Public IP> --cloud aws --kubernetes-version v1.20.2 --master-count 1 --master-volume-size 48 --node-count 4 --node-volume-size 48 --override cluster.spec.nodePortAccess=0.0.0.0/0 --override cluster.spec.nodePortAccess=::/0 --ssh-public-key /home/ubuntu/.ssh/id_rsa.pub --yes --zones <Random Zone> --master-size c5.large --networking calico kops create cluster --name my.testcluster.com --admin-access <Client Public IP> --cloud aws --kubernetes-version v1.20.2 --master-count 1 --master-volume-size 48 --node-count 4 --node-volume-size 48 --override cluster.spec.nodePortAccess=0.0.0.0/0 --ssh-public-key /home/ubuntu/.ssh/id_rsa.pub --yes --zones <Random Zone> --master-size c5.large --networking calico
``` ```
For the `--zones` flag, the kOps deployer will select a random zone based on the `--cloud-provider` flag, for `aws` the full list of AWS zones can be found [here](https://github.com/kubernetes/kops/blob/master/tests/e2e/kubetest2-kops/aws/zones.go) and for `gce` the full list of GCE zones can be found [here](https://github.com/kubernetes/kops/blob/master/tests/e2e/kubetest2-kops/gce/zones.go). For the `--zones` flag, the kOps deployer will select a random zone based on the `--cloud-provider` flag, for `aws` the full list of AWS zones can be found [here](https://github.com/kubernetes/kops/blob/master/tests/e2e/kubetest2-kops/aws/zones.go) and for `gce` the full list of GCE zones can be found [here](https://github.com/kubernetes/kops/blob/master/tests/e2e/kubetest2-kops/gce/zones.go).

View File

@ -114,7 +114,6 @@ func (d *deployer) createCluster(zones []string, adminAccess string, yes bool) e
"--kubernetes-version", d.KubernetesVersion, "--kubernetes-version", d.KubernetesVersion,
"--ssh-public-key", d.SSHPublicKeyPath, "--ssh-public-key", d.SSHPublicKeyPath,
"--override", "cluster.spec.nodePortAccess=0.0.0.0/0", "--override", "cluster.spec.nodePortAccess=0.0.0.0/0",
"--override", "cluster.spec.nodePortAccess=::/0",
} }
if yes { if yes {
args = append(args, "--yes") args = append(args, "--yes")