gcloud alpha container fleet config-management describe

NAME
gcloud alpha container fleet config-management describe - describe the Config Management feature
SYNOPSIS
gcloud alpha container fleet config-management describe[--view=VIEW :--filter=EXPRESSION--sort-by=[FIELD,…]][--memberships=[MEMBERSHIPS,…] :--location=LOCATION][GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Describe the Config Management feature.
EXAMPLES
To describe the entire Config Management feature, run:
gcloudalphacontainerfleetconfig-managementdescribe

To describe select membership configurations, run:

gcloudalphacontainerfleetconfig-managementdescribe--memberships=example-membership-1,example-membership-2

To list the membership configurations, run:

gcloudalphacontainerfleetconfig-managementdescribe--view=list
MEMBERSHIPLOCATIONSTATUSINSTALL_STATESTOP_STATESYNC_STATEVERSIONSYNCED_TO_FLEET_DEFAULT
example-membership-1asia-east1OKCONFIG_SYNC_NOT_INSTALLEDNOT_INSTALLEDFLEET_DEFAULT_NOT_CONFIGURED
example-membership-2us-central1OKCONFIG_SYNC_INSTALLEDNOT_STOPPEDSYNCED1.22.0FLEET_DEFAULT_NOT_CONFIGURED
example-membership-3us-central1ERRORCONFIG_SYNC_INSTALLEDNOT_STOPPEDERROR1.21.3FLEET_DEFAULT_NOT_CONFIGURED
FLAGS
--view=VIEW
View of the feature.VIEW must be one of:
config
Membership configuration in a format that is passable to the--config flag on theupdate command. Note that theconfiguration includes any deprecated fields that are set. Errors if--memberships does not specify exactly one membership.

To describe the configuration for a given membership, run:

gcloudalphacontainerfleetconfig-managementdescribe--view=config--memberships=example-membership-1
fleet-default-member-config
Fleet-defaultmembership configuration in a format that is passable to the--fleet-default-member-config flag on theenable andupdate commands. Note that the configuration includes anydeprecated fields that are set. Errors if the fleet-default membershipconfiguration is not set on the feature. Errors if specified with the--memberships flag. Tab to auto-complete this flag value.
full
Default view. Prints the entire feature.
list
List of membership configurations. Default format is a table summary.

TheSYNCED_TO_FLEET_DEFAULT column may displayUNKNOWNfor any membership whose configuration has not been updated since thefleet-defaultmembership configuration enablement.

To view the underlying configurations instead of the table summary for selectmemberships, run:

gcloudalphacontainerfleetconfig-managementdescribe--view=list--format=yaml--memberships=example-membership-1,example-membership-2
List command flags. Only specify when--view=list. Does not includesupport for--limit.
--filter=EXPRESSION
Apply a Boolean filterEXPRESSION to each resource itemto be listed. If the expression evaluatesTrue, then that item islisted. For more details and examples of filter expressions, run $gcloud topic filters. This flaginteracts with other flags that are applied in this order:--flatten,--sort-by,--filter,--limit.

To filter for memberships with an overall status ofERROR, use theCOLUMN~VALUE pattern and run:

gcloudalphacontainerfleetconfig-managementdescribe--view=list--filter=STATUS~ERROR

To filter for memberships that are synced to the fleet-default membershipconfiguration, run:

gcloudalphacontainerfleetconfig-managementdescribe--view=list--filter="spec.origin.type.synced_to_fleet_default()~YES"

SYNCED_TO_FLEET_DEFAULT is the only column that requires filteringon the underlying configuration field instead of the column name. An alternativeis to--sort-by=SYNCED_TO_FLEET_DEFAULT and filter by eye.

To filter on a configuration field not in the table summary, in this case theConfig Sync repo, run:

gcloudalphacontainerfleetconfig-managementdescribe--view=list--format=yaml--filter="spec.configmanagement.configSync.git.syncRepo~https://\github.com/GoogleCloudPlatform/anthos-config-management-samples.git"
--sort-by=[FIELD,…]
Comma-separated list of resource field key names to sort by. The default orderis ascending. Prefix a field with ``~´´ for descending order on thatfield. This flag interacts with other flags that are applied in this order:--flatten,--sort-by,--filter,--limit.

The default table summary sorts byLOCATION thenMEMBERSHIP.

To sort the table byVERSION instead, run:

gcloudalphacontainerfleetconfig-managementdescribe--view=list--sort-by=VERSION

To sort by a configuration field not in the table summary, in this case theConfig Sync repo, and print its values in a table, run:

gcloudalphacontainerfleetconfig-managementdescribe--view=list--sort-by="spec.configmanagement.configSync.git.syncRepo"--format="table(MEMBERSHIP,LOCATION,spec.configmanagement.configSync.git.syncRepo:label=REPO)"
MEMBERSHIP FLAGS
Memberships to print configurations for. Errors if a specified membership doesnot have a configuration for this feature.
Membership resource - The group of arguments defining one or more memberships.The arguments in this group can be used to specify the attributes of thisresource. (NOTE) Some attributes are not given arguments in this group but canbe set in other ways.

To set theproject attribute:

  • provide the argument--memberships on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.
--memberships=[MEMBERSHIPS,…]
IDs of the memberships or fully qualified identifiers for the memberships.

To set thememberships attribute:

  • provide the argument--memberships on the command line.

This flag argument must be specified if any of the other arguments in this groupare specified.

--location=LOCATION
Location for the memberships.

To set thelocation attribute:

  • provide the argument--memberships on the command line with a fullyspecified name;
  • provide the argument--location on the command line;
  • set the propertygkehub/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 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. These variants are also available:
gcloudcontainerfleetconfig-managementdescribe
gcloudbetacontainerfleetconfig-managementdescribe

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.