gkectl is the command-line tool for operating GKE on-prem clusters. It supports configuration validation, load-balancer creation, user-cluster creation, and cluster updates, while release-specific limits and configuration procedures may change. section 5.2 section 5.2.1
Use gkectl within an operational structure that separates administration from workloads:
- Keep the admin cluster dedicated to monitoring and administering user clusters; do not deploy services that could affect it. section 5.2
- Use the admin-cluster kubeconfig for validation, load-balancer creation, and new user-cluster creation. section 5.2.1
- Use the user-cluster kubeconfig when updating an existing user cluster. section 5.2.1
- Plan for at least three nodes per user cluster, up to 100 nodes in the stated release guidance, and reserve capacity for recreation or upgrades. section 5.2.1
Validate and create a user cluster
Run validation before creation, then create the load balancer and cluster with the relevant admin kubeconfig and configuration file. section 5.2.1
gkectl check-config --kubeconfig [ADMIN_CLUSTER_KUBECONFIG] --config [CONFIG_FILE]
Validates a GKE on-prem configuration before applying it. section 5.2.1
gkectl create cluster --kubeconfig [ADMIN_CLUSTER_KUBECONFIG] --config [CONFIG_FILE]
Creates a user cluster from a configuration file through the admin cluster context. section 5.2.1
