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 ca.pem ${instance}-key.pem ${instance}.pem ubuntu@${instance}:~/
done
for instance in controller-0 controller-1 controller-2; do
scp -i ~cbsd/.ssh/id_rsa -oStrictHostKeyChecking=no ca.pem ca-key.pem kubernetes-key.pem kubernetes.pem \
service-account-key.pem service-account.pem ubuntu@${instance}:~/
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment