Specify public key file

pull/758/head
redsoxfantom 2024-01-29 10:12:08 -05:00
parent a2a49adf14
commit 9920fac86e
1 changed files with 5 additions and 5 deletions

View File

@ -206,8 +206,8 @@ done
``` ```
for instance in worker-0 worker-1 worker-2; do for instance in worker-0 worker-1 worker-2; do
IP=$(az vm show -d --name ${instance} --query "publicIps" -o tsv) IP=$(az vm show -d --name ${instance} --query "publicIps" -o tsv)
scp ${instance}.kubeconfig azureuser@${IP}:/home/azureuser scp -i $HOME/.ssh/k8sthehardway ${instance}.kubeconfig azureuser@${IP}:/home/azureuser
scp kube-proxy.kubeconfig azureuser@${IP}:/home/azureuser scp -i $HOME/.ssh/k8sthehardway kube-proxy.kubeconfig azureuser@${IP}:/home/azureuser
done done
``` ```
@ -224,9 +224,9 @@ done
``` ```
for instance in controller-0 controller-1 controller-2; do for instance in controller-0 controller-1 controller-2; do
IP=$(az vm show -d --name ${instance} --query "publicIps" -o tsv) IP=$(az vm show -d --name ${instance} --query "publicIps" -o tsv)
scp admin.kubeconfig azureuser@${IP}:/home/azureuser scp -i $HOME/.ssh/k8sthehardway admin.kubeconfig azureuser@${IP}:/home/azureuser
scp kube-controller-manager.kubeconfig azureuser@${IP}:/home/azureuser scp -i $HOME/.ssh/k8sthehardway kube-controller-manager.kubeconfig azureuser@${IP}:/home/azureuser
scp kube-scheduler.kubeconfig azureuser@${IP}:/home/azureuser scp -i $HOME/.ssh/k8sthehardway kube-scheduler.kubeconfig azureuser@${IP}:/home/azureuser
done done
``` ```