mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed Sep 27 12:05:40 UTC 2023
This commit is contained in:
parent
54eca12593
commit
6c60d7f07f
256 changed files with 8313 additions and 442 deletions
262
gcloud/container/bare-metal/admin-clusters/create
Normal file
262
gcloud/container/bare-metal/admin-clusters/create
Normal file
|
|
@ -0,0 +1,262 @@
|
|||
NAME
|
||||
gcloud container bare-metal admin-clusters create - create an Anthos on
|
||||
bare metal admin cluster
|
||||
|
||||
SYNOPSIS
|
||||
gcloud container bare-metal admin-clusters create
|
||||
(ADMIN_CLUSTER : --location=LOCATION) --version=VERSION
|
||||
(--control-plane-load-balancer-port=CONTROL_PLANE_LOAD_BALANCER_PORT
|
||||
--control-plane-vip=CONTROL_PLANE_VIP : --enable-manual-lb)
|
||||
((((--control-plane-node-configs=[labels=LABELS],[node-ip=NODE-IP]
|
||||
: --control-plane-node-labels=[KEY=VALUE,...]
|
||||
--control-plane-node-taints=[KEY=VALUE:EFFECT,...])))
|
||||
: --api-server-args=[KEY=VALUE,...])
|
||||
(--island-mode-pod-address-cidr-blocks=POD_ADDRESS,[POD_ADDRESS,...]
|
||||
--island-mode-service-address-cidr-blocks=SERVICE_ADDRESS,[...])
|
||||
((--lvp-node-mounts-config-path=LVP_NODE_MOUNTS_CONFIG_PATH
|
||||
--lvp-node-mounts-config-storage-class=LVP_NODE_MOUNTS_CONFIG_STORAGE_CLASS) ((--lvp-share-path=LVP_SHARE_PATH --lvp-share-storage-class=LVP_SHARE_STORAGE_CLASS) : --shared-path-pv-count=SHARED_PATH_PV_COUNT))
|
||||
[--admin-users=ADMIN_USERS] [--annotations=[KEY=VALUE,...]] [--async]
|
||||
[--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE]
|
||||
[--description=DESCRIPTION] [--enable-application-logs]
|
||||
[--login-user=LOGIN_USER]
|
||||
[--maintenance-address-cidr-blocks=[MAINTENANCE_ADDRESS_CIDR_BLOCKS,
|
||||
...]] [--max-pods-per-node=MAX_PODS_PER_NODE] [--validate-only]
|
||||
[--uri=URI : --no-proxy=[NO_PROXY,...]] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Create an Anthos on bare metal admin cluster.
|
||||
|
||||
EXAMPLES
|
||||
To create a cluster named my-cluster managed in location us-west1, run:
|
||||
|
||||
$ gcloud container bare-metal admin-clusters create my-cluster \
|
||||
--location=us-west1
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Admin cluster resource - admin cluster to create 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 admin_cluster 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.
|
||||
|
||||
ADMIN_CLUSTER
|
||||
ID of the admin_cluster or fully qualified identifier for the
|
||||
admin_cluster.
|
||||
|
||||
To set the admin_cluster attribute:
|
||||
▸ provide the argument admin_cluster on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
Google Cloud location for the admin_cluster.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument admin_cluster on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ set the property container_bare_metal/location.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--version=VERSION
|
||||
Anthos cluster on bare metal version for the admin cluster resource.
|
||||
|
||||
Anthos on bare metal admin cluster load balancer configuration.
|
||||
|
||||
This must be specified.
|
||||
|
||||
Control plane load balancer port configuration.
|
||||
|
||||
This must be specified.
|
||||
|
||||
--control-plane-load-balancer-port=CONTROL_PLANE_LOAD_BALANCER_PORT
|
||||
Control plane load balancer port configuration.
|
||||
|
||||
VIPs used by the load balancer.
|
||||
|
||||
This must be specified.
|
||||
|
||||
--control-plane-vip=CONTROL_PLANE_VIP
|
||||
VIP for the Kubernetes API of this cluster.
|
||||
|
||||
Manual load balancer configuration.
|
||||
|
||||
--enable-manual-lb
|
||||
ManualLB typed load balancers configuration.
|
||||
|
||||
Anthos on bare metal cluster control plane configuration.
|
||||
|
||||
At least one of these must be specified:
|
||||
|
||||
--api-server-args=[KEY=VALUE,...]
|
||||
API Server argument configuration.
|
||||
|
||||
Anthos on bare metal cluster control plane node pool configuration.
|
||||
|
||||
This must be specified.
|
||||
|
||||
Anthos on bare metal node pool configuration for control plane nodes.
|
||||
|
||||
This must be specified.
|
||||
|
||||
Anthos on bare metal node configuration for control plane nodes.
|
||||
|
||||
This must be specified.
|
||||
|
||||
Populate control plane node config.
|
||||
|
||||
Exactly one of these must be specified:
|
||||
|
||||
--control-plane-node-configs=[labels=LABELS],[node-ip=NODE-IP]
|
||||
Control plane node configuration.
|
||||
|
||||
--control-plane-node-labels=[KEY=VALUE,...]
|
||||
Labels assigned to nodes of a node pool.
|
||||
|
||||
--control-plane-node-taints=[KEY=VALUE:EFFECT,...]
|
||||
Node taint applied to every Kubernetes node in a node pool.
|
||||
|
||||
Populate one of the network configs.
|
||||
|
||||
This must be specified.
|
||||
|
||||
Island mode CIDR network configuration.
|
||||
|
||||
--island-mode-pod-address-cidr-blocks=POD_ADDRESS,[POD_ADDRESS,...]
|
||||
IPv4 address range for all pods in the cluster.
|
||||
|
||||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
|
||||
--island-mode-service-address-cidr-blocks=SERVICE_ADDRESS,[...]
|
||||
IPv4 address range for all services in the cluster.
|
||||
|
||||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
|
||||
Anthos on bare metal cluster storage configuration.
|
||||
|
||||
This must be specified.
|
||||
|
||||
LVP node mounts class and path used by the storage.
|
||||
|
||||
This must be specified.
|
||||
|
||||
--lvp-node-mounts-config-path=LVP_NODE_MOUNTS_CONFIG_PATH
|
||||
Path for the LVP node mounts class.
|
||||
|
||||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
|
||||
--lvp-node-mounts-config-storage-class=LVP_NODE_MOUNTS_CONFIG_STORAGE_CLASS
|
||||
Storage class for LVP node mounts.
|
||||
|
||||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
|
||||
LVP share configuration.
|
||||
|
||||
At least one of these must be specified:
|
||||
|
||||
--shared-path-pv-count=SHARED_PATH_PV_COUNT
|
||||
Number of subdirectories to create under path.
|
||||
|
||||
LVP share class and path used by the storage.
|
||||
|
||||
This must be specified.
|
||||
|
||||
--lvp-share-path=LVP_SHARE_PATH
|
||||
Path for the LVP share class.
|
||||
|
||||
This flag argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--lvp-share-storage-class=LVP_SHARE_STORAGE_CLASS
|
||||
Storage class for LVP share.
|
||||
|
||||
This flag argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
Anthos on bare metal admin cluster security configuration.
|
||||
|
||||
Admin cluster authorization configurations
|
||||
|
||||
--admin-users=ADMIN_USERS
|
||||
Users that will be granted the view role on the admin cluster,
|
||||
providing view only access to the cluster.
|
||||
|
||||
--annotations=[KEY=VALUE,...]
|
||||
Annotations on the Anthos on bare metal resource.
|
||||
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE
|
||||
Set Binary Authorization evaluation mode for this cluster.
|
||||
BINAUTHZ_EVALUATION_MODE must be one of: DISABLED,
|
||||
PROJECT_SINGLETON_POLICY_ENFORCE.
|
||||
|
||||
--description=DESCRIPTION
|
||||
Description for the resource.
|
||||
|
||||
Anthos on bare metal cluster operations configuration.
|
||||
|
||||
--enable-application-logs
|
||||
Whether collection of application logs/metrics should be enabled (in
|
||||
addition to system logs/metrics).
|
||||
|
||||
Anthos on bare metal node access related settings for the admin cluster.
|
||||
|
||||
--login-user=LOGIN_USER
|
||||
User name used to access node machines.
|
||||
|
||||
Anthos on bare metal cluster maintenance configuration.
|
||||
|
||||
--maintenance-address-cidr-blocks=[MAINTENANCE_ADDRESS_CIDR_BLOCKS,...]
|
||||
IPv4 addresses to be placed into maintenance mode.
|
||||
|
||||
Anthos on bare metal admin cluster workload node configuration.
|
||||
|
||||
--max-pods-per-node=MAX_PODS_PER_NODE
|
||||
Maximum number of pods a node can run.
|
||||
|
||||
--validate-only
|
||||
If set, only validate the request, but do not actually perform the
|
||||
operation.
|
||||
|
||||
Anthos on bare metal cluster proxy configuration.
|
||||
|
||||
--uri=URI
|
||||
Address of the proxy server.
|
||||
|
||||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--no-proxy=[NO_PROXY,...]
|
||||
List of IPs, hostnames, and domains that should skip the proxy.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha container bare-metal admin-clusters create
|
||||
|
||||
$ gcloud beta container bare-metal admin-clusters create
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue