Update 08-bootstrapping-kubernetes-controllers.md

Update curl command to get REGION env
pull/708/head
Illia Oleksiuk 2022-06-02 18:18:27 +03:00 committed by GitHub
parent 79a3f79b27
commit 79e0706533
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ INTERNAL_IP=$(curl -s -H "Metadata-Flavor: Google" \
``` ```
REGION=$(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\}$//')
``` ```
``` ```