Skip to content

Add "node-locations" parameter when creating a GKE Node Pool #635

@RahadianPanji

Description

@RahadianPanji
SUMMARY

When creating a GKE Node Pool in a regional non-autopilot cluster, there's an option to list which zones the node will be created in. For example in a us-central cluster, we can create a nodepool that's located only in us-central1-a and us-central1-b, by specifying the --node-locations parameter when using the command gcloud container node-pools create (gcloud docs).

But when creating with ansible google.cloud.gcp_container_node_pool, there's no such parameter to specify that (ansible docs). Instead it will create the nodepool located in 3 different arbitrary zones. (for example us-central1-a, us-central1-b, and us-central1-f.

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

google.cloud.gcp_container_node_pool

ADDITIONAL INFORMATION

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions