mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-13 16:37:00 +00:00
114 lines
4.7 KiB
Text
114 lines
4.7 KiB
Text
NAME
|
|
gcloud container fleet config-management disable - disable the Config
|
|
Management feature
|
|
|
|
SYNOPSIS
|
|
gcloud container fleet config-management disable [--force]
|
|
[--fleet-default-member-config | --uninstall --all-memberships
|
|
| [--memberships=[MEMBERSHIPS,...] : --location=LOCATION]]
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Disable the Config Management feature entirely, or disable specific
|
|
configuration on the feature.
|
|
|
|
gcloud container fleet config-management disable without flags deletes the
|
|
Config Management feature, which unmanages and leaves existing Config Sync
|
|
installations on membership clusters. Running the command without flags
|
|
exits silently if the feature does not exist. Specify flags to disable
|
|
configuration on parts of the feature without deleting it.
|
|
|
|
EXAMPLES
|
|
To disable the Config Management feature entirely, run:
|
|
|
|
$ gcloud container fleet config-management disable
|
|
|
|
To unmanage Config Sync only on select memberships, run:
|
|
|
|
$ gcloud container fleet config-management disable \
|
|
--memberships=example-membership-1,example-membership-2
|
|
|
|
FLAGS
|
|
--force
|
|
Force disablement. Bypasses any prompts for confirmation. When
|
|
disabling the entire feature, proceeds even if the feature is in use.
|
|
Might result in unexpected behavior.
|
|
|
|
At most one of these can be specified:
|
|
|
|
--fleet-default-member-config
|
|
Disable the fleet-default membership configuration
|
|
(https://cloud.google.com/kubernetes-engine/fleet-management/docs/manage-features).
|
|
Does not change existing membership configurations. Does nothing if
|
|
the feature is disabled.
|
|
|
|
Membership-specific flags. In the absence of --uninstall, using either
|
|
--memberships or --all-memberships removes the entire configuration for
|
|
the specified memberships, which unmanages and leaves existing Config
|
|
Sync installations on the membership clusters. Unmanagement does not
|
|
error if the feature is disabled.
|
|
|
|
--uninstall
|
|
Uninstall any previously-installed and managed Config Sync on the
|
|
specified memberships by setting the enabled field
|
|
(https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/reference/gcloud-apply-fields)
|
|
to false. Clears all other configuration for each membership. Does
|
|
not wait for the uninstallation to complete. To bypass the
|
|
confirmation prompt, use --force. Requires the feature to be
|
|
enabled.
|
|
|
|
To uninstall Config Sync on select memberships, run:
|
|
|
|
$ gcloud container fleet config-management disable --uninstall \
|
|
--memberships=example-membership-1,example-membership-2
|
|
|
|
At most one of these can be specified:
|
|
|
|
--all-memberships
|
|
All memberships in the fleet.
|
|
|
|
Membership resource - The group of arguments defining one or more
|
|
memberships. The arguments in this group can be used to specify the
|
|
attributes of this resource. (NOTE) Some attributes are not given
|
|
arguments in this group but can be set in other ways.
|
|
|
|
To set the project attribute:
|
|
◇ provide the argument --memberships on the command line with a
|
|
fully specified name;
|
|
◇ provide the argument --project on the command line;
|
|
◇ set the property core/project.
|
|
|
|
--memberships=[MEMBERSHIPS,...]
|
|
IDs of the memberships or fully qualified identifiers for the
|
|
memberships.
|
|
|
|
To set the memberships attribute:
|
|
▹ provide the argument --memberships on the command line.
|
|
|
|
This flag argument must be specified if any of the other
|
|
arguments in this group are specified.
|
|
|
|
--location=LOCATION
|
|
Location for the memberships.
|
|
|
|
To set the location attribute:
|
|
▹ provide the argument --memberships on the command line with
|
|
a fully specified name;
|
|
▹ provide the argument --location on the command line;
|
|
▹ set the property gkehub/location.
|
|
|
|
GCLOUD WIDE FLAGS
|
|
These flags are available to all commands: --access-token-file, --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.
|
|
|
|
NOTES
|
|
These variants are also available:
|
|
|
|
$ gcloud alpha container fleet config-management disable
|
|
|
|
$ gcloud beta container fleet config-management disable
|
|
|