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

node_locations not working for nodepool #685

Closed
willcocks opened this issue Sep 22, 2020 · 3 comments
Closed

node_locations not working for nodepool #685

willcocks opened this issue Sep 22, 2020 · 3 comments

Comments

@willcocks
Copy link

Seems to ignore what is set, and always creates in all zones.

Need to pin node pool to one zone in multi-zone cluster.

node_locations = "europe-west3-b"

results in nodes in a,b,c.

        "node_locations": [
          "europe-west3-a",
          "europe-west3-b",
          "europe-west3-c"
        ],

terraform-google-modules/kubernetes-engine/google 11.1.0

Terraform v0.13.3

  • provider registry.terraform.io/hashicorp/external v1.2.0
  • provider registry.terraform.io/hashicorp/google v3.39.0
  • provider registry.terraform.io/hashicorp/kubernetes v1.13.2
  • provider registry.terraform.io/hashicorp/null v2.1.2
  • provider registry.terraform.io/hashicorp/random v2.3.0
@morgante
Copy link
Contributor

Can you try using the beta module? We currently only support setting node_locations in the beta modules.

@willcocks
Copy link
Author

I can confirm that the beta works.

@bharathkkb
Copy link
Member

This is also now in GA modules via #709 pending release.

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

3 participants