1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-11 15:39:42 +00:00
gcloud-help/gcloud/alpha/container/fleet/config-management/enable
2024-09-25 09:51:52 +00:00

56 lines
2.4 KiB
Text

NAME
gcloud alpha container fleet config-management enable - enable Config
Management feature
SYNOPSIS
gcloud alpha container fleet config-management enable
[--fleet-default-member-config=FLEET_DEFAULT_MEMBER_CONFIG]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Enables the Config Management feature in a fleet. Without any
flags, this command no-ops if the feature is already enabled. This command
can also enable the feature with a fleet-default membership configuration
(https://cloud.google.com/kubernetes-engine/fleet-management/docs/manage-features)
for Config Sync.
EXAMPLES
To enable the Config Management feature, run:
$ gcloud alpha container fleet config-management enable
To enable the Config Management feature with a fleet-default membership
configuration for Config Sync, run:
$ gcloud alpha container fleet config-management enable \
--fleet-default-member-config=config.yaml
FLAGS
--fleet-default-member-config=FLEET_DEFAULT_MEMBER_CONFIG
Path to YAML file that contains the fleet-default membership
configuration
(https://cloud.google.com/kubernetes-engine/fleet-management/docs/manage-features)
to enable with a new feature. This file shares the syntax of the
--config flag on the apply command: see recognized fields here
(https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/reference/gcloud-apply-fields).
Errors if the Policy Controller or Hierarchy Controller field is set.
This flag will also enable or update the fleet-default membership
configuration on an existing feature. See the apply command for how to
sync a membership to the fleet-default membership configuration.
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 this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. This variant is also available:
$ gcloud beta container fleet config-management enable