gcluster cluster volume

NAME

gcluster cluster volume - discovers and lists available storage options.

SYNOPSIS

gcluster cluster volume [FLAGS]

DESCRIPTION

The gcluster cluster volume command discovers and lists available storage options.

FLAGS

  • -c, --cluster CLUSTER_NAME: The name of the Google Kubernetes Engine (GKE) cluster. This flag is required.
  • -l, --location LOCATION: The location, either a region or a zone, of the GKE cluster. This flag is required.

PERSISTENT FLAGS

These flags are available to all gcluster cluster commands:

  • -p, --project PROJECT_ID: The Google Cloud project ID. If you don't specify this value, then Cluster Toolkit uses the default project configured in the gcloud CLI.

EXAMPLES

To list storage options associated with a cluster in zone us-central1-a in your default project:

gcluster cluster volume --cluster=my-cluster --location=us-central1-a

To list storage options associated with a cluster in a specific project:

gcluster cluster volume \
    --project=my-project \
    --cluster=my-cluster \
    --location=us-central1-a