mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-17 06:11:59 +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
|
|
@ -93,8 +93,10 @@ OPTIONAL FLAGS
|
|||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--instance-type=INSTANCE_TYPE
|
||||
AWS EC2 instance type for the node pool's nodes.
|
||||
Node pool instance configuration
|
||||
|
||||
--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.
|
||||
|
|
|
|||
|
|
@ -28,6 +28,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,...]
|
||||
| --binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE
|
||||
| --enable-binauthz | --clear-maintenance-window
|
||||
| --remove-maintenance-exclusion=NAME
|
||||
|
|
@ -43,8 +45,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,...]
|
||||
|
|
@ -61,8 +62,9 @@ SYNOPSIS
|
|||
--enable-autoprovisioning-autoupgrade
|
||||
[--max-accelerator=[type=TYPE,count=COUNT,...]
|
||||
: --min-accelerator=[type=TYPE,count=COUNT,...]]]
|
||||
| --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]
|
||||
|
|
@ -514,6 +516,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 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 container clusters update example-cluster \
|
||||
--remove-additional-pod-ipv4-ranges=range1,range2
|
||||
|
||||
Flags for Binary Authorization:
|
||||
|
||||
At most one of these can be specified:
|
||||
|
|
@ -692,14 +712,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
|
||||
|
|
@ -959,6 +971,14 @@ REQUIRED FLAGS
|
|||
$ gcloud container clusters update --monitoring=SYSTEM,API_SERVER
|
||||
$ gcloud 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
|
||||
|
|
|
|||
|
|
@ -3,7 +3,8 @@ NAME
|
|||
fleet
|
||||
|
||||
SYNOPSIS
|
||||
gcloud container fleet memberships register MEMBERSHIP_NAME
|
||||
gcloud container fleet memberships register
|
||||
(MEMBERSHIP_NAME : --location=LOCATION)
|
||||
(--gke-cluster=LOCATION/CLUSTER_NAME | --gke-uri=GKE_URI
|
||||
| [--context=CONTEXT : --kubeconfig=KUBECONFIG])
|
||||
[--install-connect-agent] [--internal-ip]
|
||||
|
|
@ -114,9 +115,35 @@ EXAMPLES
|
|||
--service-account-key-file=/tmp/keyfile.json
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
MEMBERSHIP_NAME
|
||||
The membership name that you choose to uniquely represents the cluster
|
||||
being registered on the fleet.
|
||||
Membership resource - The group of arguments defining a membership. The
|
||||
arguments in this group can be used to specify the attributes of this
|
||||
resource. (NOTE) Some attributes are not given arguments in this group but
|
||||
can be set in other ways. To set the project attribute:
|
||||
◆ provide the argument MEMBERSHIP_NAME on the command line with a fully
|
||||
specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
MEMBERSHIP_NAME
|
||||
ID of the membership or fully qualified identifier for the
|
||||
membership. To set the membership attribute:
|
||||
▸ provide the argument MEMBERSHIP_NAME on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
The location for the membership resource, e.g. us-central1. If not
|
||||
specified, defaults to global. Not supported for GKE clusters, whose
|
||||
membership location will be the location of the cluster.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument MEMBERSHIP_NAME on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ set the property gkehub/location.
|
||||
|
||||
REQUIRED FLAGS
|
||||
Cluster identifier.
|
||||
|
|
|
|||
|
|
@ -23,8 +23,12 @@ REQUIRED FLAGS
|
|||
At least one of these must be specified:
|
||||
|
||||
--control-plane=CONTROL_PLANE
|
||||
Control plane management to update to. CONTROL_PLANE must be one of:
|
||||
automatic, manual.
|
||||
(DEPRECATED) 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:
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@ NAME
|
|||
gcloud container hub memberships register - register a cluster with a fleet
|
||||
|
||||
SYNOPSIS
|
||||
gcloud container hub memberships register MEMBERSHIP_NAME
|
||||
gcloud container hub memberships register
|
||||
(MEMBERSHIP_NAME : --location=LOCATION)
|
||||
(--gke-cluster=LOCATION/CLUSTER_NAME | --gke-uri=GKE_URI
|
||||
| [--context=CONTEXT : --kubeconfig=KUBECONFIG])
|
||||
[--install-connect-agent] [--internal-ip]
|
||||
|
|
@ -113,9 +114,35 @@ EXAMPLES
|
|||
--service-account-key-file=/tmp/keyfile.json
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
MEMBERSHIP_NAME
|
||||
The membership name that you choose to uniquely represents the cluster
|
||||
being registered on the fleet.
|
||||
Membership resource - The group of arguments defining a membership. The
|
||||
arguments in this group can be used to specify the attributes of this
|
||||
resource. (NOTE) Some attributes are not given arguments in this group but
|
||||
can be set in other ways. To set the project attribute:
|
||||
◆ provide the argument MEMBERSHIP_NAME on the command line with a fully
|
||||
specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
MEMBERSHIP_NAME
|
||||
ID of the membership or fully qualified identifier for the
|
||||
membership. To set the membership attribute:
|
||||
▸ provide the argument MEMBERSHIP_NAME on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
The location for the membership resource, e.g. us-central1. If not
|
||||
specified, defaults to global. Not supported for GKE clusters, whose
|
||||
membership location will be the location of the cluster.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument MEMBERSHIP_NAME on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ set the property gkehub/location.
|
||||
|
||||
REQUIRED FLAGS
|
||||
Cluster identifier.
|
||||
|
|
|
|||
|
|
@ -23,8 +23,12 @@ REQUIRED FLAGS
|
|||
At least one of these must be specified:
|
||||
|
||||
--control-plane=CONTROL_PLANE
|
||||
Control plane management to update to. CONTROL_PLANE must be one of:
|
||||
automatic, manual.
|
||||
(DEPRECATED) 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