Update 08-bootstrapping-kubernetes-controllers.md

When curl the region, it gave a 404 error
pull/689/head
jar3 2022-01-27 23:13:00 -03:00 committed by GitHub
parent 79a3f79b27
commit c909844db8
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\}$//')
``` ```
``` ```