gcloud alpha container hub unregister-cluster

NAME
gcloud alpha container hub unregister-cluster - unregisters a cluster from Google Cloud Platform
SYNOPSIS
gcloud alpha container hub unregister-cluster --context=CONTEXT [--kubeconfig=KUBECONFIG] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) This command unregisters a cluster referenced from a kubeconfig file from Google Cloud Platform. It also removes the Connect agent installation from the Cluster.
REQUIRED FLAGS
--context=CONTEXT
The context in the kubeconfig file that specifies the cluster.
OPTIONAL FLAGS
--kubeconfig=KUBECONFIG
The kubeconfig file containing an entry for the cluster. Defaults to $KUBECONFIG if it is set in the environment, otherwise defaults to to $HOME/.kube/config.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
EXAMPLES
Unregister a cluster referenced from the default kubeconfig file:
  $ gcloud alpha container hub unregister-cluster \
    --context=my-cluster-context

Unregister a cluster referenced from a specific kubeconfig file:

  $ gcloud alpha container hub unregister-cluster \
      --kubeconfig=/home/user/custom_kubeconfig \
      --context=my-cluster-context
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you may be trying to access an API with an invitation-only early access whitelist. This variant is also available:
  $ gcloud beta container hub unregister-cluster
Оцените, насколько информация на этой странице была вам полезна:

Оставить отзыв о...

Текущей странице