You are viewing documentation for a previous version of GKE On-Prem. View the latest documentation.


gkectl is the command line interface to GKE On-Prem, used for various tasks:

  • Generating and validating GKE On-Prem configuration files.
  • Preparing a vSphere environment for clusters.
  • Creating admin and user clusters.
  • Resizing and upgrading clusters.
  • Troubleshooting cluster issues.

To list all available commands, run

gkectl help

To get help for a specific command:

gkectl help [COMMAND]


Simple kubernetes cluster management

  gkectl [flags]
  gkectl [command]

Available Commands:
  check-config  Validate the seed config file and the environment.
  create        Create a GKE On-Prem cluster
  create-config Create a new GKE On-Prem config template
  diagnose      Diagnose, validate and debug the cluster and its environment.
  help          Help about any command
  prepare       Prepare your environment
  upgrade       Upgrade Admin and User Clusters
  version       Print the gkectl version

      --alsologtostderr            log to standard error as well as files
  -h, --help                       help for gkectl
      --log_file string            If non-empty, use this log file
      --skip_headers               If true, avoid header prefixes in the log messages
      --stderrthreshold severity   logs at or above this threshold go to stderr (default 2)
  -v, --v Level                    log level for V logs (default 0)

Use "gkectl [command] --help" for more information about a command.