gcloud alpha container fleet config-management enable

NAME
gcloud alpha container fleet config-management enable - enable the Config Management feature
SYNOPSIS
gcloud alpha container fleet config-management enable[--fleet-default-member-config=FLEET_DEFAULT_MEMBER_CONFIG][GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Enable the Config Management feature in a fleet.

gcloud alpha container fleet config-management enable without flagscreates the Config Management feature or no-ops if the feature already exists.

EXAMPLES
To enable the Config Management feature, run:
gcloudalphacontainerfleetconfig-managementenable
FLAGS
--fleet-default-member-config=FLEET_DEFAULT_MEMBER_CONFIG
Path to YAML file, or- to read from stdin, that specifies thefleet-defaultmembership configuration to create the feature with. Errors if the featurealready exists. Accepts the same schema as theMembershipSpecAPIfield. Provides the additional field-handling documented athttps://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/gcloud-configuration-field-behavior.Use theupdate command to update the fleet-default membershipconfiguration and theapply command to sync a membership to thefleet-default membership configuration.

To create a Config Management feature with a fleet-default membershipconfiguration from a file and debug logs, populate aconfig.yamland run:

gcloudalphacontainerfleetconfig-managementenable--fleet-default-member-config=config.yaml--verbosity=debug

To create a Config Management feature in the current project with the samefleet-default membership configuration as another project${PROJECT_ID}, run:

gcloudalphacontainerfleetconfig-managementdescribe--view=fleet-default-member-config--project="${PROJECT_ID}"|gcloudalphacontainerfleetconfig-managementenable--fleet-default-member-config="-"

Supports fleet-default membership configuration updates in theapplyspec 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 help for details.

NOTES
This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. This variant is also available:
gcloudbetacontainerfleetconfig-managementenable

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-01-27 UTC.