1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-14 17:05:28 +00:00

gcloud: Thu Feb 29 10:17:22 UTC 2024

This commit is contained in:
Automated 2024-02-29 10:17:22 +00:00
parent 8778dcbd7e
commit 37dd57701a
203 changed files with 3473 additions and 5938 deletions

View file

@ -0,0 +1,86 @@
NAME
gcloud compute instance-groups managed all-instances-config delete - delete
values defined in the all-instances configuration of a managed instance
group
SYNOPSIS
gcloud compute instance-groups managed all-instances-config delete NAME
[--labels=KEY,[KEY,...]] [--metadata=KEY,[KEY,...]]
[--region=REGION | --zone=ZONE] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
gcloud compute instance-groups managed all-instances-config delete deletes
one or more values defined in the all-instances configuration of a managed
instance group.
To apply a revised all-instances configuration to existing instances in the
group, use one of the following methods:
▪ Update instances using the update-instances command.
▪ Recreate instances using the recreate-instances command.
▪ Use the rolling-action start-update command.
▪ Use the API to set the group's updatePolicy.type to PROACTIVE.
EXAMPLES
To delete the group's all-instances configuration in order to stop
overriding the group's instance template for a label with the key label-key
and metadata with the key metadata-key in group my-group, run:
$ gcloud compute instance-groups managed all-instances-config \
delete my-group --metadata=metadata-key --labels=label-key
POSITIONAL ARGUMENTS
NAME
Name of the managed instance group to delete the all instances
configuration for.
FLAGS
--labels=KEY,[KEY,...]
Remove labels keys from the group's all instances configuration.
--metadata=KEY,[KEY,...]
Remove metadata keys from the group's all instances configuration.
At most one of these can be specified:
--region=REGION
Region of the managed instance group to delete the all instances
configuration for. If not specified, you might be prompted to select
a region (interactive mode only).
A list of regions can be fetched by running:
$ gcloud compute regions list
Overrides the default compute/region property value for this command
invocation.
--zone=ZONE
Zone of the managed instance group to delete the all instances
configuration for. If not specified, you might be prompted to select
a zone (interactive mode only).
A list of zones can be fetched by running:
$ gcloud compute zones list
Overrides the default compute/zone property value for this command
invocation.
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
These variants are also available:
$ gcloud alpha compute instance-groups managed \
all-instances-config delete
$ gcloud beta compute instance-groups managed all-instances-config \
delete

View file

@ -0,0 +1,35 @@
NAME
gcloud compute instance-groups managed all-instances-config - override
instance template settings for all instances in a managed instance
group
SYNOPSIS
gcloud compute instance-groups managed all-instances-config COMMAND
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Override instance template settings for all instances in a managed instance
group.
GCLOUD WIDE FLAGS
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMANDS
COMMAND is one of the following:
delete
Delete values defined in the all-instances configuration of a managed
instance group.
update
Update the all-instances configuration of a managed instance group.
NOTES
These variants are also available:
$ gcloud alpha compute instance-groups managed all-instances-config
$ gcloud beta compute instance-groups managed all-instances-config

View file

@ -0,0 +1,88 @@
NAME
gcloud compute instance-groups managed all-instances-config update - update
the all-instances configuration of a managed instance group
SYNOPSIS
gcloud compute instance-groups managed all-instances-config update NAME
[--labels=KEY=VALUE,[KEY=VALUE,...]]
[--metadata=KEY=VALUE,[KEY=VALUE,...]] [--region=REGION | --zone=ZONE]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
gcloud compute instance-groups managed all-instances-config update updates
the group's all-instances configuration and applies it only to new
instances that are added to the group.
To apply a revised all-instances configuration to existing instances in the
group, use one of the following methods:
▪ Update instances using the update-instances command.
▪ Recreate instances using the recreate-instances command.
▪ Use the rolling-action start-update command.
▪ Use the API to set the group's updatePolicy.type to PROACTIVE.
EXAMPLES
To update an all-instances configuration in order to override the group's
instance template for a label with the key label-key and metadata with the
key metadata-key in group my-group, run:
$ gcloud compute instance-groups managed all-instances-config \
update my-group \
--metadata=metadata-key=metadata-override-value \
--labels=qlabel-key=label-override-value
POSITIONAL ARGUMENTS
NAME
Name of the managed instance group to update the all instances
configuration for.
FLAGS
--labels=KEY=VALUE,[KEY=VALUE,...]
Add labels to the group's all instances configuration.
--metadata=KEY=VALUE,[KEY=VALUE,...]
Add metadata to the group's all instances configuration.
At most one of these can be specified:
--region=REGION
Region of the managed instance group to update the all instances
configuration for. If not specified, you might be prompted to select
a region (interactive mode only).
A list of regions can be fetched by running:
$ gcloud compute regions list
Overrides the default compute/region property value for this command
invocation.
--zone=ZONE
Zone of the managed instance group to update the all instances
configuration for. If not specified, you might be prompted to select
a zone (interactive mode only).
A list of zones can be fetched by running:
$ gcloud compute zones list
Overrides the default compute/zone property value for this command
invocation.
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
These variants are also available:
$ gcloud alpha compute instance-groups managed \
all-instances-config update
$ gcloud beta compute instance-groups managed all-instances-config \
update

View file

@ -5,6 +5,7 @@ NAME
SYNOPSIS
gcloud compute instance-groups managed create NAME --size=SIZE
--template=TEMPLATE [--base-instance-name=BASE_INSTANCE_NAME]
[--default-action-on-vm-failure=ACTION_ON_VM_FAILURE]
[--description=DESCRIPTION] [--[no-]force-update-on-repair]
[--initial-delay=INITIAL_DELAY] [--instance-redistribution-type=TYPE]
[--list-managed-instances-results=MODE]
@ -71,6 +72,17 @@ OPTIONAL FLAGS
with the managed instance group. If not provided base instance name
will be the prefix of instance group name.
--default-action-on-vm-failure=ACTION_ON_VM_FAILURE
Specifies the action that a MIG performs on a failed or an unhealthy
VM. A VM is marked as unhealthy when the application running on that VM
fails a health check. By default, the value of the flag is set to
repair. ACTION_ON_VM_FAILURE must be one of:
do-nothing
MIG does not repair a failed or an unhealthy VM.
repair
MIG automatically repairs a failed or an unhealthy VM.
--description=DESCRIPTION
An optional description for this group.

View file

@ -17,6 +17,10 @@ GCLOUD WIDE FLAGS
GROUPS
GROUP is one of the following:
all-instances-config
Override instance template settings for all instances in a managed
instance group.
instance-configs
Manage instance-specific settings in a managed instance group.

View file

@ -4,6 +4,7 @@ NAME
SYNOPSIS
gcloud compute instance-groups managed update NAME
[--default-action-on-vm-failure=ACTION_ON_VM_FAILURE]
[--description=DESCRIPTION] [--[no-]force-update-on-repair]
[--instance-redistribution-type=TYPE]
[--list-managed-instances-results=MODE]
@ -60,6 +61,17 @@ POSITIONAL ARGUMENTS
Name of the managed instance group to update.
FLAGS
--default-action-on-vm-failure=ACTION_ON_VM_FAILURE
Specifies the action that a MIG performs on a failed or an unhealthy
VM. A VM is marked as unhealthy when the application running on that VM
fails a health check. By default, the value of the flag is set to
repair. ACTION_ON_VM_FAILURE must be one of:
do-nothing
MIG does not repair a failed or an unhealthy VM.
repair
MIG automatically repairs a failed or an unhealthy VM.
--description=DESCRIPTION
An optional description for this group. To clear the description, set
the value to an empty string.