From 608711130aa33be365ae15552ce220dfa0a5d796 Mon Sep 17 00:00:00 2001 From: Faun Date: Sun, 11 Sep 2016 18:46:49 -0700 Subject: [PATCH] Add instructions on how to SSH into the instances There's a missing assumption here in this step about how to log in to a running instance via SSH, so let's clarify with an example. --- docs/04-kubernetes-controller.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/04-kubernetes-controller.md b/docs/04-kubernetes-controller.md index 2807470..43d1b7e 100644 --- a/docs/04-kubernetes-controller.md +++ b/docs/04-kubernetes-controller.md @@ -27,6 +27,12 @@ Each component is being run on the same machines for the following reasons: Run the following commands on `controller0`, `controller1`, `controller2`: +You can ssh into each instance using the `gcloud` command. Assuming the Google Compute project you created for this example was called `kubernetes-the-hard-way` and you created your instances in the zone `us-central1-a`, you can log into `etcd0` instance with the following command: + +``` +gcloud compute --project "kubernetes-the-hard-way" ssh --zone "us-central1-a" "etcd0" +``` + Move the TLS certificates in place: ```