You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -14,10 +14,11 @@ The target audience for this tutorial is someone planning to support a productio
14
14
15
15
Kubernetes The Hard Way guides you through bootstrapping a highly available Kubernetes cluster with end-to-end encryption between components and RBAC authentication.
Copy file name to clipboardExpand all lines: docs/01-prerequisites.md
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ This tutorial leverages the [Google Cloud Platform](https://cloud.google.com/) t
14
14
15
15
Follow the Google Cloud SDK [documentation](https://cloud.google.com/sdk/) to install and configure the `gcloud` command line utility.
16
16
17
-
Verify the Google Cloud SDK version is 183.0.0 or higher:
17
+
Verify the Google Cloud SDK version is 200.0.0 or higher:
18
18
19
19
```
20
20
gcloud version
@@ -44,4 +44,14 @@ gcloud config set compute/zone us-west1-c
44
44
45
45
> Use the `gcloud compute zones list` command to view additional regions and zones.
46
46
47
+
## Running Commands in Parallel with tmux
48
+
49
+
[tmux](https://github.com/tmux/tmux/wiki) can be used to run commands on multiple compute instances at the same time. Labs in this tutorial may require running the same commands across multiple compute instances, in those cases consider using tmux and splitting a window into multiple panes with `synchronize-panes` enabled to speed up the provisioning process.
50
+
51
+
> The use of tmux is optional and not required to complete this tutorial.
52
+
53
+

54
+
55
+
> Enable `synchronize-panes`: `ctrl+b` then `shift :`. Then type `set synchronize-panes on` at the prompt. To disable synchronization: `set synchronize-panes off`.
56
+
47
57
Next: [Installing the Client Tools](02-client-tools.md)
The compute instances in this lab will be provisioned using [Ubuntu Server](https://www.ubuntu.com/server)16.04, which has good support for the [cri-containerd container runtime](https://github.com/containerd/cri-containerd). Each compute instance will be provisioned with a fixed private IP address to simplify the Kubernetes bootstrapping process.
95
+
The compute instances in this lab will be provisioned using [Ubuntu Server](https://www.ubuntu.com/server)18.04, which has good support for the [containerd container runtime](https://github.com/containerd/containerd). Each compute instance will be provisioned with a fixed private IP address to simplify the Kubernetes bootstrapping process.
SSH will be used to configure the controller and worker instances. When connecting to compute instances for the first time SSH keys will be generated for you and stored in the project or instance metadata as describe in the [connecting to instances](https://cloud.google.com/compute/docs/instances/connecting-to-instance) documentation.
165
+
166
+
Test SSH access to the `controller-0` compute instances:
167
+
168
+
```
169
+
gcloud compute ssh controller-0
170
+
```
171
+
172
+
If this is your first time connecting to a compute instance SSH keys will be generated for you. Enter a passphrase at the prompt to continue:
173
+
174
+
```
175
+
WARNING: The public SSH key file for gcloud does not exist.
176
+
WARNING: The private SSH key file for gcloud does not exist.
177
+
WARNING: You do not have an SSH key for gcloud.
178
+
WARNING: SSH keygen will be executed to generate a key.
179
+
Generating public/private rsa key pair.
180
+
Enter passphrase (empty for no passphrase):
181
+
Enter same passphrase again:
182
+
```
183
+
184
+
At this point the generated SSH keys will be uploaded and stored in your project:
185
+
186
+
```
187
+
Your identification has been saved in /home/$USER/.ssh/google_compute_engine.
188
+
Your public key has been saved in /home/$USER/.ssh/google_compute_engine.pub.
0 commit comments