NAME
gcluster job gke-template-extract -
extracts all default GKE templates to a local directory.
SYNOPSIS
gcluster job gke-template-extract [FLAGS]
DESCRIPTION
The gcluster job gke-template-extract command extracts all default
GKE templates to a local directory for inspection and
customization.
FLAGS
--output-dir DIR: The target directory to extract the templates to. The default value is./gke-templates.--overwrite: Overwrites existing templates in the target directory.
PERSISTENT FLAGS
These flags are available to all
gcluster job commands:
-c,--cluster CLUSTER_NAME: The name of the GKE cluster.-l,--location LOCATION: The location, either a region or a zone, of the GKE cluster.-p,--project PROJECT_ID: The Google Cloud project ID.--gke-namespace NAMESPACE: The target GKE namespace for the operation.--skip-prereqs: Skips local environment prerequisite checks, such asgcloud,kubectl, anddockerauthentication.
EXAMPLES
To extract templates to the default ./gke-templates directory:
gcluster job gke-template-extract
To extract templates to a specific directory and overwrite existing files:
gcluster job gke-template-extract --output-dir=./custom-templates --overwrite