diff --git a/docs/01-prerequisites.md b/docs/01-prerequisites.md index eacf09f..58454ae 100644 --- a/docs/01-prerequisites.md +++ b/docs/01-prerequisites.md @@ -54,4 +54,14 @@ gcloud config set compute/zone us-west1-c > Enable `synchronize-panes`: `ctrl+b` then `shift :`. Then type `set synchronize-panes on` at the prompt. To disable synchronization: `set synchronize-panes off`. +## Running Commands in Parallel with iTerm2 (on macOS) + +[iTerm2](https://www.iterm2.com/) may 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 iTerm2 and splitting a window into multiple panes. + +> The use of iTerm2 is optional and not required to complete this tutorial. + +![iterm2 screenshot](images/iterm2-screenshot.png) + +> To create panes type the shortcuts `cmd + d` or `cmd + shift + d` to divide an existing session vertically or horizontally, respectively. Then type `cmd + shift + i` to synchronize. To disable synchronization type `cmd + shift + i` again. + Next: [Installing the Client Tools](02-client-tools.md) diff --git a/docs/07-bootstrapping-etcd.md b/docs/07-bootstrapping-etcd.md index 9b3d801..fa59774 100644 --- a/docs/07-bootstrapping-etcd.md +++ b/docs/07-bootstrapping-etcd.md @@ -10,7 +10,7 @@ The commands in this lab must be run on each controller instance: `controller-0` gcloud compute ssh controller-0 ``` -### Running commands in parallel with tmux +### Running commands in parallel with tmux or iTerm2 [tmux](https://github.com/tmux/tmux/wiki) or [iTerm2](https://www.iterm2.com/) can be used to run commands on multiple compute instances at the same time. See the [Running commands in parallel with tmux](01-prerequisites.md#running-commands-in-parallel-with-tmux) or [Running commands in parallel with iTerm2](01-prerequisites.md#running-commands-in-parallel-with-iterm2) section in the Prerequisites lab.