1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 06:47:12 +00:00

gcloud: Wed May 1 09:26:55 UTC 2024

This commit is contained in:
Automated 2024-05-01 09:26:55 +00:00
parent 3740758467
commit 48fac7efd4
454 changed files with 11765 additions and 12790 deletions

View file

@ -17,6 +17,7 @@ SYNOPSIS
[--cluster-ipv4-cidr=CLUSTER_IPV4_CIDR]
[--cluster-secondary-range-name=NAME]
[--cluster-version=CLUSTER_VERSION]
[--containerd-config-from-file=CONTAINERD_CONFIG_FROM_FILE]
[--create-subnetwork=[KEY=VALUE,...]]
[--database-encryption-key=DATABASE_ENCRYPTION_KEY]
[--default-max-pods-per-node=DEFAULT_MAX_PODS_PER_NODE]
@ -33,9 +34,10 @@ SYNOPSIS
[--enable-kubernetes-unstable-apis=API,[API,...]]
[--enable-l4-ilb-subsetting] [--enable-legacy-authorization]
[--enable-managed-prometheus] [--enable-master-global-access]
[--enable-multi-networking] [--enable-network-policy]
[--enable-service-externalips] [--enable-shielded-nodes]
[--enable-stackdriver-kubernetes] [--enable-vertical-pod-autoscaling]
[--enable-multi-networking] [--enable-nested-virtualization]
[--enable-network-policy] [--enable-service-externalips]
[--enable-shielded-nodes] [--enable-stackdriver-kubernetes]
[--enable-vertical-pod-autoscaling]
[--fleet-project=PROJECT_ID_OR_NUMBER] [--gateway-api=GATEWAY_API]
[--image-type=IMAGE_TYPE]
[--in-transit-encryption=IN_TRANSIT_ENCRYPTION]
@ -153,10 +155,10 @@ FLAGS
(Optional) The NVIDIA driver version to install. GPU_DRIVER_VERSION
must be one of:
`default`: Install the default driver version.
`default`: Install the default driver version for this GKE version.
`latest`: Install the latest available driver version. Available only for
nodes that use Container-Optimized OS.
`latest`: Install the latest driver version available for this GKE version.
Can only be used for nodes that use Container-Optimized OS.
`disabled`: Skip automatic driver installation. You must manually install a
driver after you create the cluster. If you omit the flag `gpu-driver-version`,
@ -292,6 +294,10 @@ FLAGS
within VPCs that peer with this cluster. You should specify
--cluster-ipv4-cidr to prevent conflicts.
This field is not applicable in a Shared VPC setup where the IP address
range for the pods must be specified with
--cluster-secondary-range-name
--cluster-secondary-range-name=NAME
Set the secondary range to be used as the source for pod IPs. Alias
ranges will be allocated from this secondary range. NAME must be the
@ -309,6 +315,17 @@ FLAGS
$ gcloud container get-server-config
--containerd-config-from-file=CONTAINERD_CONFIG_FROM_FILE
Path of the YAML file that contains containerd configuration entries
like configuring access to private image registries.
For detailed information on the configuration usage, please refer to
https://cloud.google.com/kubernetes-engine/docs/how-to/customize-containerd-configuration.
Note: Updating the containerd configuration of an existing cluster or
node pool requires recreation of the existing nodes, which might cause
disruptions in running workloads.
--create-subnetwork=[KEY=VALUE,...]
Create a new subnetwork for the cluster. The name and range of the
subnetwork can be customized via optional 'name' and 'range' key-value
@ -560,6 +577,12 @@ FLAGS
Enables multi-networking on the cluster. Multi-networking is disabled
by default.
--enable-nested-virtualization
Enables the use of nested virtualization on the default initial node
pool. Defaults to false. Can only be enabled on UBUNTU_CONTAINERD base
image or COS_CONTAINERD base image with version 1.28.4-gke.1083000 and
above.
--enable-network-policy
Enable network policy enforcement for this cluster. If you are enabling
network policy on an existing cluster the network policy addon must
@ -1114,9 +1137,9 @@ FLAGS
sysctl:
net.core.somaxconn: '2048'
net.ipv4.tcp_rmem: '4096 87380 6291456'
hugepageConfig:
hugepage_size2m: '1024'
hugepage_size1g: '2'
hugepageConfig:
hugepage_size2m: '1024'
hugepage_size1g: '2'
List of supported kubelet configs in 'kubeletConfig'.

View file

@ -11,6 +11,7 @@ SYNOPSIS
[--cluster-ipv4-cidr=CLUSTER_IPV4_CIDR]
[--cluster-secondary-range-name=NAME]
[--cluster-version=CLUSTER_VERSION]
[--containerd-config-from-file=CONTAINERD_CONFIG_FROM_FILE]
[--create-subnetwork=[KEY=VALUE,...]]
[--database-encryption-key=DATABASE_ENCRYPTION_KEY]
[--enable-backup-restore] [--enable-cilium-clusterwide-network-policy]
@ -127,6 +128,10 @@ FLAGS
within VPCs that peer with this cluster. You should specify
--cluster-ipv4-cidr to prevent conflicts.
This field is not applicable in a Shared VPC setup where the IP address
range for the pods must be specified with
--cluster-secondary-range-name
--cluster-secondary-range-name=NAME
Set the secondary range to be used as the source for pod IPs. Alias
ranges will be allocated from this secondary range. NAME must be the
@ -143,6 +148,17 @@ FLAGS
$ gcloud container get-server-config
--containerd-config-from-file=CONTAINERD_CONFIG_FROM_FILE
Path of the YAML file that contains containerd configuration entries
like configuring access to private image registries.
For detailed information on the configuration usage, please refer to
https://cloud.google.com/kubernetes-engine/docs/how-to/customize-containerd-configuration.
Note: Updating the containerd configuration of an existing cluster or
node pool requires recreation of the existing nodes, which might cause
disruptions in running workloads.
--create-subnetwork=[KEY=VALUE,...]
Create a new subnetwork for the cluster. The name and range of the
subnetwork can be customized via optional 'name' and 'range' key-value

View file

@ -8,6 +8,7 @@ SYNOPSIS
| --autoprovisioning-resource-manager-tags=[KEY=VALUE,...]
| --autoscaling-profile=AUTOSCALING_PROFILE | --clear-fleet-project
| --complete-credential-rotation | --complete-ip-rotation
| --containerd-config-from-file=CONTAINERD_CONFIG_FROM_FILE
| --database-encryption-key=DATABASE_ENCRYPTION_KEY
| --disable-database-encryption | --disable-default-snat
| --disable-workload-identity | --enable-autoscaling
@ -190,6 +191,17 @@ REQUIRED FLAGS
single IP state. See documentation for more details:
https://cloud.google.com/kubernetes-engine/docs/how-to/ip-rotation.
--containerd-config-from-file=CONTAINERD_CONFIG_FROM_FILE
Path of the YAML file that contains containerd configuration entries
like configuring access to private image registries.
For detailed information on the configuration usage, please refer to
https://cloud.google.com/kubernetes-engine/docs/how-to/customize-containerd-configuration.
Note: Updating the containerd configuration of an existing cluster or
node pool requires recreation of the existing nodes, which might
cause disruptions in running workloads.
--database-encryption-key=DATABASE_ENCRYPTION_KEY
Enable Database Encryption.

View file

@ -15,14 +15,15 @@ SYNOPSIS
pod-ipv4-range=SECONDARY_RANGE_NAME,
[max-pods-per-node=NUM_PODS],...]] [--async]
[--boot-disk-kms-key=BOOT_DISK_KMS_KEY] [--cluster=CLUSTER]
[--containerd-config-from-file=CONTAINERD_CONFIG_FROM_FILE]
[--disk-size=DISK_SIZE] [--disk-type=DISK_TYPE]
[--enable-autoprovisioning] [--enable-autorepair]
[--no-enable-autoupgrade] [--enable-blue-green-upgrade]
[--enable-confidential-nodes] [--enable-gvnic]
[--enable-image-streaming] [--enable-private-nodes]
[--enable-queued-provisioning] [--enable-surge-upgrade]
[--image-type=IMAGE_TYPE] [--labels=[KEY=VALUE,...]]
[--logging-variant=LOGGING_VARIANT]
[--enable-image-streaming] [--enable-nested-virtualization]
[--enable-private-nodes] [--enable-queued-provisioning]
[--enable-surge-upgrade] [--image-type=IMAGE_TYPE]
[--labels=[KEY=VALUE,...]] [--logging-variant=LOGGING_VARIANT]
[--machine-type=MACHINE_TYPE, -m MACHINE_TYPE]
[--max-pods-per-node=MAX_PODS_PER_NODE]
[--max-surge-upgrade=MAX_SURGE_UPGRADE; default=1]
@ -38,8 +39,9 @@ SYNOPSIS
[--num-nodes=NUM_NODES; default=3]
[--placement-policy=PLACEMENT_POLICY] [--placement-type=PLACEMENT_TYPE]
[--preemptible] [--resource-manager-tags=[KEY=VALUE,...]]
[--sandbox=[type=TYPE]] [--shielded-integrity-monitoring]
[--shielded-secure-boot]
[--sandbox=[type=TYPE]]
[--secondary-boot-disk=[disk-image=DISK_IMAGE,[mode=MODE],...]]
[--shielded-integrity-monitoring] [--shielded-secure-boot]
[--sole-tenant-node-affinity-file=SOLE_TENANT_NODE_AFFINITY_FILE]
[--spot]
[--standard-rollout-policy=[batch-node-count=BATCH_NODE_COUNT,
@ -106,10 +108,10 @@ FLAGS
(Optional) The NVIDIA driver version to install. GPU_DRIVER_VERSION
must be one of:
`default`: Install the default driver version.
`default`: Install the default driver version for this GKE version.
`latest`: Install the latest available driver version. Available only for
nodes that use Container-Optimized OS.
`latest`: Install the latest driver version available for this GKE version.
Can only be used for nodes that use Container-Optimized OS.
`disabled`: Skip automatic driver installation. You must manually install a
driver after you create the cluster. If you omit the flag `gpu-driver-version`,
@ -180,6 +182,17 @@ FLAGS
The cluster to add the node pool to. Overrides the default
container/cluster property value for this command invocation.
--containerd-config-from-file=CONTAINERD_CONFIG_FROM_FILE
Path of the YAML file that contains containerd configuration entries
like configuring access to private image registries.
For detailed information on the configuration usage, please refer to
https://cloud.google.com/kubernetes-engine/docs/how-to/customize-containerd-configuration.
Note: Updating the containerd configuration of an existing cluster or
node pool requires recreation of the existing nodes, which might cause
disruptions in running workloads.
--disk-size=DISK_SIZE
Size for node VM boot disks in GB. Defaults to 100GB.
@ -236,6 +249,11 @@ FLAGS
--enable-image-streaming
Specifies whether to enable image streaming on node pool.
--enable-nested-virtualization
Enables the use of nested virtualization on the node pool. Defaults to
false. Can only be enabled on UBUNTU_CONTAINERD base image or
COS_CONTAINERD base image with version 1.28.4-gke.1083000 and above.
--enable-private-nodes
Enables provisioning nodes with private IP addresses only.
@ -553,6 +571,17 @@ FLAGS
The only supported type is 'gvisor'.
--secondary-boot-disk=[disk-image=DISK_IMAGE,[mode=MODE],...]
Attaches secondary boot disks to all nodes.
disk-image
(Required) The full resource path to the source disk image to
create the secondary boot disks from.
mode
(Optional) The configuration mode for the secondary boot disks. The
default value is "CONTAINER_IMAGE_CACHE".
--shielded-integrity-monitoring
Enables monitoring and attestation of the boot integrity of the
instance. The attestation is performed against the integrity policy
@ -618,9 +647,9 @@ FLAGS
sysctl:
net.core.somaxconn: '2048'
net.ipv4.tcp_rmem: '4096 87380 6291456'
hugepageConfig:
hugepage_size2m: '1024'
hugepage_size1g: '2'
hugepageConfig:
hugepage_size2m: '1024'
hugepage_size1g: '2'
List of supported kubelet configs in 'kubeletConfig'.

View file

@ -4,7 +4,8 @@ NAME
SYNOPSIS
gcloud container node-pools update NAME
(--enable-confidential-nodes | --enable-gvnic
(--containerd-config-from-file=CONTAINERD_CONFIG_FROM_FILE
| --enable-confidential-nodes | --enable-gvnic
| --enable-image-streaming | --enable-private-nodes
| --enable-queued-provisioning | --labels=[KEY=VALUE,...]
| --logging-variant=LOGGING_VARIANT
@ -50,6 +51,17 @@ POSITIONAL ARGUMENTS
REQUIRED FLAGS
Exactly one of these must be specified:
--containerd-config-from-file=CONTAINERD_CONFIG_FROM_FILE
Path of the YAML file that contains containerd configuration entries
like configuring access to private image registries.
For detailed information on the configuration usage, please refer to
https://cloud.google.com/kubernetes-engine/docs/how-to/customize-containerd-configuration.
Note: Updating the containerd configuration of an existing cluster or
node pool requires recreation of the existing nodes, which might
cause disruptions in running workloads.
--enable-confidential-nodes
Recreate all the nodes in the node pool to be confidential VM
https://cloud.google.com/compute/confidential-vm/docs/about-cvm.
@ -193,9 +205,9 @@ REQUIRED FLAGS
sysctl:
net.core.somaxconn: '2048'
net.ipv4.tcp_rmem: '4096 87380 6291456'
hugepageConfig:
hugepage_size2m: '1024'
hugepage_size1g: '2'
hugepageConfig:
hugepage_size2m: '1024'
hugepage_size1g: '2'
List of supported kubelet configs in 'kubeletConfig'.