azure updates

pull/758/head
redsoxfantom 2024-01-29 12:25:43 -05:00
parent 441376bb22
commit ec7b431876
1 changed files with 15 additions and 5 deletions

View File

@ -4,12 +4,24 @@ In this lab you will bootstrap three Kubernetes worker nodes. The following comp
## Prerequisites
The commands in this lab must be run on each worker instance: `worker-0`, `worker-1`, and `worker-2`. Login to each worker instance using the `gcloud` command. Example:
The commands in this lab must be run on each worker instance: `worker-0`, `worker-1`, and `worker-2`. Login to each:
```gcloud```
```
gcloud compute ssh worker-0
```
```az```
```
az ssh vm --name worker-0 --local-user azureuser
```
OR
```
ssh -i $HOME/.ssh/k8sthehardway azureuser@$(az vm show -d --name worker-0 --query "publicIps" -o tsv)
```
### Running commands in parallel with tmux
[tmux](https://github.com/tmux/tmux/wiki) 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) section in the Prerequisites lab.
@ -19,10 +31,8 @@ gcloud compute ssh worker-0
Install the OS dependencies:
```
{
sudo apt-get update
sudo apt-get -y install socat conntrack ipset
}
```
> The socat binary enables support for the `kubectl port-forward` command.