Skip to content

Instantly share code, notes, and snippets.

@kbruner
Last active December 8, 2020 19:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kbruner/e8be56da8738f3ac035dfc894123e614 to your computer and use it in GitHub Desktop.
Save kbruner/e8be56da8738f3ac035dfc894123e614 to your computer and use it in GitHub Desktop.
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