mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed Mar 9 08:39:30 UTC 2022
This commit is contained in:
parent
5829e94e90
commit
7d82d0fc32
210 changed files with 7192 additions and 887 deletions
50
gcloud/alpha/container/fleet/config-management/apply
Normal file
50
gcloud/alpha/container/fleet/config-management/apply
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
NAME
|
||||
gcloud alpha container fleet config-management apply - update a Config
|
||||
Management Feature Spec
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha container fleet config-management apply --config=CONFIG
|
||||
[--membership=MEMBERSHIP] [--version=VERSION] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) 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 alpha 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 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 apply
|
||||
|
||||
41
gcloud/alpha/container/fleet/config-management/delete
Normal file
41
gcloud/alpha/container/fleet/config-management/delete
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
NAME
|
||||
gcloud alpha container fleet config-management delete - remove the Config
|
||||
Management Feature Spec for the given membership
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha container fleet config-management delete
|
||||
[--membership=MEMBERSHIP] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) (DEPRECATED) Remove the Config Management Feature Spec for the
|
||||
given membership.
|
||||
|
||||
This command has been deprecated. Please use unmanage instead.
|
||||
|
||||
Remove the Config Management Feature Spec for the given membership. The
|
||||
existing ConfigManagement resources in the clusters will become unmanaged.
|
||||
|
||||
EXAMPLES
|
||||
To remove the Config Management Feature spec for a Membership, run:
|
||||
|
||||
$ gcloud alpha container fleet config-management delete \
|
||||
--membership=CLUSTER_NAME
|
||||
|
||||
FLAGS
|
||||
--membership=MEMBERSHIP
|
||||
The Membership name provided during registration.
|
||||
|
||||
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.
|
||||
|
||||
37
gcloud/alpha/container/fleet/config-management/disable
Normal file
37
gcloud/alpha/container/fleet/config-management/disable
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
NAME
|
||||
gcloud alpha container fleet config-management disable - disable Config
|
||||
Management Feature
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha container fleet config-management disable [--force]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Disable the Config Management Feature in a fleet.
|
||||
|
||||
EXAMPLES
|
||||
To disable the Config Management Feature, run:
|
||||
|
||||
$ gcloud alpha container fleet config-management disable
|
||||
|
||||
FLAGS
|
||||
--force
|
||||
Disable this feature, even if it is currently in use. Force disablement
|
||||
may result in unexpected behavior.
|
||||
|
||||
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 disable
|
||||
|
||||
32
gcloud/alpha/container/fleet/config-management/enable
Normal file
32
gcloud/alpha/container/fleet/config-management/enable
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
NAME
|
||||
gcloud alpha container fleet config-management enable - enable Config
|
||||
Management Feature
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha container fleet config-management enable
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Enables the Config Management Feature in a fleet.
|
||||
|
||||
EXAMPLES
|
||||
To enable the Config Management Feature, run:
|
||||
|
||||
$ gcloud alpha container fleet config-management enable
|
||||
|
||||
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
|
||||
|
||||
|
|
@ -0,0 +1,35 @@
|
|||
NAME
|
||||
gcloud alpha container fleet config-management fetch-for-apply - prints the
|
||||
Config Management configuration applied to the given membership
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha container fleet config-management fetch-for-apply
|
||||
[--membership=MEMBERSHIP] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) The output is in the format that is used by the apply subcommand.
|
||||
The fields that have not been configured will be shown with default values.
|
||||
|
||||
EXAMPLES
|
||||
To fetch the applied Config Management configuration, run:
|
||||
|
||||
$ gcloud alpha container fleet config-management fetch-for-apply
|
||||
|
||||
FLAGS
|
||||
--membership=MEMBERSHIP
|
||||
The Membership name provided during registration.
|
||||
|
||||
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.
|
||||
|
||||
59
gcloud/alpha/container/fleet/config-management/help
Normal file
59
gcloud/alpha/container/fleet/config-management/help
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
NAME
|
||||
gcloud alpha container fleet config-management - manage Config Management
|
||||
Feature
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha container fleet config-management COMMAND
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Manage Config Management Feature.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
apply
|
||||
(ALPHA) Update a Config Management Feature Spec.
|
||||
|
||||
delete
|
||||
(ALPHA) (DEPRECATED) Remove the Config Management Feature Spec for the
|
||||
given membership.
|
||||
|
||||
disable
|
||||
(ALPHA) Disable Config Management Feature.
|
||||
|
||||
enable
|
||||
(ALPHA) Enable Config Management Feature.
|
||||
|
||||
fetch-for-apply
|
||||
(ALPHA) Prints the Config Management configuration applied to the given
|
||||
membership.
|
||||
|
||||
status
|
||||
(ALPHA) Print the status of all clusters with Config Management
|
||||
enabled.
|
||||
|
||||
unmanage
|
||||
(ALPHA) Remove the Config Management Feature Spec for the given
|
||||
membership.
|
||||
|
||||
upgrade
|
||||
(ALPHA) Upgrade the version of the Config Management Feature.
|
||||
|
||||
version
|
||||
(ALPHA) Print the version of all clusters with Config Management
|
||||
enabled.
|
||||
|
||||
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
|
||||
|
||||
91
gcloud/alpha/container/fleet/config-management/status
Normal file
91
gcloud/alpha/container/fleet/config-management/status
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
NAME
|
||||
gcloud alpha container fleet config-management status - print the status of
|
||||
all clusters with Config Management enabled
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha container fleet config-management status [--filter=EXPRESSION]
|
||||
[--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Print the status of all clusters with Config Management enabled.
|
||||
|
||||
EXAMPLES
|
||||
Print the status of the Config Management Feature:
|
||||
|
||||
$ gcloud alpha container fleet config-management status
|
||||
|
||||
Name Status Last_Synced_Token Sync_Branch Last_Synced_Time Hierarchy_Controller
|
||||
managed-cluster SYNCED 2945500b7f acme 2020-03-23
|
||||
11:12:31 -0700 PDT INSTALLED
|
||||
|
||||
View the status for the cluster named managed-cluster-a:
|
||||
|
||||
$ gcloud alpha container fleet config-management status \
|
||||
--filter="acm_status.name:managed-cluster-a"
|
||||
|
||||
Use a regular expression to list status for multiple clusters:
|
||||
|
||||
$ gcloud alpha container fleet config-management status \
|
||||
--filter="acm_status.name ~ managed-cluster.*"
|
||||
|
||||
List all clusters where current status is SYNCED:
|
||||
|
||||
$ gcloud alpha container fleet config-management status \
|
||||
--filter="acm_status.config_sync:SYNCED"
|
||||
|
||||
List all the clusters where sync_branch is v1 and current Config Sync
|
||||
status is not SYNCED:
|
||||
|
||||
$ gcloud alpha container fleet config-management status \
|
||||
--filter="acm_status.sync_branch:v1 AND \
|
||||
-acm_status.config_sync:SYNCED"
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
Apply a Boolean filter EXPRESSION to each resource item to be listed.
|
||||
If the expression evaluates True, then that item is listed. For more
|
||||
details and examples of filter expressions, run $ gcloud topic filters.
|
||||
This flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--limit=LIMIT
|
||||
Maximum number of resources to list. The default is unlimited. This
|
||||
flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--page-size=PAGE_SIZE
|
||||
Some services group resource list output into pages. This flag
|
||||
specifies the maximum number of resources per page. The default is
|
||||
determined by the service if it supports paging, otherwise it is
|
||||
unlimited (no paging). Paging may be applied before or after --filter
|
||||
and --limit depending on the service.
|
||||
|
||||
--sort-by=[FIELD,...]
|
||||
Comma-separated list of resource field key names to sort by. The
|
||||
default order is ascending. Prefix a field with ``~'' for descending
|
||||
order on that field. This flag interacts with other flags that are
|
||||
applied in this order: --flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--uri
|
||||
Print a list of resource URIs instead of the default output, and change
|
||||
the command output to a list of URIs. If this flag is used with
|
||||
--format, the formatting is applied on this URI list. To display URIs
|
||||
alongside other keys instead, use the uri() transform.
|
||||
|
||||
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 status
|
||||
|
||||
39
gcloud/alpha/container/fleet/config-management/unmanage
Normal file
39
gcloud/alpha/container/fleet/config-management/unmanage
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
NAME
|
||||
gcloud alpha container fleet config-management unmanage - remove the Config
|
||||
Management Feature Spec for the given membership
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha container fleet config-management unmanage
|
||||
[--membership=MEMBERSHIP] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Remove the Config Management Feature Spec for the given membership.
|
||||
The existing ConfigManagement resources in the clusters will become
|
||||
unmanaged.
|
||||
|
||||
EXAMPLES
|
||||
To remove the Config Management Feature spec for a Membership, run:
|
||||
|
||||
$ gcloud alpha container fleet config-management unmanage \
|
||||
--membership=CLUSTER_NAME
|
||||
|
||||
FLAGS
|
||||
--membership=MEMBERSHIP
|
||||
The Membership name provided during registration.
|
||||
|
||||
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 unmanage
|
||||
|
||||
42
gcloud/alpha/container/fleet/config-management/upgrade
Normal file
42
gcloud/alpha/container/fleet/config-management/upgrade
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
NAME
|
||||
gcloud alpha container fleet config-management upgrade - upgrade the
|
||||
version of the Config Management Feature
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha container fleet config-management upgrade --version=VERSION
|
||||
[--membership=MEMBERSHIP] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Upgrade a specified membership to any supported version of the
|
||||
Config Management Feature.
|
||||
|
||||
EXAMPLES
|
||||
To upgrade a membership named CLUSTER_NAME, run:
|
||||
|
||||
$ gcloud alpha container fleet config-management upgrade \
|
||||
--membership=CLUSTER_NAME --version=VERSION
|
||||
|
||||
REQUIRED FLAGS
|
||||
--version=VERSION
|
||||
The version of ACM to change to.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--membership=MEMBERSHIP
|
||||
The Membership name provided during registration.
|
||||
|
||||
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 upgrade
|
||||
|
||||
62
gcloud/alpha/container/fleet/config-management/version
Normal file
62
gcloud/alpha/container/fleet/config-management/version
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
NAME
|
||||
gcloud alpha container fleet config-management version - print the version
|
||||
of all clusters with Config Management enabled
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha container fleet config-management version
|
||||
[--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE]
|
||||
[--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
EXAMPLES
|
||||
To print the version of all clusters with Config Management enabled, run:
|
||||
|
||||
$ gcloud alpha container fleet config-management version
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
Apply a Boolean filter EXPRESSION to each resource item to be listed.
|
||||
If the expression evaluates True, then that item is listed. For more
|
||||
details and examples of filter expressions, run $ gcloud topic filters.
|
||||
This flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--limit=LIMIT
|
||||
Maximum number of resources to list. The default is unlimited. This
|
||||
flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--page-size=PAGE_SIZE
|
||||
Some services group resource list output into pages. This flag
|
||||
specifies the maximum number of resources per page. The default is
|
||||
determined by the service if it supports paging, otherwise it is
|
||||
unlimited (no paging). Paging may be applied before or after --filter
|
||||
and --limit depending on the service.
|
||||
|
||||
--sort-by=[FIELD,...]
|
||||
Comma-separated list of resource field key names to sort by. The
|
||||
default order is ascending. Prefix a field with ``~'' for descending
|
||||
order on that field. This flag interacts with other flags that are
|
||||
applied in this order: --flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--uri
|
||||
Print a list of resource URIs instead of the default output, and change
|
||||
the command output to a list of URIs. If this flag is used with
|
||||
--format, the formatting is applied on this URI list. To display URIs
|
||||
alongside other keys instead, use the uri() transform.
|
||||
|
||||
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 version
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue