mirror of https://github.com/kubernetes/kops.git
docs: fix broken example command
This commit is contained in:
parent
7b631db949
commit
f29f01f9f0
|
@ -22,7 +22,7 @@ setting either `spec.sshAccess` in the cluster spec or using `kops create cluste
|
|||
To change the SSH public key on an existing cluster:
|
||||
|
||||
* `kops delete sshpublickey --name <clustername> sshpublickey`
|
||||
* `kops create sshpublickey --name <clustername> sshpublickey -i ~/.ssh/newkey.pub`
|
||||
* `kops create sshpublickey --name <clustername> -i ~/.ssh/newkey.pub`
|
||||
* `kops update cluster <clustername> --yes` to reconfigure the launch templates.
|
||||
* `kops rolling-update cluster --name <clustername> --yes` to roll all the machines so they have the new key.
|
||||
|
||||
|
@ -40,4 +40,4 @@ Note that this will also work when using containerd.
|
|||
## Instance IAM roles
|
||||
|
||||
All Pods running on your cluster have access to underlying instance IAM role.
|
||||
Currently, permission scope is quite broad. See [iam_roles.md](iam_roles.md) for details and ways to mitigate that.
|
||||
Currently, permission scope is quite broad. See [iam_roles.md](iam_roles.md) for details and ways to mitigate that.
|
||||
|
|
Loading…
Reference in New Issue