Add azure ssh

pull/758/head
redsoxfantom 2024-01-29 10:37:14 -05:00
parent 4f8d6e2283
commit 5837e6796d
1 changed files with 12 additions and 0 deletions

View File

@ -303,10 +303,22 @@ In this section you will configure RBAC permissions to allow the Kubernetes API
The commands in this section will effect the entire cluster and only need to be run once from one of the controller nodes.
```gcloud```
```
gcloud compute ssh controller-0
```
```az```
```
az ssh vm --name controller-0 --local-user azureuser
```
OR
```
ssh -i $HOME/.ssh/k8sthehardway azureuser@$(az vm show -d --name controller-0 --query "publicIps" -o tsv)
```
Create the `system:kube-apiserver-to-kubelet` [ClusterRole](https://kubernetes.io/docs/admin/authorization/rbac/#role-and-clusterrole) with permissions to access the Kubelet API and perform most common tasks associated with managing pods:
```