Update 08-bootstrapping-kubernetes-controllers.md
Update curl command to get REGION envpull/708/head
parent
79a3f79b27
commit
79e0706533
|
@ -64,7 +64,7 @@ INTERNAL_IP=$(curl -s -H "Metadata-Flavor: Google" \
|
|||
|
||||
```
|
||||
REGION=$(curl -s -H "Metadata-Flavor: Google" \
|
||||
http://metadata.google.internal/computeMetadata/v1/project/attributes/google-compute-default-region)
|
||||
http://metadata.google.internal/computeMetadata/v1/instance/zone | cut -d/ -f 4 | sed 's/.\{2\}$//')
|
||||
```
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue