mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 10:35:03 +00:00
gcloud: Thu Apr 20 10:38:56 UTC 2023
This commit is contained in:
parent
b155beb241
commit
b33a8a3e6e
169 changed files with 3258 additions and 576 deletions
|
|
@ -10,7 +10,7 @@ SYNOPSIS
|
|||
--subnet-id=SUBNET_ID [--annotations=ANNOTATION,[ANNOTATION,...]]
|
||||
[--async] [--image-type=IMAGE_TYPE]
|
||||
[--instance-placement=INSTANCE_PLACEMENT]
|
||||
[--instance-type=INSTANCE_TYPE] [--max-pods-per-node=MAX_PODS_PER_NODE]
|
||||
[--max-pods-per-node=MAX_PODS_PER_NODE]
|
||||
[--node-labels=NODE_LABEL,[NODE_LABEL,...]]
|
||||
[--node-taints=NODE_TAINT,[NODE_TAINT,...]]
|
||||
[--root-volume-iops=ROOT_VOLUME_IOPS]
|
||||
|
|
@ -22,6 +22,8 @@ SYNOPSIS
|
|||
[--validate-only]
|
||||
[--autoscaling-metrics-granularity=AUTOSCALING_METRICS_GRANULARITY
|
||||
: --autoscaling-metrics=[AUTOSCALING_METRIC,...]]
|
||||
[--instance-type=INSTANCE_TYPE
|
||||
| --spot-instance-types=[INSTANCE_TYPE,...]]
|
||||
[--max-nodes=MAX_NODES --min-nodes=MIN_NODES]
|
||||
[--proxy-secret-arn=PROXY_SECRET_ARN
|
||||
--proxy-secret-version-id=PROXY_SECRET_VERSION_ID]
|
||||
|
|
@ -106,9 +108,6 @@ OPTIONAL FLAGS
|
|||
Type of the tenancy. INSTANCE_PLACEMENT must be one of: dedicated,
|
||||
default, host.
|
||||
|
||||
--instance-type=INSTANCE_TYPE
|
||||
AWS EC2 instance type for the node pool's nodes.
|
||||
|
||||
--max-pods-per-node=MAX_PODS_PER_NODE
|
||||
Maximum number of pods per node.
|
||||
|
||||
|
|
@ -166,6 +165,20 @@ OPTIONAL FLAGS
|
|||
If granularity is specified but not any metrics, all metrics are
|
||||
enabled.
|
||||
|
||||
Node pool instance configuration
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--instance-type=INSTANCE_TYPE
|
||||
AWS EC2 instance type for the node pool's nodes.
|
||||
|
||||
--spot-instance-types=[INSTANCE_TYPE,...]
|
||||
List of AWS EC2 instance types for creating a spot node pool's nodes.
|
||||
The specified instance types must have the same number of CPUs and
|
||||
memory. You can use the Amazon EC2 Instance Selector tool
|
||||
(https://github.com/aws/amazon-ec2-instance-selector) to choose
|
||||
instance types with matching CPU and memory configurations.
|
||||
|
||||
Node pool autoscaling
|
||||
|
||||
--max-nodes=MAX_NODES
|
||||
|
|
|
|||
|
|
@ -172,7 +172,7 @@ FLAGS
|
|||
ADDON must be one of: HttpLoadBalancing, HorizontalPodAutoscaling,
|
||||
KubernetesDashboard, NetworkPolicy, NodeLocalDNS, ConfigConnector,
|
||||
GcePersistentDiskCsiDriver, GcpFilestoreCsiDriver, BackupRestore,
|
||||
Istio, CloudBuild, CloudRun.
|
||||
Istio, GcsFuseCsiDriver, CloudBuild, CloudRun.
|
||||
|
||||
--allow-route-overlap
|
||||
Allows the provided cluster CIDRs to overlap with existing routes that
|
||||
|
|
|
|||
|
|
@ -32,6 +32,8 @@ SYNOPSIS
|
|||
| --stack-type=STACK_TYPE | --start-credential-rotation
|
||||
| --start-ip-rotation | --update-addons=[ADDON=ENABLED|DISABLED,...]
|
||||
| --update-labels=[KEY=VALUE,...] | --workload-pool=WORKLOAD_POOL
|
||||
| --additional-pod-ipv4-ranges=NAME,[NAME,...]
|
||||
--remove-additional-pod-ipv4-ranges=NAME,[NAME,...]
|
||||
| --additional-zones=[ZONE,...] | --node-locations=ZONE,[ZONE,...]
|
||||
| --binauthz-policy=BINAUTHZ_POLICY
|
||||
--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE
|
||||
|
|
@ -49,8 +51,7 @@ SYNOPSIS
|
|||
--enable-resource-consumption-metering
|
||||
--resource-usage-bigquery-dataset=RESOURCE_USAGE_BIGQUERY_DATASET
|
||||
| --cluster-dns=CLUSTER_DNS --cluster-dns-domain=CLUSTER_DNS_DOMAIN
|
||||
--cluster-dns-scope=CLUSTER_DNS_SCOPE | --disable-managed-prometheus
|
||||
| --enable-managed-prometheus | [--enable-autoprovisioning
|
||||
--cluster-dns-scope=CLUSTER_DNS_SCOPE | [--enable-autoprovisioning
|
||||
: --autoprovisioning-config-file=AUTOPROVISIONING_CONFIG_FILE
|
||||
| --autoprovisioning-image-type=AUTOPROVISIONING_IMAGE_TYPE
|
||||
--autoprovisioning-locations=ZONE,[ZONE,...]
|
||||
|
|
@ -68,8 +69,9 @@ SYNOPSIS
|
|||
[--max-accelerator=[type=TYPE,count=COUNT,...]
|
||||
: --min-accelerator=[type=TYPE,count=COUNT,...]]]
|
||||
| --enable-tpu --enable-tpu-service-networking | --tpu-ipv4-cidr=CIDR
|
||||
| --logging=[COMPONENT,...] --monitoring=[COMPONENT,...]
|
||||
| --logging-service=LOGGING_SERVICE
|
||||
| --logging=[COMPONENT,...]
|
||||
--monitoring=[COMPONENT,...] --disable-managed-prometheus
|
||||
| --enable-managed-prometheus | --logging-service=LOGGING_SERVICE
|
||||
--monitoring-service=MONITORING_SERVICE
|
||||
| --password=PASSWORD --enable-basic-auth
|
||||
| --username=USERNAME, -u USERNAME) [--async]
|
||||
|
|
@ -543,6 +545,7 @@ REQUIRED FLAGS
|
|||
ConfigConnector=ENABLED|DISABLED NodeLocalDNS=ENABLED|DISABLED
|
||||
GcePersistentDiskCsiDriver=ENABLED|DISABLED
|
||||
GcpFilestoreCsiDriver=ENABLED|DISABLED
|
||||
GcsFuseCsiDriver=ENABLED|DISABLED
|
||||
|
||||
--update-labels=[KEY=VALUE,...]
|
||||
Labels to apply to the Google Cloud resources in use by the
|
||||
|
|
@ -566,6 +569,24 @@ REQUIRED FLAGS
|
|||
|
||||
https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
|
||||
|
||||
--additional-pod-ipv4-ranges=NAME,[NAME,...]
|
||||
Additional IP address ranges(by name) for pods that need to be added
|
||||
to the cluster.
|
||||
|
||||
Examples:
|
||||
|
||||
$ gcloud alpha container clusters update example-cluster \
|
||||
--additional-pod-ipv4-ranges=range1,range2
|
||||
|
||||
--remove-additional-pod-ipv4-ranges=NAME,[NAME,...]
|
||||
Previously added additional pod ranges(by name) for pods that are to
|
||||
be removed from the cluster.
|
||||
|
||||
Examples:
|
||||
|
||||
$ gcloud alpha container clusters update example-cluster \
|
||||
--remove-additional-pod-ipv4-ranges=range1,range2
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--additional-zones=[ZONE,...]
|
||||
|
|
@ -798,14 +819,6 @@ REQUIRED FLAGS
|
|||
vpc
|
||||
Configures the Cloud DNS zone to be private to the VPC Network.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--disable-managed-prometheus
|
||||
Disable managed collection for Managed Service for Prometheus.
|
||||
|
||||
--enable-managed-prometheus
|
||||
Enable managed collection for Managed Service for Prometheus.
|
||||
|
||||
Node autoprovisioning
|
||||
|
||||
--enable-autoprovisioning
|
||||
|
|
@ -1096,6 +1109,14 @@ REQUIRED FLAGS
|
|||
--monitoring=SYSTEM,API_SERVER
|
||||
$ gcloud alpha container clusters update --monitoring=NONE
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--disable-managed-prometheus
|
||||
Disable managed collection for Managed Service for Prometheus.
|
||||
|
||||
--enable-managed-prometheus
|
||||
Enable managed collection for Managed Service for Prometheus.
|
||||
|
||||
--logging-service=LOGGING_SERVICE
|
||||
(DEPRECATED) Logging service to use for the cluster. Options are:
|
||||
"logging.googleapis.com/kubernetes" (the Google Cloud Logging service
|
||||
|
|
|
|||
|
|
@ -24,8 +24,12 @@ REQUIRED FLAGS
|
|||
At least one of these must be specified:
|
||||
|
||||
--control-plane=CONTROL_PLANE
|
||||
The control plane management to update to. CONTROL_PLANE must be one
|
||||
of: automatic, manual.
|
||||
(DEPRECATED) The control plane management to update to.
|
||||
|
||||
The --control-plane flag is now deprecated. Please use --management
|
||||
instead. See
|
||||
https://cloud.google.com/service-mesh/docs/managed/provision-managed-anthos-service-mesh.
|
||||
CONTROL_PLANE must be one of: automatic, manual.
|
||||
|
||||
--management=MANAGEMENT
|
||||
The management mode to update to. MANAGEMENT must be one of:
|
||||
|
|
|
|||
|
|
@ -24,8 +24,12 @@ REQUIRED FLAGS
|
|||
At least one of these must be specified:
|
||||
|
||||
--control-plane=CONTROL_PLANE
|
||||
The control plane management to update to. CONTROL_PLANE must be one
|
||||
of: automatic, manual.
|
||||
(DEPRECATED) The control plane management to update to.
|
||||
|
||||
The --control-plane flag is now deprecated. Please use --management
|
||||
instead. See
|
||||
https://cloud.google.com/service-mesh/docs/managed/provision-managed-anthos-service-mesh.
|
||||
CONTROL_PLANE must be one of: automatic, manual.
|
||||
|
||||
--management=MANAGEMENT
|
||||
The management mode to update to. MANAGEMENT must be one of:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue