mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Wed Aug 9 11:23:49 UTC 2023
This commit is contained in:
parent
678b9afba9
commit
19bfacfbed
148 changed files with 2955 additions and 379 deletions
|
|
@ -3,6 +3,10 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud beta container hub scopes update (SCOPE : --location=LOCATION)
|
||||
[--update-labels=[KEY=VALUE,...]]
|
||||
[--update-namespace-labels=[KEY=VALUE,...]]
|
||||
[--clear-labels | --remove-labels=[KEY,...]]
|
||||
[--clear-namespace-labels | --remove-namespace-labels=[KEY,...]]
|
||||
[--default-upgrade-soaking=DEFAULT_UPGRADE_SOAKING
|
||||
--remove-upgrade-soaking-overrides
|
||||
| --add-upgrade-soaking-override=ADD_UPGRADE_SOAKING_OVERRIDE
|
||||
|
|
@ -53,6 +57,65 @@ POSITIONAL ARGUMENTS
|
|||
▸ global is the only supported location.
|
||||
|
||||
FLAGS
|
||||
--update-labels=[KEY=VALUE,...]
|
||||
List of label KEY=VALUE pairs to update. If a label exists, its value
|
||||
is modified. Otherwise, a new label is created.
|
||||
|
||||
Keys must start with a lowercase character and contain only hyphens
|
||||
(-), underscores (_), lowercase characters, and numbers. Values must
|
||||
contain only hyphens (-), underscores (_), lowercase characters, and
|
||||
numbers.
|
||||
|
||||
--update-namespace-labels=[KEY=VALUE,...]
|
||||
List of scope-level label KEY=VALUE pairs to update in the cluster
|
||||
namespace. If a label exists, its value is modified. Otherwise, a new
|
||||
label is' created.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-labels
|
||||
Remove all labels. If --update-labels is also specified then
|
||||
--clear-labels is applied first.
|
||||
|
||||
For example, to remove all labels:
|
||||
|
||||
$ gcloud beta container hub scopes update --clear-labels
|
||||
|
||||
To remove all existing labels and create two new labels, foo and baz:
|
||||
|
||||
$ gcloud beta container hub scopes update --clear-labels \
|
||||
--update-labels foo=bar,baz=qux
|
||||
|
||||
--remove-labels=[KEY,...]
|
||||
List of label keys to remove. If a label does not exist it is
|
||||
silently ignored. If --update-labels is also specified then
|
||||
--update-labels is applied first.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-namespace-labels
|
||||
Remove all scope-level labels from the cluster namespace. If
|
||||
--update-namespace-labels is also specified then
|
||||
--clear-namespace-labels is applied first.
|
||||
|
||||
For example, to remove all labels:
|
||||
|
||||
$ gcloud beta container hub scopes update scope_name \
|
||||
--clear-namespace-labels
|
||||
|
||||
To remove all existing scope-level labels and create two new labels,
|
||||
foo and baz:
|
||||
|
||||
$ gcloud beta container hub scopes update scope_name \
|
||||
--clear-namespace-labels \
|
||||
--update-namespace-labels foo=bar,baz=qux
|
||||
|
||||
--remove-namespace-labels=[KEY,...]
|
||||
List of scope-level label keys to remove in the cluster namespace. If
|
||||
a label does not exist it is silently ignored. If
|
||||
--update-namespace-labels is also specified then
|
||||
--update-namespace-labels is applied first.
|
||||
|
||||
Rollout Sequencing
|
||||
|
||||
--default-upgrade-soaking=DEFAULT_UPGRADE_SOAKING
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue