mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 10:35:03 +00:00
gcloud: Wed Jul 26 10:48:49 UTC 2023
This commit is contained in:
parent
64e67b443c
commit
4558a00e48
204 changed files with 2787 additions and 1591 deletions
|
|
@ -27,18 +27,18 @@ SYNOPSIS
|
|||
[--enable-cost-allocation] [--enable-dataplane-v2]
|
||||
[--enable-google-cloud-access] [--enable-gvnic]
|
||||
[--enable-identity-service] [--enable-image-streaming]
|
||||
[--enable-insecure-kubelet-readonly-port]
|
||||
[--enable-intra-node-visibility] [--enable-ip-alias]
|
||||
[--enable-kubernetes-alpha]
|
||||
[--enable-kubernetes-unstable-apis=API,[API,...]]
|
||||
[--enable-l4-ilb-subsetting] [--enable-legacy-authorization]
|
||||
[--enable-managed-prometheus] [--enable-master-global-access]
|
||||
[--enable-network-policy] [--enable-service-externalips]
|
||||
[--enable-shielded-nodes] [--enable-stackdriver-kubernetes]
|
||||
[--enable-vertical-pod-autoscaling] [--gateway-api=GATEWAY_API]
|
||||
[--image-type=IMAGE_TYPE] [--ipv6-access-type=IPV6_ACCESS_TYPE]
|
||||
[--issue-client-certificate] [--labels=[KEY=VALUE,...]]
|
||||
[--logging=[COMPONENT,...]] [--logging-variant=LOGGING_VARIANT]
|
||||
[--enable-multi-networking] [--enable-network-policy]
|
||||
[--enable-service-externalips] [--enable-shielded-nodes]
|
||||
[--enable-stackdriver-kubernetes] [--enable-vertical-pod-autoscaling]
|
||||
[--gateway-api=GATEWAY_API] [--image-type=IMAGE_TYPE]
|
||||
[--ipv6-access-type=IPV6_ACCESS_TYPE] [--issue-client-certificate]
|
||||
[--labels=[KEY=VALUE,...]] [--logging=[COMPONENT,...]]
|
||||
[--logging-variant=LOGGING_VARIANT]
|
||||
[--machine-type=MACHINE_TYPE, -m MACHINE_TYPE]
|
||||
[--max-nodes-per-pool=MAX_NODES_PER_POOL]
|
||||
[--max-pods-per-node=MAX_PODS_PER_NODE]
|
||||
|
|
@ -47,13 +47,14 @@ SYNOPSIS
|
|||
[--metadata=KEY=VALUE,[KEY=VALUE,...]]
|
||||
[--metadata-from-file=KEY=LOCAL_FILE_PATH,[...]]
|
||||
[--min-cpu-platform=PLATFORM] [--monitoring=[COMPONENT,...]]
|
||||
[--network=NETWORK] [--node-labels=[NODE_LABEL,...]]
|
||||
[--node-locations=ZONE,[ZONE,...]] [--node-taints=[NODE_TAINT,...]]
|
||||
[--node-version=NODE_VERSION]
|
||||
[--network=NETWORK]
|
||||
[--network-performance-configs=[PROPERTY1=VALUE1,...]]
|
||||
[--node-labels=[NODE_LABEL,...]] [--node-locations=ZONE,[ZONE,...]]
|
||||
[--node-taints=[NODE_TAINT,...]] [--node-version=NODE_VERSION]
|
||||
[--notification-config=[pubsub=ENABLED|DISABLED,
|
||||
pubsub-topic=TOPIC,...]] [--num-nodes=NUM_NODES; default=3]
|
||||
[--placement-type=PLACEMENT_TYPE] [--preemptible]
|
||||
[--private-endpoint-subnetwork=NAME]
|
||||
[--placement-policy=PLACEMENT_POLICY] [--placement-type=PLACEMENT_TYPE]
|
||||
[--preemptible] [--private-endpoint-subnetwork=NAME]
|
||||
[--private-ipv6-google-access-type=PRIVATE_IPV6_GOOGLE_ACCESS_TYPE]
|
||||
[--release-channel=CHANNEL] [--security-group=SECURITY_GROUP]
|
||||
[--security-posture=SECURITY_POSTURE] [--services-ipv4-cidr=CIDR]
|
||||
|
|
@ -480,12 +481,6 @@ FLAGS
|
|||
--enable-image-streaming
|
||||
Specifies whether to enable image streaming on cluster.
|
||||
|
||||
--enable-insecure-kubelet-readonly-port
|
||||
Enables the Kubelet's insecure Read Only Port.
|
||||
|
||||
To disable in an existing cluster, explicitly set flag to
|
||||
--no-enable-insecure-kubelet-readonly-port.
|
||||
|
||||
--enable-intra-node-visibility
|
||||
Enable Intra-node visibility for this cluster.
|
||||
|
||||
|
|
@ -539,6 +534,10 @@ FLAGS
|
|||
Must be used in conjunction with '--enable-ip-alias' and
|
||||
'--enable-private-nodes'.
|
||||
|
||||
--enable-multi-networking
|
||||
Enables multi-networking on the cluster. Multi-networking is disabled
|
||||
by default.
|
||||
|
||||
--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
|
||||
|
|
@ -773,6 +772,20 @@ FLAGS
|
|||
Kubernetes Engine will use this network when creating routes and
|
||||
firewalls for the clusters. Defaults to the 'default' network.
|
||||
|
||||
--network-performance-configs=[PROPERTY1=VALUE1,...]
|
||||
Configures network performance settings for the cluster. Node pools can
|
||||
override with their own settings.
|
||||
|
||||
total-egress-bandwidth-tier
|
||||
Total egress bandwidth is the available outbound bandwidth from a
|
||||
VM, regardless of whether the traffic is going to internal IP or
|
||||
external IP destinations. The following tier values are allowed:
|
||||
[DEFAULT,TIER_1].
|
||||
|
||||
See
|
||||
https://cloud.google.com/compute/docs/networking/configure-vm-with-high-bandwidth-configuration
|
||||
for more information.
|
||||
|
||||
--node-labels=[NODE_LABEL,...]
|
||||
Applies the given Kubernetes labels on all nodes in the new node pool.
|
||||
|
||||
|
|
@ -858,6 +871,12 @@ FLAGS
|
|||
--num-nodes=NUM_NODES; default=3
|
||||
The number of nodes to be created in each of the cluster's zones.
|
||||
|
||||
--placement-policy=PLACEMENT_POLICY
|
||||
Indicates the desired resource policy to use.
|
||||
|
||||
$ gcloud container clusters create node-pool-1 \
|
||||
--cluster=example-cluster --placement-policy my-placement
|
||||
|
||||
--placement-type=PLACEMENT_TYPE
|
||||
Placement type allows to define the type of node placement within the
|
||||
default node pool of this cluster.
|
||||
|
|
@ -946,7 +965,6 @@ FLAGS
|
|||
Clusters subscribed to 'regular' receive versions that are
|
||||
considered GA quality. 'regular' is intended for production users
|
||||
who want to take advantage of new features.
|
||||
|
||||
stable
|
||||
Clusters subscribed to 'stable' receive versions that are known to
|
||||
be stable and reliable in production.
|
||||
|
|
@ -1046,8 +1064,6 @@ FLAGS
|
|||
podPidsLimit integer (The value must be
|
||||
greater than or equal to 1024 and
|
||||
less than 4194304.)
|
||||
insecureKubeletReadonlyPortEnabled true or false (enabled by
|
||||
default)
|
||||
|
||||
List of supported sysctls in 'linuxConfig'.
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@ SYNOPSIS
|
|||
[--database-encryption-key=DATABASE_ENCRYPTION_KEY]
|
||||
[--dataplane-v2-observability-mode=DATAPLANE_V2_OBSERVABILITY_MODE]
|
||||
[--enable-google-cloud-access]
|
||||
[--enable-insecure-kubelet-readonly-port]
|
||||
[--enable-kubernetes-unstable-apis=API,[API,...]]
|
||||
[--enable-master-global-access] [--logging=[COMPONENT,...]]
|
||||
[--monitoring=[COMPONENT,...]] [--network=NETWORK]
|
||||
|
|
@ -196,12 +195,6 @@ FLAGS
|
|||
Google Cloud can reach the public control plane endpoint of your
|
||||
cluster.
|
||||
|
||||
--enable-insecure-kubelet-readonly-port
|
||||
Enables the Kubelet's insecure Read Only Port.
|
||||
|
||||
To disable in an existing cluster, explicitly set flag to
|
||||
--no-enable-insecure-kubelet-readonly-port.
|
||||
|
||||
--enable-kubernetes-unstable-apis=API,[API,...]
|
||||
Enable Kubernetes beta API features on this cluster. Beta APIs are not
|
||||
expected to be production ready and should be avoided in
|
||||
|
|
@ -268,9 +261,6 @@ FLAGS
|
|||
|
||||
CHANNEL must be one of:
|
||||
|
||||
None
|
||||
Use 'None' to opt-out of any release channel.
|
||||
|
||||
rapid
|
||||
'rapid' channel is offered on an early access basis for customers
|
||||
who want to test new releases.
|
||||
|
|
@ -283,7 +273,6 @@ FLAGS
|
|||
Clusters subscribed to 'regular' receive versions that are
|
||||
considered GA quality. 'regular' is intended for production users
|
||||
who want to take advantage of new features.
|
||||
|
||||
stable
|
||||
Clusters subscribed to 'stable' receive versions that are known to
|
||||
be stable and reliable in production.
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ SYNOPSIS
|
|||
| --disable-workload-identity | --enable-autoscaling
|
||||
| --enable-cost-allocation | --enable-google-cloud-access
|
||||
| --enable-identity-service | --enable-image-streaming
|
||||
| --enable-insecure-kubelet-readonly-port
|
||||
| --enable-intra-node-visibility
|
||||
| --enable-kubernetes-unstable-apis=API,[API,...]
|
||||
| --enable-l4-ilb-subsetting | --enable-legacy-authorization
|
||||
|
|
@ -23,6 +22,7 @@ SYNOPSIS
|
|||
| --enable-stackdriver-kubernetes | --enable-vertical-pod-autoscaling
|
||||
| --gateway-api=GATEWAY_API | --generate-password
|
||||
| --logging-variant=LOGGING_VARIANT | --maintenance-window=START_TIME
|
||||
| --network-performance-configs=[PROPERTY1=VALUE1,...]
|
||||
| --node-locations=ZONE,[ZONE,...]
|
||||
| --notification-config=[pubsub=ENABLED|DISABLED,
|
||||
pubsub-topic=TOPIC,...]
|
||||
|
|
@ -254,12 +254,6 @@ REQUIRED FLAGS
|
|||
--enable-image-streaming
|
||||
Specifies whether to enable image streaming on cluster.
|
||||
|
||||
--enable-insecure-kubelet-readonly-port
|
||||
Enables the Kubelet's insecure Read Only Port.
|
||||
|
||||
To disable in an existing cluster, explicitly set flag to
|
||||
--no-enable-insecure-kubelet-readonly-port.
|
||||
|
||||
--enable-intra-node-visibility
|
||||
Enable Intra-node visibility for this cluster.
|
||||
|
||||
|
|
@ -388,6 +382,20 @@ REQUIRED FLAGS
|
|||
To remove an existing maintenance window from the cluster, use
|
||||
'--clear-maintenance-window'.
|
||||
|
||||
--network-performance-configs=[PROPERTY1=VALUE1,...]
|
||||
Configures network performance settings for the cluster. Node pools
|
||||
can override with their own settings.
|
||||
|
||||
total-egress-bandwidth-tier
|
||||
Total egress bandwidth is the available outbound bandwidth from a
|
||||
VM, regardless of whether the traffic is going to internal IP or
|
||||
external IP destinations. The following tier values are allowed:
|
||||
[DEFAULT,TIER_1].
|
||||
|
||||
See
|
||||
https://cloud.google.com/compute/docs/networking/configure-vm-with-high-bandwidth-configuration
|
||||
for more information.
|
||||
|
||||
--node-locations=ZONE,[ZONE,...]
|
||||
The set of zones in which the specified node footprint should be
|
||||
replicated. All zones must be in the same region as the cluster's
|
||||
|
|
@ -485,7 +493,6 @@ REQUIRED FLAGS
|
|||
Clusters subscribed to 'regular' receive versions that are
|
||||
considered GA quality. 'regular' is intended for production users
|
||||
who want to take advantage of new features.
|
||||
|
||||
stable
|
||||
Clusters subscribed to 'stable' receive versions that are known
|
||||
to be stable and reliable in production.
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ NAME
|
|||
Kubernetes clusters with fleet
|
||||
|
||||
SYNOPSIS
|
||||
gcloud container fleet GROUP [GCLOUD_WIDE_FLAG ...]
|
||||
gcloud container fleet GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
The command group to register GKE or other Kubernetes clusters running in a
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ NAME
|
|||
Kubernetes clusters with fleet
|
||||
|
||||
SYNOPSIS
|
||||
gcloud container hub GROUP [GCLOUD_WIDE_FLAG ...]
|
||||
gcloud container hub GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
The command group to register GKE or other Kubernetes clusters running in a
|
||||
|
|
|
|||
|
|
@ -9,7 +9,12 @@ SYNOPSIS
|
|||
gpu-partition-size=GPU_PARTITION_SIZE,
|
||||
gpu-sharing-strategy=GPU_SHARING_STRATEGY,
|
||||
max-shared-clients-per-gpu=MAX_SHARED_CLIENTS_PER_GPU],...]]
|
||||
[--async] [--boot-disk-kms-key=BOOT_DISK_KMS_KEY] [--cluster=CLUSTER]
|
||||
[--additional-node-network=[network=NETWORK_NAME,
|
||||
subnetwork=SUBNETWORK_NAME,...]]
|
||||
[--additional-pod-network=[subnetwork=SUBNETWORK_NAME,
|
||||
pod-ipv4-range=SECONDARY_RANGE_NAME,
|
||||
[max-pods-per-node=NUM_PODS],...]] [--async]
|
||||
[--boot-disk-kms-key=BOOT_DISK_KMS_KEY] [--cluster=CLUSTER]
|
||||
[--disk-size=DISK_SIZE] [--disk-type=DISK_TYPE]
|
||||
[--enable-autoprovisioning] [--enable-autorepair]
|
||||
[--no-enable-autoupgrade] [--enable-blue-green-upgrade]
|
||||
|
|
@ -29,7 +34,8 @@ SYNOPSIS
|
|||
[--node-locations=ZONE,[ZONE,...]]
|
||||
[--node-pool-soak-duration=NODE_POOL_SOAK_DURATION]
|
||||
[--node-taints=[NODE_TAINT,...]] [--node-version=NODE_VERSION]
|
||||
[--num-nodes=NUM_NODES; default=3] [--placement-type=PLACEMENT_TYPE]
|
||||
[--num-nodes=NUM_NODES; default=3]
|
||||
[--placement-policy=PLACEMENT_POLICY] [--placement-type=PLACEMENT_TYPE]
|
||||
[--preemptible] [--sandbox=[type=TYPE]]
|
||||
[--shielded-integrity-monitoring] [--shielded-secure-boot]
|
||||
[--sole-tenant-node-affinity-file=SOLE_TENANT_NODE_AFFINITY_FILE]
|
||||
|
|
@ -122,6 +128,40 @@ FLAGS
|
|||
(Optional) The max number of containers allowed to share each GPU
|
||||
on the node. This field is used together with gpu-sharing-strategy.
|
||||
|
||||
--additional-node-network=[network=NETWORK_NAME,subnetwork=SUBNETWORK_NAME,...]
|
||||
Attach an additional network interface to each node in the pool. This
|
||||
parameter can be specified up to 7 times.
|
||||
|
||||
e.g. --additional-node-network network=dataplane,subnetwork=subnet-dp
|
||||
|
||||
network
|
||||
(Required) The network to attach the new interface to.
|
||||
|
||||
subnetwork
|
||||
(Required) The subnetwork to attach the new interface to.
|
||||
|
||||
--additional-pod-network=[subnetwork=SUBNETWORK_NAME,pod-ipv4-range=SECONDARY_RANGE_NAME,[max-pods-per-node=NUM_PODS],...]
|
||||
Specify the details of a secondary range to be used for an additional
|
||||
pod network. Not needed if you use "host" typed NIC from this network.
|
||||
This parameter can be specified up to 35 times.
|
||||
|
||||
e.g. --additional-pod-network
|
||||
subnetwork=subnet-dp,pod-ipv4-range=sec-range-blue,max-pods-per-node=8.
|
||||
|
||||
subnetwork
|
||||
(Optional) The name of the subnetwork to link the pod network to.
|
||||
If not specified, the pod network defaults to the subnet connected
|
||||
to the default network interface.
|
||||
|
||||
pod-ipv4-range
|
||||
(Required) The name of the secondary range in the subnetwork. The
|
||||
range must hold at least (2 * MAX_PODS_PER_NODE *
|
||||
MAX_NODES_IN_RANGE) IPs.
|
||||
|
||||
max-pods-per-node
|
||||
(Optional) Maximum amount of pods per node that can utilize this
|
||||
ipv4-range. Defaults to NodePool (if specified) or Cluster value.
|
||||
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
|
@ -437,6 +477,12 @@ FLAGS
|
|||
--num-nodes=NUM_NODES; default=3
|
||||
The number of nodes in the node pool in each of the cluster's zones.
|
||||
|
||||
--placement-policy=PLACEMENT_POLICY
|
||||
Indicates the desired resource policy to use.
|
||||
|
||||
$ gcloud container node-pools create node-pool-1 \
|
||||
--cluster=example-cluster --placement-policy my-placement
|
||||
|
||||
--placement-type=PLACEMENT_TYPE
|
||||
Placement type allows to define the type of node placement within this
|
||||
node pool.
|
||||
|
|
@ -550,8 +596,6 @@ FLAGS
|
|||
podPidsLimit integer (The value must be
|
||||
greater than or equal to 1024 and
|
||||
less than 4194304.)
|
||||
insecureKubeletReadonlyPortEnabled true or false (enabled by
|
||||
default)
|
||||
|
||||
List of supported sysctls in 'linuxConfig'.
|
||||
|
||||
|
|
|
|||
|
|
@ -168,8 +168,6 @@ REQUIRED FLAGS
|
|||
podPidsLimit integer (The value must be
|
||||
greater than or equal to 1024
|
||||
and less than 4194304.)
|
||||
insecureKubeletReadonlyPortEnabled true or false (enabled by
|
||||
default)
|
||||
|
||||
List of supported sysctls in 'linuxConfig'.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue