mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-17 06:11:59 +00:00
gcloud: Wed Aug 21 09:39:51 UTC 2024
This commit is contained in:
parent
d35819d273
commit
ed5fe34b64
163 changed files with 3541 additions and 717 deletions
|
|
@ -34,6 +34,7 @@ REQUIRED FLAGS
|
|||
|
||||
$ gcloud container attached clusters import --distribution=aks
|
||||
$ gcloud container attached clusters import --distribution=eks
|
||||
$ gcloud container attached clusters import --distribution=generic
|
||||
|
||||
--platform-version=PLATFORM_VERSION
|
||||
Platform version to use for the cluster.
|
||||
|
|
|
|||
|
|
@ -91,6 +91,7 @@ REQUIRED FLAGS
|
|||
|
||||
$ gcloud container attached clusters register --distribution=aks
|
||||
$ gcloud container attached clusters register --distribution=eks
|
||||
$ gcloud container attached clusters register --distribution=generic
|
||||
|
||||
--fleet-project=FLEET_PROJECT
|
||||
ID or number of the Fleet host project where the cluster is registered.
|
||||
|
|
|
|||
|
|
@ -38,9 +38,9 @@ SYNOPSIS
|
|||
[--enable-managed-prometheus] [--enable-master-global-access]
|
||||
[--enable-multi-networking] [--enable-nested-virtualization]
|
||||
[--enable-network-policy] [--enable-ray-cluster-logging]
|
||||
[--enable-ray-cluster-monitoring] [--enable-service-externalips]
|
||||
[--enable-shielded-nodes] [--enable-stackdriver-kubernetes]
|
||||
[--enable-vertical-pod-autoscaling]
|
||||
[--enable-ray-cluster-monitoring] [--enable-secret-manager]
|
||||
[--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]
|
||||
|
|
@ -68,9 +68,9 @@ SYNOPSIS
|
|||
[--security-group=SECURITY_GROUP] [--security-posture=SECURITY_POSTURE]
|
||||
[--services-ipv4-cidr=CIDR] [--services-secondary-range-name=NAME]
|
||||
[--shielded-integrity-monitoring] [--shielded-secure-boot] [--spot]
|
||||
[--stack-type=STACK_TYPE] [--subnetwork=SUBNETWORK]
|
||||
[--system-config-from-file=PATH_TO_FILE] [--tags=TAG,[TAG,...]]
|
||||
[--threads-per-core=THREADS_PER_CORE]
|
||||
[--stack-type=STACK_TYPE] [--storage-pools=STORAGE_POOL,[...]]
|
||||
[--subnetwork=SUBNETWORK] [--system-config-from-file=PATH_TO_FILE]
|
||||
[--tags=TAG,[TAG,...]] [--threads-per-core=THREADS_PER_CORE]
|
||||
[--workload-metadata=WORKLOAD_METADATA] [--workload-pool=WORKLOAD_POOL]
|
||||
[--workload-vulnerability-scanning=WORKLOAD_VULNERABILITY_SCANNING]
|
||||
[--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE
|
||||
|
|
@ -145,10 +145,10 @@ FLAGS
|
|||
Attaches accelerators (e.g. GPUs) to all nodes.
|
||||
|
||||
type
|
||||
(Required) The specific type (e.g. nvidia-tesla-k80 for NVIDIA
|
||||
Tesla K80) of accelerator to attach to the instances. Use gcloud
|
||||
compute accelerator-types list to learn about all available
|
||||
accelerator types.
|
||||
(Required) The specific type (e.g. nvidia-tesla-t4 for NVIDIA T4)
|
||||
of accelerator to attach to the instances. Use gcloud compute
|
||||
accelerator-types list to learn about all available accelerator
|
||||
types.
|
||||
|
||||
count
|
||||
(Optional) The number of accelerators to attach to the instances.
|
||||
|
|
@ -620,6 +620,14 @@ FLAGS
|
|||
--enable-ray-cluster-monitoring
|
||||
Enable automatic metrics collection for Ray clusters.
|
||||
|
||||
--enable-secret-manager
|
||||
Enables the Secret Manager CSI driver provider component. See
|
||||
https://secrets-store-csi-driver.sigs.k8s.io/introduction
|
||||
https://github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp
|
||||
|
||||
To disable in an existing cluster, explicitly set flag to
|
||||
--no-enable-secret-manager
|
||||
|
||||
--enable-service-externalips
|
||||
Enables use of services with externalIPs field.
|
||||
|
||||
|
|
@ -1165,6 +1173,13 @@ FLAGS
|
|||
IP stack type of the node VMs. STACK_TYPE must be one of: ipv4,
|
||||
ipv4-ipv6.
|
||||
|
||||
--storage-pools=STORAGE_POOL,[...]
|
||||
A list of storage pools where the cluster's boot disks will be
|
||||
provisioned.
|
||||
|
||||
STORAGE_POOL must be in the format
|
||||
projects/project/zones/zone/storagePools/storagePool
|
||||
|
||||
--subnetwork=SUBNETWORK
|
||||
The Google Compute Engine subnetwork
|
||||
(https://cloud.google.com/compute/docs/subnetworks) to which the
|
||||
|
|
@ -1419,11 +1434,11 @@ FLAGS
|
|||
Resource limits are specified in the field 'resourceLimits'. Each
|
||||
resource limits definition contains three fields: resourceType,
|
||||
maximum and minimum. Resource type can be "cpu", "memory" or an
|
||||
accelerator (e.g. "nvidia-tesla-k80" for nVidia Tesla K80). Use
|
||||
gcloud compute accelerator-types list to learn about available
|
||||
accelerator types. Maximum is the maximum allowed amount with the
|
||||
unit of the resource. Minimum is the minimum allowed amount with
|
||||
the unit of the resource.
|
||||
accelerator (e.g. "nvidia-tesla-t4" for NVIDIA T4). Use gcloud
|
||||
compute accelerator-types list to learn about available accelerator
|
||||
types. Maximum is the maximum allowed amount with the unit of the
|
||||
resource. Minimum is the minimum allowed amount with the unit of
|
||||
the resource.
|
||||
|
||||
Identity default contains at most one of the below fields:
|
||||
serviceAccount: The Google Cloud Platform Service Account to be
|
||||
|
|
@ -1605,10 +1620,10 @@ FLAGS
|
|||
GPUs) in cluster.
|
||||
|
||||
type
|
||||
(Required) The specific type (e.g. nvidia-tesla-k80 for
|
||||
nVidia Tesla K80) of accelerator for which the limit is
|
||||
set. Use gcloud compute accelerator-types list to learn
|
||||
about all available accelerator types.
|
||||
(Required) The specific type (e.g. nvidia-tesla-t4 for
|
||||
NVIDIA T4) of accelerator for which the limit is set. Use
|
||||
gcloud compute accelerator-types list to learn about all
|
||||
available accelerator types.
|
||||
|
||||
count
|
||||
(Required) The maximum number of accelerators to which the
|
||||
|
|
@ -1623,10 +1638,10 @@ FLAGS
|
|||
isn't set.
|
||||
|
||||
type
|
||||
(Required) The specific type (e.g. nvidia-tesla-k80 for
|
||||
nVidia Tesla K80) of accelerator for which the limit is
|
||||
set. Use gcloud compute accelerator-types list to learn
|
||||
about all available accelerator types.
|
||||
(Required) The specific type (e.g. nvidia-tesla-t4 for
|
||||
NVIDIA T4) of accelerator for which the limit is set. Use
|
||||
gcloud compute accelerator-types list to learn about all
|
||||
available accelerator types.
|
||||
|
||||
count
|
||||
(Required) The minimum number of accelerators to which the
|
||||
|
|
|
|||
|
|
@ -20,13 +20,13 @@ SYNOPSIS
|
|||
[--enable-kubernetes-unstable-apis=API,[API,...]]
|
||||
[--enable-master-global-access] [--enable-ray-cluster-logging]
|
||||
[--enable-ray-cluster-monitoring] [--enable-ray-operator]
|
||||
[--fleet-project=PROJECT_ID_OR_NUMBER] [--labels=[KEY=VALUE,...]]
|
||||
[--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-secret-manager] [--fleet-project=PROJECT_ID_OR_NUMBER]
|
||||
[--labels=[KEY=VALUE,...]] [--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]
|
||||
[--dataplane-v2-observability-mode=DATAPLANE_V2_OBSERVABILITY_MODE
|
||||
| --disable-dataplane-v2-flow-observability
|
||||
|
|
@ -260,6 +260,14 @@ FLAGS
|
|||
--enable-ray-operator
|
||||
Enable the Ray Operator GKE add-on. This add-on is disabled by default.
|
||||
|
||||
--enable-secret-manager
|
||||
Enables the Secret Manager CSI driver provider component. See
|
||||
https://secrets-store-csi-driver.sigs.k8s.io/introduction
|
||||
https://github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp
|
||||
|
||||
To disable in an existing cluster, explicitly set flag to
|
||||
--no-enable-secret-manager
|
||||
|
||||
--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
|
||||
|
|
|
|||
|
|
@ -24,9 +24,9 @@ SYNOPSIS
|
|||
| --enable-master-authorized-networks | --enable-master-global-access
|
||||
| --enable-multi-networking | --enable-network-policy
|
||||
| --enable-private-endpoint | --[no-]enable-ray-cluster-logging
|
||||
| --[no-]enable-ray-cluster-monitoring | --enable-service-externalips
|
||||
| --enable-shielded-nodes | --enable-stackdriver-kubernetes
|
||||
| --enable-vertical-pod-autoscaling
|
||||
| --[no-]enable-ray-cluster-monitoring | --enable-secret-manager
|
||||
| --enable-service-externalips | --enable-shielded-nodes
|
||||
| --enable-stackdriver-kubernetes | --enable-vertical-pod-autoscaling
|
||||
| --fleet-project=PROJECT_ID_OR_NUMBER | --gateway-api=GATEWAY_API
|
||||
| --generate-password | --in-transit-encryption=IN_TRANSIT_ENCRYPTION
|
||||
| --logging-variant=LOGGING_VARIANT | --maintenance-window=START_TIME
|
||||
|
|
@ -388,6 +388,14 @@ REQUIRED FLAGS
|
|||
--enable-ray-cluster-monitoring to enable and
|
||||
--no-enable-ray-cluster-monitoring to disable.
|
||||
|
||||
--enable-secret-manager
|
||||
Enables the Secret Manager CSI driver provider component. See
|
||||
https://secrets-store-csi-driver.sigs.k8s.io/introduction
|
||||
https://github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp
|
||||
|
||||
To disable in an existing cluster, explicitly set flag to
|
||||
--no-enable-secret-manager
|
||||
|
||||
--enable-service-externalips
|
||||
Enables use of services with externalIPs field.
|
||||
|
||||
|
|
@ -1012,8 +1020,8 @@ REQUIRED FLAGS
|
|||
Resource limits are specified in the field 'resourceLimits'. Each
|
||||
resource limits definition contains three fields: resourceType,
|
||||
maximum and minimum. Resource type can be "cpu", "memory" or an
|
||||
accelerator (e.g. "nvidia-tesla-k80" for nVidia Tesla K80). Use
|
||||
gcloud compute accelerator-types list to learn about available
|
||||
accelerator (e.g. "nvidia-tesla-t4" for NVIDIA T4). Use gcloud
|
||||
compute accelerator-types list to learn about available
|
||||
accelerator types. Maximum is the maximum allowed amount with the
|
||||
unit of the resource. Minimum is the minimum allowed amount with
|
||||
the unit of the resource.
|
||||
|
|
@ -1194,10 +1202,10 @@ REQUIRED FLAGS
|
|||
GPUs) in cluster.
|
||||
|
||||
type
|
||||
(Required) The specific type (e.g. nvidia-tesla-k80 for
|
||||
nVidia Tesla K80) of accelerator for which the limit is
|
||||
set. Use gcloud compute accelerator-types list to learn
|
||||
about all available accelerator types.
|
||||
(Required) The specific type (e.g. nvidia-tesla-t4 for
|
||||
NVIDIA T4) of accelerator for which the limit is set. Use
|
||||
gcloud compute accelerator-types list to learn about all
|
||||
available accelerator types.
|
||||
|
||||
count
|
||||
(Required) The maximum number of accelerators to which
|
||||
|
|
@ -1212,10 +1220,10 @@ REQUIRED FLAGS
|
|||
it isn't set.
|
||||
|
||||
type
|
||||
(Required) The specific type (e.g. nvidia-tesla-k80 for
|
||||
nVidia Tesla K80) of accelerator for which the limit is
|
||||
set. Use gcloud compute accelerator-types list to learn
|
||||
about all available accelerator types.
|
||||
(Required) The specific type (e.g. nvidia-tesla-t4 for
|
||||
NVIDIA T4) of accelerator for which the limit is set. Use
|
||||
gcloud compute accelerator-types list to learn about all
|
||||
available accelerator types.
|
||||
|
||||
count
|
||||
(Required) The minimum number of accelerators to which
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ SYNOPSIS
|
|||
[--standard-rollout-policy=[batch-node-count=BATCH_NODE_COUNT,
|
||||
batch-percent=BATCH_NODE_PERCENTAGE,
|
||||
batch-soak-duration=BATCH_SOAK_DURATION,...]]
|
||||
[--storage-pools=STORAGE_POOL,[...]]
|
||||
[--system-config-from-file=PATH_TO_FILE] [--tags=TAG,[TAG,...]]
|
||||
[--threads-per-core=THREADS_PER_CORE] [--tpu-topology=TPU_TOPOLOGY]
|
||||
[--windows-os-version=WINDOWS_OS_VERSION]
|
||||
|
|
@ -96,10 +97,10 @@ FLAGS
|
|||
Attaches accelerators (e.g. GPUs) to all nodes.
|
||||
|
||||
type
|
||||
(Required) The specific type (e.g. nvidia-tesla-k80 for NVIDIA
|
||||
Tesla K80) of accelerator to attach to the instances. Use gcloud
|
||||
compute accelerator-types list to learn about all available
|
||||
accelerator types.
|
||||
(Required) The specific type (e.g. nvidia-tesla-t4 for NVIDIA T4)
|
||||
of accelerator to attach to the instances. Use gcloud compute
|
||||
accelerator-types list to learn about all available accelerator
|
||||
types.
|
||||
|
||||
count
|
||||
(Optional) The number of accelerators to attach to the instances.
|
||||
|
|
@ -646,6 +647,13 @@ FLAGS
|
|||
--standard-rollout-policy=batch-percent=0.3,\
|
||||
batch-soak-duration=60s
|
||||
|
||||
--storage-pools=STORAGE_POOL,[...]
|
||||
A list of storage pools where the node pool's boot disks will be
|
||||
provisioned.
|
||||
|
||||
STORAGE_POOL must be in the format
|
||||
projects/project/zones/zone/storagePools/storagePool
|
||||
|
||||
--system-config-from-file=PATH_TO_FILE
|
||||
Path of the YAML/JSON file that contains the node configuration,
|
||||
including Linux kernel parameters (sysctls) and kubelet configs.
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ SYNOPSIS
|
|||
| --node-labels=[NODE_LABEL,...] | --node-locations=ZONE,[ZONE,...]
|
||||
| --node-taints=[NODE_TAINT,...]
|
||||
| --resource-manager-tags=[KEY=VALUE,...]
|
||||
| --storage-pools=STORAGE_POOL,[...]
|
||||
| --system-config-from-file=PATH_TO_FILE | --tags=[TAG,...]
|
||||
| --windows-os-version=WINDOWS_OS_VERSION
|
||||
| --workload-metadata=WORKLOAD_METADATA | --disk-size=DISK_SIZE
|
||||
|
|
@ -203,6 +204,14 @@ REQUIRED FLAGS
|
|||
policy rules. For instructions, see
|
||||
https://cloud.google.com/firewall/docs/use-tags-for-firewalls.
|
||||
|
||||
--storage-pools=STORAGE_POOL,[...]
|
||||
A list of storage pools where the node pool's boot disks will be
|
||||
provisioned. Replaces all the current storage pools of an existing
|
||||
node pool, with the specified storage pools.
|
||||
|
||||
STORAGE_POOL must be in the format
|
||||
projects/project/zones/zone/storagePools/storagePool
|
||||
|
||||
--system-config-from-file=PATH_TO_FILE
|
||||
Path of the YAML/JSON file that contains the node configuration,
|
||||
including Linux kernel parameters (sysctls) and kubelet configs.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue