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

gcloud: Wed May 18 08:41:01 UTC 2022

This commit is contained in:
Automated 2022-05-18 08:41:01 +00:00
parent 379049f21a
commit 9f95235d93
258 changed files with 7569 additions and 441 deletions

View file

@ -6,7 +6,10 @@ SYNOPSIS
gcloud compute instances set-scheduling INSTANCE_NAME
[--clear-min-node-cpu] [--maintenance-policy=MAINTENANCE_POLICY]
[--min-node-cpu=MIN_NODE_CPU] [--[no-]preemptible]
[--[no-]restart-on-failure] [--zone=ZONE]
[--provisioning-model=PROVISIONING_MODEL] [--[no-]restart-on-failure]
[--zone=ZONE]
[--clear-instance-termination-action
| --instance-termination-action=INSTANCE_TERMINATION_ACTION]
[--clear-node-affinities | --node=NODE
| --node-affinity-file=NODE_AFFINITY_FILE | --node-group=NODE_GROUP]
[GCLOUD_WIDE_FLAG ...]
@ -58,6 +61,19 @@ FLAGS
instances can not be restarted and will not migrate. Use --preemptible
to enable and --no-preemptible to disable.
--provisioning-model=PROVISIONING_MODEL
Specifies provisioning model, which determines price, obtainability,
and runtime for the VM instance. PROVISIONING_MODEL must be one of:
SPOT
Spot VMs are spare capacity; Spot VMs are discounted to have much
lower prices than standard VMs but have no guaranteed runtime. Spot
VMs are the new version of preemptible VM instances, except Spot
VMs do not have a 24-hour maximum runtime.
STANDARD
Default. Standard provisioning model for VM instances, which has
user-controlled runtime but no Spot discounts.
--[no-]restart-on-failure
The instances will be restarted if they are terminated by Compute
Engine. This does not affect terminations performed by the user. This
@ -88,6 +104,29 @@ FLAGS
Alternatively, the zone can be stored in the environment variable
CLOUDSDK_COMPUTE_ZONE.
Instance Termination Action
At most one of these can be specified:
--clear-instance-termination-action
Disables the termination action for this VM if allowed OR sets
termination action to the default value. Depending on a VM's
availability settings, a termination action is either required or not
allowed. This flag is required when you are updating a VM such that
it's previously specified termination action is no longer allowed. If
you use this flag when a VM requires a termination action, it's
termination action is just set to the default value (stop).
--instance-termination-action=INSTANCE_TERMINATION_ACTION
Specifies the termination action that will be taken upon VM
preemption. INSTANCE_TERMINATION_ACTION must be one of:
DELETE
Permanently delete the VM.
STOP
Default. Stop the VM without preserving memory. The VM can be
restarted later.
Sole Tenancy.
At most one of these can be specified: