- NAME
-
- gcloud alpha container memberships - manage Google Kubernetes Hub memberships
- SYNOPSIS
-
-
gcloud alpha container memberships
COMMAND
[GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(ALPHA)
(DEPRECATED)
This command group is deprecated. Please usegcloud container hub memberships
command group instead.Manage Google Kubernetes Hub memberships.
- 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. - COMMANDS
-
is one of the following:COMMAND
create
-
(ALPHA)
(DEPRECATED)
Create a new membership. delete
-
(ALPHA)
(DEPRECATED)
Delete a membership. describe
-
(ALPHA)
(DEPRECATED)
Describe a membership. list
-
(ALPHA)
(DEPRECATED)
List memberships. register
-
(ALPHA)
(DEPRECATED)
Registers a cluster with Google Cloud Platform. unregister
-
(ALPHA)
(DEPRECATED)
Unregisters a cluster from Google Cloud Platform. update
-
(ALPHA)
(DEPRECATED)
Update a membership.
- EXAMPLES
-
Create a membership:
gcloud container memberships create a-membership
--description="Description of a-membership."Check the status of a membership:
gcloud container memberships describe a-membership
List the memberships in a project:
gcloud container memberships list
Delete a membership:
gcloud container memberships delete a-membership
Register a cluster referenced from the default kubeconfig file, installing the Connect agent:
gcloud alpha container memberships register my-cluster --context=my-cluster-context --service-account-key-file=/tmp/keyfile.json
Upgrade the Connect agent in a cluster:
gcloud alpha container memberships register my-cluster --context=my-cluster-context --service-account-key-file=/tmp/keyfile.json
Register a cluster and output a manifest that can be used to install the Connect agent:
gcloud alpha container memberships register my-cluster --context=my-cluster-context --manifest-output-file=/tmp/manifest.yaml --service-account-key-file=/tmp/keyfile.json
- 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
allowlist. This variant is also available:
gcloud beta container memberships
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 2020-08-04 UTC.