- NAME
-
- gcloud beta container hub config-management enable - enable the Config Management feature
- SYNOPSIS
-
-
gcloud beta container hub config-management enable[--fleet-default-member-config=FLEET_DEFAULT_MEMBER_CONFIG] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(BETA)Enable the Config Management feature in a fleet.gcloud beta container hub config-management enablewithout flags creates the Config Management feature or no-ops if the feature already exists. - EXAMPLES
-
To enable the Config Management feature, run:
gcloud beta container hub config-management enable - FLAGS
-
--fleet-default-member-config=FLEET_DEFAULT_MEMBER_CONFIG-
Path to YAML file, or
-to read from stdin, that specifies the fleet-default membership configuration to create the feature with. Errors if the feature already exists. Accepts the same schema as theMembershipSpecAPI field. Provides the additional field-handling documented at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/gcloud-configuration-field-behavior. Use theupdatecommand to update the fleet-default membership configuration or sync a membership to the fleet-default membership configuration.To create a Config Management feature with a fleet-default membership configuration and inform the process with logs, populate a
config.yamland run:gcloud beta container hub config-management enable --fleet-default-member-config=config.yaml --verbosity=infoTo create a Config Management feature in the current project with the same fleet-default membership configuration as another project
, run:${PROJECT_ID}gcloud beta container fleet config-management describe --view=fleet-default-member-config --project="${PROJECT_ID}" | gcloud beta container hub config-management enable --fleet-default-member-config="-"Supports fleet-default membership configuration updates in the apply spec schema in YAML files for backward compatibility.
- 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 helpfor details. - NOTES
-
This command is currently in beta and might change without notice. This variant
is also available:
gcloud alpha container hub config-management enable
gcloud beta container hub config-management enable
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 2026-08-11 UTC.