Skip to content

Docs - google_container_cluster - initial_node_count 1 for remove_default_node_pool = true causes auto repair #10354

@jimsnab

Description

@jimsnab

This doc page recommends

  # We can't create a cluster with no node pool defined, but we want to only use
  # separately managed node pools. So we create the smallest possible default
  # node pool and immediately delete it.
  remove_default_node_pool = true
  initial_node_count       = 1

Unless the separately managed node pool only has one node, GKE will go into repair mode after creation. GKE will spin for about 30 mins in repair mode - although the cluster is mostly usable.

The docs should recommend sizing the default node pool the same as the replacement node pool.

I only have one replacement node pool, so someone else will have to check the behavior when using two or more replacement node pools.

References

  • b/298514262

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions