- INFORMATION
-
gcloud beta container fleet config-management disable
is not available in universe domainuniverse
. - NAME
-
- gcloud beta container fleet config-management disable - disable the Config Management feature
- SYNOPSIS
-
-
gcloud beta container fleet config-management disable
[--force
] [--fleet-default-member-config
|--uninstall
--all-memberships
| [--memberships
=[MEMBERSHIPS
,…] :--location
=LOCATION
]] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(BETA)
Disable the Config Management feature entirely, or disable specific configuration on the feature.gcloud beta 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 beta container fleet config-management disable
To unmanage Config Sync only on select memberships, run:
gcloud beta 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. 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 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 beta 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.
-
provide the argument
--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
.
-
provide the argument
-
provide the argument
- 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
-
This command is currently in beta and might change without notice. This variant
is also available:
gcloud alpha container fleet config-management disable
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 2025-08-13 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-13 UTC."],[],[]]