mirror of https://github.com/kubernetes/kops.git
Update references to "kops set" in tests and documentation
This commit is contained in:
parent
66024869a0
commit
3e87b61c2b
|
@ -79,7 +79,7 @@ If you don't already have TLS enabled with etcd, you can adopt etcd-manager befo
|
||||||
kOps 1.12 & kubernetes 1.12 by running:
|
kOps 1.12 & kubernetes 1.12 by running:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kops set cluster cluster.spec.etcdClusters[*].provider=manager
|
kops edit cluster --set=cluster.spec.etcdClusters[*].provider=manager
|
||||||
```
|
```
|
||||||
|
|
||||||
Then you can proceed to update to kOps 1.12 & kubernetes 1.12, as this becomes the default.
|
Then you can proceed to update to kOps 1.12 & kubernetes 1.12, as this becomes the default.
|
||||||
|
@ -89,7 +89,7 @@ Then you can proceed to update to kOps 1.12 & kubernetes 1.12, as this becomes t
|
||||||
To delay adopting etcd-manager with kOps 1.12, specify the provider as type `legacy`:
|
To delay adopting etcd-manager with kOps 1.12, specify the provider as type `legacy`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kops set cluster cluster.spec.etcdClusters[*].provider=legacy
|
kops edit cluster --set=cluster.spec.etcdClusters[*].provider=legacy
|
||||||
```
|
```
|
||||||
|
|
||||||
To remove, `kops edit` your cluster and delete the `provider: Legacy` lines from both etcdCluster blocks.
|
To remove, `kops edit` your cluster and delete the `provider: Legacy` lines from both etcdCluster blocks.
|
||||||
|
@ -99,7 +99,7 @@ To remove, `kops edit` your cluster and delete the `provider: Legacy` lines from
|
||||||
To delay adopting etcd3 with kOps 1.12, specify the etcd version as 2.2.1
|
To delay adopting etcd3 with kOps 1.12, specify the etcd version as 2.2.1
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kops set cluster cluster.spec.etcdClusters[*].version=2.2.1
|
kops edit cluster --set=cluster.spec.etcdClusters[*].version=2.2.1
|
||||||
```
|
```
|
||||||
|
|
||||||
To remove, `kops edit` your cluster and delete the `version: 2.2.1` lines from both etcdCluster blocks.
|
To remove, `kops edit` your cluster and delete the `version: 2.2.1` lines from both etcdCluster blocks.
|
||||||
|
|
|
@ -47,7 +47,7 @@ KOPS=$(kops-acquire-latest)
|
||||||
cp "${KOPS}" "${WORKSPACE}/kops"
|
cp "${KOPS}" "${WORKSPACE}/kops"
|
||||||
|
|
||||||
# Switch to queue mode. This should remove the DS and install a Deployment instead
|
# Switch to queue mode. This should remove the DS and install a Deployment instead
|
||||||
kops set cluster "${CLUSTER_NAME}" "cluster.spec.nodeTerminationHandler.enableSQSTerminationDraining=true"
|
kops edit cluster "${CLUSTER_NAME}" "--set=cluster.spec.nodeTerminationHandler.enableSQSTerminationDraining=true"
|
||||||
|
|
||||||
# allow downgrade is a bug where the version written to VFS is not the same as the running version.
|
# allow downgrade is a bug where the version written to VFS is not the same as the running version.
|
||||||
kops update cluster --allow-kops-downgrade
|
kops update cluster --allow-kops-downgrade
|
||||||
|
|
|
@ -52,7 +52,7 @@ KOPS_B=$(kops-download-from-base)
|
||||||
|
|
||||||
KOPS="${KOPS_B}"
|
KOPS="${KOPS_B}"
|
||||||
|
|
||||||
"${KOPS_B}" set cluster "${CLUSTER_NAME}" "cluster.spec.kubernetesVersion=${K8S_VERSION_B}"
|
"${KOPS_B}" edit cluster "${CLUSTER_NAME}" "--set=cluster.spec.kubernetesVersion=${K8S_VERSION_B}"
|
||||||
|
|
||||||
"${KOPS_B}" update cluster
|
"${KOPS_B}" update cluster
|
||||||
"${KOPS_B}" update cluster --admin --yes
|
"${KOPS_B}" update cluster --admin --yes
|
||||||
|
|
Loading…
Reference in New Issue