mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-12-15 17:28:58 +03:00
simplify loop
This commit is contained in:
committed by
Matteo Croce
parent
1dded3b966
commit
ad29810e73
@@ -35,7 +35,7 @@ EOF
|
|||||||
Copy the `encryption-config.yaml` encryption config file to each controller instance:
|
Copy the `encryption-config.yaml` encryption config file to each controller instance:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
for instance in controller-0 controller-1 controller-2; do
|
for instance in controller-{0..2}; do
|
||||||
gcloud compute scp encryption-config.yaml ${instance}:~/
|
gcloud compute scp encryption-config.yaml ${instance}:~/
|
||||||
done
|
done
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user