1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-14 17:05:28 +00:00
gcloud-help/gcloud/beta/container/fleet/config-management/disable
2026-02-11 11:28:25 +00:00

120 lines
5 KiB
Text

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
(https://docs.cloud.google.com/kubernetes-engine/fleet-management/docs/manage-features).
Does not change existing membership configurations. Does nothing if
the feature is disabled.
Or at least one of these can be specified:
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://docs.cloud.google.com/kubernetes-engine/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 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.
Or at least one of these can be specified:
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
This command is currently in beta and might change without notice. These
variants are also available:
$ gcloud container fleet config-management disable
$ gcloud alpha container fleet config-management disable