mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 10:35:03 +00:00
gcloud: Thu Oct 5 11:50:15 UTC 2023
This commit is contained in:
parent
6c60d7f07f
commit
9641ff6585
118 changed files with 2726 additions and 214 deletions
|
|
@ -24,7 +24,7 @@ SYNOPSIS
|
|||
[--disk-type=DISK_TYPE] [--enable-autorepair] [--no-enable-autoupgrade]
|
||||
[--enable-cloud-logging] [--enable-cloud-monitoring]
|
||||
[--enable-cloud-run-alpha] [--enable-confidential-nodes]
|
||||
[--enable-cost-allocation] [--enable-dataplane-v2]
|
||||
[--enable-cost-allocation] [--enable-dataplane-v2] [--enable-fleet]
|
||||
[--enable-google-cloud-access] [--enable-gvnic]
|
||||
[--enable-identity-service] [--enable-image-streaming]
|
||||
[--enable-intra-node-visibility] [--enable-ip-alias]
|
||||
|
|
@ -35,10 +35,10 @@ SYNOPSIS
|
|||
[--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]
|
||||
[--fleet-project=PROJECT_ID_OR_NUMBER] [--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]
|
||||
|
|
@ -460,6 +460,12 @@ FLAGS
|
|||
Enables the new eBPF dataplane for GKE clusters that is required for
|
||||
network security, scalability and visibility features.
|
||||
|
||||
--enable-fleet
|
||||
Set cluster project as the fleet host project. This will register the
|
||||
cluster to the same project. To register the cluster to a fleet in a
|
||||
different project, please use --fleet-project=FLEET_HOST_PROJECT.
|
||||
Example: $ gcloud container clusters create --enable-fleet
|
||||
|
||||
--enable-google-cloud-access
|
||||
When you enable Google Cloud Access, any public IP addresses owned by
|
||||
Google Cloud can reach the public control plane endpoint of your
|
||||
|
|
@ -564,6 +570,13 @@ FLAGS
|
|||
--enable-vertical-pod-autoscaling
|
||||
Enable vertical pod autoscaling for a cluster.
|
||||
|
||||
--fleet-project=PROJECT_ID_OR_NUMBER
|
||||
Sets fleet host project for the cluster. If specified, the current
|
||||
cluster will be registered as a fleet membership under the fleet host
|
||||
project.
|
||||
|
||||
Example: $ gcloud container clusters create --fleet-project=my-project
|
||||
|
||||
--gateway-api=GATEWAY_API
|
||||
Enables GKE Gateway controller in this cluster. The value of the flag
|
||||
specifies which Open Source Gateway API release channel will be used to
|
||||
|
|
|
|||
|
|
@ -13,14 +13,16 @@ SYNOPSIS
|
|||
[--create-subnetwork=[KEY=VALUE,...]]
|
||||
[--database-encryption-key=DATABASE_ENCRYPTION_KEY]
|
||||
[--dataplane-v2-observability-mode=DATAPLANE_V2_OBSERVABILITY_MODE]
|
||||
[--enable-backup-restore] [--enable-google-cloud-access]
|
||||
[--enable-backup-restore] [--enable-fleet]
|
||||
[--enable-google-cloud-access]
|
||||
[--enable-kubernetes-unstable-apis=API,[API,...]]
|
||||
[--enable-master-global-access] [--logging=[COMPONENT,...]]
|
||||
[--monitoring=[COMPONENT,...]] [--network=NETWORK]
|
||||
[--private-endpoint-subnetwork=NAME] [--release-channel=CHANNEL]
|
||||
[--security-group=SECURITY_GROUP] [--security-posture=SECURITY_POSTURE]
|
||||
[--services-ipv4-cidr=CIDR] [--services-secondary-range-name=NAME]
|
||||
[--subnetwork=SUBNETWORK] [--workload-policies=WORKLOAD_POLICIES]
|
||||
[--enable-master-global-access] [--fleet-project=PROJECT_ID_OR_NUMBER]
|
||||
[--logging=[COMPONENT,...]] [--monitoring=[COMPONENT,...]]
|
||||
[--network=NETWORK] [--private-endpoint-subnetwork=NAME]
|
||||
[--release-channel=CHANNEL] [--security-group=SECURITY_GROUP]
|
||||
[--security-posture=SECURITY_POSTURE] [--services-ipv4-cidr=CIDR]
|
||||
[--services-secondary-range-name=NAME] [--subnetwork=SUBNETWORK]
|
||||
[--workload-policies=WORKLOAD_POLICIES]
|
||||
[--workload-vulnerability-scanning=WORKLOAD_VULNERABILITY_SCANNING]
|
||||
[--enable-master-authorized-networks
|
||||
--master-authorized-networks=NETWORK,[NETWORK,...]]
|
||||
|
|
@ -195,6 +197,12 @@ FLAGS
|
|||
To learn more, see the Backup for GKE overview:
|
||||
https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/concepts/backup-for-gke.
|
||||
|
||||
--enable-fleet
|
||||
Set cluster project as the fleet host project. This will register the
|
||||
cluster to the same project. To register the cluster to a fleet in a
|
||||
different project, please use --fleet-project=FLEET_HOST_PROJECT.
|
||||
Example: $ gcloud container clusters create-auto --enable-fleet
|
||||
|
||||
--enable-google-cloud-access
|
||||
When you enable Google Cloud Access, any public IP addresses owned by
|
||||
Google Cloud can reach the public control plane endpoint of your
|
||||
|
|
@ -210,6 +218,14 @@ FLAGS
|
|||
endpoint from any Google Cloud region or on-premises environment
|
||||
regardless of the private cluster's region.
|
||||
|
||||
--fleet-project=PROJECT_ID_OR_NUMBER
|
||||
Sets fleet host project for the cluster. If specified, the current
|
||||
cluster will be registered as a fleet membership under the fleet host
|
||||
project.
|
||||
|
||||
Example: $ gcloud container clusters create-auto
|
||||
--fleet-project=my-project
|
||||
|
||||
--logging=[COMPONENT,...]
|
||||
Set the components that have logging enabled. Valid component values
|
||||
are: SYSTEM, WORKLOAD, API_SERVER, CONTROLLER_MANAGER, SCHEDULER, NONE
|
||||
|
|
|
|||
|
|
@ -5,22 +5,23 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud container clusters update NAME
|
||||
(--autoprovisioning-network-tags=[TAGS,...]
|
||||
| --autoscaling-profile=AUTOSCALING_PROFILE
|
||||
| --autoscaling-profile=AUTOSCALING_PROFILE | --clear-fleet-project
|
||||
| --complete-credential-rotation | --complete-ip-rotation
|
||||
| --database-encryption-key=DATABASE_ENCRYPTION_KEY
|
||||
| --disable-database-encryption | --disable-default-snat
|
||||
| --disable-workload-identity | --enable-autoscaling
|
||||
| --enable-cost-allocation | --enable-google-cloud-access
|
||||
| --enable-identity-service | --enable-image-streaming
|
||||
| --enable-intra-node-visibility
|
||||
| --enable-cost-allocation | --enable-fleet
|
||||
| --enable-google-cloud-access | --enable-identity-service
|
||||
| --enable-image-streaming | --enable-intra-node-visibility
|
||||
| --enable-kubernetes-unstable-apis=API,[API,...]
|
||||
| --enable-l4-ilb-subsetting | --enable-legacy-authorization
|
||||
| --enable-master-authorized-networks | --enable-master-global-access
|
||||
| --enable-network-policy | --enable-private-endpoint
|
||||
| --enable-service-externalips | --enable-shielded-nodes
|
||||
| --enable-stackdriver-kubernetes | --enable-vertical-pod-autoscaling
|
||||
| --gateway-api=GATEWAY_API | --generate-password
|
||||
| --logging-variant=LOGGING_VARIANT | --maintenance-window=START_TIME
|
||||
| --fleet-project=PROJECT_ID_OR_NUMBER | --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,
|
||||
|
|
@ -124,6 +125,10 @@ REQUIRED FLAGS
|
|||
Set autoscaling behaviour, choices are 'optimize-utilization' and
|
||||
'balanced'. Default is 'balanced'.
|
||||
|
||||
--clear-fleet-project
|
||||
Remove the cluster from current fleet host project. Example: $ gcloud
|
||||
container clusters update --clear-fleet-project
|
||||
|
||||
--complete-credential-rotation
|
||||
Complete the IP and credential rotation for this cluster. For
|
||||
example:
|
||||
|
|
@ -207,6 +212,12 @@ REQUIRED FLAGS
|
|||
|
||||
Use --no-enable-cost-allocation to disable this feature.
|
||||
|
||||
--enable-fleet
|
||||
Set cluster project as the fleet host project. This will register the
|
||||
cluster to the same project. To register the cluster to a fleet in a
|
||||
different project, please use --fleet-project=FLEET_HOST_PROJECT.
|
||||
Example: $ gcloud container clusters update --enable-fleet
|
||||
|
||||
--enable-google-cloud-access
|
||||
When you enable Google Cloud Access, any public IP addresses owned by
|
||||
Google Cloud can reach the public control plane endpoint of your
|
||||
|
|
@ -303,6 +314,14 @@ REQUIRED FLAGS
|
|||
--enable-vertical-pod-autoscaling
|
||||
Enable vertical pod autoscaling for a cluster.
|
||||
|
||||
--fleet-project=PROJECT_ID_OR_NUMBER
|
||||
Sets fleet host project for the cluster. If specified, the current
|
||||
cluster will be registered as a fleet membership under the fleet host
|
||||
project.
|
||||
|
||||
Example: $ gcloud container clusters update
|
||||
--fleet-project=my-project
|
||||
|
||||
--gateway-api=GATEWAY_API
|
||||
Enables GKE Gateway controller in this cluster. The value of the flag
|
||||
specifies which Open Source Gateway API release channel will be used
|
||||
|
|
|
|||
|
|
@ -176,7 +176,11 @@ REQUIRED FLAGS
|
|||
Use quote around the flag value to escape semicolon in the
|
||||
terminal.
|
||||
|
||||
Manual load balancer configuration
|
||||
Manual load balancer configuration.
|
||||
|
||||
With manual load balancing mode, DHCP is not supported. Specify static
|
||||
IP addresses for cluster nodes instead. For more details, see
|
||||
https://cloud.google.com/anthos/clusters/docs/on-prem/latest/how-to/manual-load-balance#setting_aside_node_ip_addresses.
|
||||
|
||||
--control-plane-node-port=CONTROL_PLANE_NODE_PORT
|
||||
NodePort for control plane service.
|
||||
|
|
@ -256,6 +260,10 @@ REQUIRED FLAGS
|
|||
--enable-dhcp
|
||||
Enable DHCP IP allocation for VMware user clusters.
|
||||
|
||||
While using DHCP, manual load balancing mode is not supported.
|
||||
For more details, see
|
||||
https://cloud.google.com/anthos/clusters/docs/on-prem/latest/how-to/manual-load-balance#setting_aside_node_ip_addresses.
|
||||
|
||||
Static IP configuration group
|
||||
|
||||
At most one of these can be specified:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue