upgrade
Stay organized with collections
Save and categorize content based on your preferences.
Synopsis
Upgrade the Admin cluster and all of the User clusters in GKE On-Prem
Usage:
gkectl upgrade [flags]
gkectl upgrade [command]
Available Commands:
admin Upgrade the admin cluster
cluster Upgrade a GKE On-Prem cluster
Flags:
--cleanup-external-cluster Whether to cleanup the external cluster after bootstrap (default true)
--google-enable-root-addons Whether to disable addons & addon nodes (default true)
-h, --help help for upgrade
-k, --kubeconfig string Kubeconfig file with access to the admin cluster. (default "kubeconfig")
Global Flags:
--add_dir_header If true, adds the file directory to the header
--alsologtostderr log to standard error as well as files
--log_file string If non-empty, use this log file
--log_file_max_size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
--skip-preflight-check-blocking Do not block the gkectl command when preflight checks fail.
--skip-validation-all Skip all validations.
--skip-validation-config Skip lightweight config validations.
--skip-validation-dns Skip DNS validations.
--skip-validation-docker Skip Docker-related validations.
--skip-validation-gcp Skip gcp validations.
--skip-validation-infra Skip provider-related validations.
--skip-validation-internet Skip internet validations.
--skip-validation-load-balancer Skip load balancer-related validations.
--skip-validation-net-config Skip network configuration validations.
--skip-validation-node-ips Skip node IPs-related validations.
--skip-validation-proxy Skip proxy validations.
--skip-validation-tod Skip TOD validations.
--skip-validation-vips Skip VIPs-related validations.
--skip_headers If true, avoid header prefixes in the log messages
--skip_log_headers If true, avoid headers when opening log files
--stderrthreshold severity logs at or above this threshold go to stderr (default 2)
-v, --v Level number for the log level verbosity (default 0)
Use "gkectl upgrade [command] --help" for more information about a command.
gkectl upgrade admin
Upgrade the admin cluster
Usage:
gkectl upgrade admin [flags]
Flags:
--cleanup-external-cluster Whether to cleanup the external cluster after bootstrap (default true)
--config string File path that contains the configuration to use.
--google-enable-root-addons Whether to disable addons & addon nodes (default true)
-h, --help help for admin
-k, --kubeconfig string Kubeconfig file with access to the admin cluster. (default "kubeconfig")
Global Flags:
--add_dir_header If true, adds the file directory to the header
--alsologtostderr log to standard error as well as files
--log_file string If non-empty, use this log file
--log_file_max_size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
--skip-validation-all Skip all validations.
--skip-validation-config Skip lightweight config validations.
--skip-validation-dns Skip DNS validations.
--skip-validation-docker Skip Docker-related validations.
--skip-validation-gcp Skip gcp validations.
--skip-validation-infra Skip provider-related validations.
--skip-validation-internet Skip internet validations.
--skip-validation-load-balancer Skip load balancer-related validations.
--skip-validation-net-config Skip network configuration validations.
--skip-validation-node-ips Skip node IPs-related validations.
--skip-validation-proxy Skip proxy validations.
--skip-validation-tod Skip TOD validations.
--skip-validation-vips Skip VIPs-related validations.
--skip_headers If true, avoid header prefixes in the log messages
--skip_log_headers If true, avoid headers when opening log files
--stderrthreshold severity logs at or above this threshold go to stderr (default 2)
-v, --v Level number for the log level verbosity (default 0)
gkectl upgrade cluster
Upgrade a GKE On-Prem cluster
Usage:
gkectl upgrade cluster [flags]
Flags:
--cleanup-external-cluster Whether to cleanup the external cluster after bootstrap (default true)
--cluster-name string Name of the user cluster to upgrade.
--config string File path that contains the configuration to use.
--google-enable-root-addons Whether to disable addons & addon nodes (default true)
-h, --help help for cluster
-k, --kubeconfig string Kubeconfig file with access to the admin cluster. (default "kubeconfig")
Global Flags:
--add_dir_header If true, adds the file directory to the header
--alsologtostderr log to standard error as well as files
--log_file string If non-empty, use this log file
--log_file_max_size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
--skip-validation-all Skip all validations.
--skip-validation-config Skip lightweight config validations.
--skip-validation-dns Skip DNS validations.
--skip-validation-docker Skip Docker-related validations.
--skip-validation-gcp Skip gcp validations.
--skip-validation-infra Skip provider-related validations.
--skip-validation-internet Skip internet validations.
--skip-validation-load-balancer Skip load balancer-related validations.
--skip-validation-net-config Skip network configuration validations.
--skip-validation-node-ips Skip node IPs-related validations.
--skip-validation-proxy Skip proxy validations.
--skip-validation-tod Skip TOD validations.
--skip-validation-vips Skip VIPs-related validations.
--skip_headers If true, avoid header prefixes in the log messages
--skip_log_headers If true, avoid headers when opening log files
--stderrthreshold severity logs at or above this threshold go to stderr (default 2)
-v, --v Level number for the log level verbosity (default 0)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-29 UTC.
[null,null,["Last updated 2026-07-29 UTC."],[],[]]