Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Region is not set correctly when demo cluster is choosen #219

Open
umut-saribiyik88 opened this issue Jul 12, 2022 · 0 comments
Open

Region is not set correctly when demo cluster is choosen #219

umut-saribiyik88 opened this issue Jul 12, 2022 · 0 comments

Comments

@umut-saribiyik88
Copy link

Hi

If I try to create a demo cluster It always fails because the following line can not extract the zone correctly.
The variable "GCLOUD_ZONE" is empty.

GCLOUD_ZONE=$(gcloud compute zones list --filter=region:${GCLOUD_REGION} | grep -m1 "${GCLOUD_REGION}-[a-z]" | cut -d' ' -f 1 | tail -1)

Especially the last part fails: cut -d' ' -f 1 | tail -1

Can you please check this?

Greetings
Umut Saribiyik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant