1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-17 14:26:34 +00:00
gcloud-help/gcloud/beta/container/fleet/config-management/apply
2022-03-09 08:39:30 +00:00

48 lines
1.6 KiB
Text

NAME
gcloud beta container fleet config-management apply - update a Config
Management Feature Spec
SYNOPSIS
gcloud beta container fleet config-management apply --config=CONFIG
[--membership=MEMBERSHIP] [--version=VERSION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Update a user-specified config file to a ConfigManagement Custom
Resource. The config file should be a .yaml file, all eligible fields are
listed in
https://cloud.google.com/anthos-config-management/docs/reference/gcloud-apply-fields
EXAMPLES
To apply a YAML config file to a membership, prepare apply-spec.yaml
(https://cloud.google.com/anthos-config-management/docs/reference/gcloud-apply-fields#example_gcloud_apply_spec)
then run:
$ gcloud beta container fleet config-management apply \
--membership=CLUSTER_NAME --config=APPLY-SPEC.YAML \
--version=VERSION
REQUIRED FLAGS
--config=CONFIG
The path to config-management.yaml.
OPTIONAL FLAGS
--membership=MEMBERSHIP
The Membership name provided during registration.
--version=VERSION
The version of ACM to install.
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. This
variant is also available:
$ gcloud alpha container fleet config-management apply