Skip to content

Instantly share code, notes, and snippets.

@kbruner

kbruner/commands.sh Secret

Last active Dec 8, 2020
Embed
What would you like to do?
for instance in worker-0 worker-1 worker-2; do
scp -i ~cbsd/.ssh/id_rsa -oStrictHostKeyChecking=no ${instance}.kubeconfig kube-proxy.kubeconfig ubuntu@${instance}:~/
done
for instance in controller-0 controller-1 controller-2; do
scp -i ~cbsd/.ssh/id_rsa -oStrictHostKeyChecking=no admin.kubeconfig kube-controller-manager.kubeconfig \
kube-scheduler.kubeconfig ubuntu@${instance}:~/
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment