Stay organized with collections
Save and categorize content based on your preferences.
You can use the gkectl command line interface for a for a variety tasks,
including the following:
Generate a template for a cluster configuration file.
Validate a cluster configuration file.
Prepare a vSphere environment.
Create a cluster.
Upgrade a cluster.
Update a cluster.
Resize a cluster.
Diagnose cluster issues.
To list all commands:
gkectl help
To get help for a specific command:
gkectl COMMAND --help
Environment variable for the admin cluster kubeconfig file
Several gkectl commands require the path of the admin cluster kubeconfig file.
You can specify the path by exporting a GKECTL_KUBECONFIG environment
variable. For example:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["`gkectl` is a command-line interface used for managing clusters, including generating configurations, validating setups, and performing various cluster operations."],["`gkectl` can be used to prepare, create, upgrade, update, resize, and diagnose issues within a cluster."],["Users can utilize `gkectl help` to view all available commands and `gkectl COMMAND --help` to get command-specific guidance."],["The `GKECTL_KUBECONFIG` environment variable can be set to specify the path of the admin cluster kubeconfig file, otherwise the `--kubeconfig` flag must be used with each relevant command."]]],[]]