gkeadm create
Stay organized with collections
Save and categorize content based on your preferences.
Synopsis
Create a GKE On-Prem admin workstation
Usage:
gkeadm create [command]
Available Commands:
admin-workstation Create and prepare a GKE On-Prem admin workstation.
config Create a new config template for admin workstation.
Flags:
-h, --help help for create
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_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 "gkeadm create [command] --help" for more information about a command.
gkeadm create config
Create a new config template for admin workstation.
Usage:
gkeadm create config [flags]
Flags:
--config string Write the new config template to this path (default "admin-ws-config.yaml")
--force Overwrite any existing config
-h, --help help for config
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_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)
gkeadm create admin-workstation
Create and prepare a GKE On-Prem admin workstation.
Usage:
gkeadm create admin-workstation [flags]
Flags:
--auto-create-service-accounts Automatically create and configure service accounts.
--config string File path that contains the configuration to use. (default "admin-ws-config.yaml")
-h, --help help for admin-workstation
--os-image-file-path string Path to an existing OS image file for the admin workstation. This will be used to create the admin workstation.
--restore-from-backup string Path to a local gzipped tarball containing a backup of an admin workstation (output from a previous upgrade with "--backup-to-local=true"). This will be when creating the admin workstation.
--skip-validation Skip validations.
--ssh-key-path string Path to the private SSH key for the admin workstation. Generated if empty.
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_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."],[],[]]