NAME
gcluster job config - manages gcluster job configuration.
SYNOPSIS
gcluster job config COMMAND [FLAGS]
DESCRIPTION
The gcluster job config command lets you view and modify persistent
configuration properties for gcluster job, such as default cluster, project,
and location.
COMMANDS
COMMAND is one of the following:
set [KEY VALUE]- Sets a configuration property. Supported keys:
project,cluster, andlocation. Runninggcluster job config setwithout arguments opens the system default editor (such asnanoorvim). show- Shows all persistent configuration properties.
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 set a default cluster and location:
gcluster job config set cluster my-cluster
gcluster job config set location us-central1-a
To display all persistent configuration properties:
gcluster job config show
To edit configuration interactively in the system default editor:
gcluster job config set