yc container cluster create
Create a Kubernetes cluster.
Command Usage
Syntax:
yc container cluster create <CLUSTER-NAME> [Flags...] [Global Flags...]
Flags
|
Flag |
Description |
|
|
Name of the Kubernetes cluster. |
|
|
New description for the Kubernetes cluster. |
|
|
Network id. |
|
|
Network name. |
|
|
List of Kubernetes cluster labels as key-value pairs. |
|
|
ID of the availability zone where the Kubernetes cluster zonal master resides. |
|
|
IPv4 range for the Kubernetes cluster pods in CIDR notation. |
|
|
IPv4 range for the Kubernetes cluster services in CIDR notation. |
|
|
IPv6 range for the Kubernetes cluster pods in CIDR notation. IPv6 only clusters aren't yet supported, specifying this flag is only valid as a part of a dual IPv4/IPv6 stack cluster creation |
|
|
IPv6 range for the Kubernetes cluster services in CIDR notation. IPv6 only clusters aren't yet supported, specifying this flag is only valid as a part of a dual IPv4/IPv6 stack cluster creation |
|
|
Create a dual IPv4/IPv6 stack cluster. Specifying this flag will attempt an automatic choice of both IPv4/IPv6 cluster and service CIDRs. |
|
|
Size of the masks that are assigned for each node in the cluster. |
|
|
Subnet id. |
|
|
Subnet name. |
|
|
Set when the Kubernetes cluster needs an external IPv4. |
|
|
Create highly available master for the cluster. Master will be distributed across 3 instances. Equal to --etcd-cluster-size=3 |
|
|
ID of the region where regional Kubernetes cluster resides |
|
|
List of regional master locations. Possible property names:
|
|
|
Number of master instances. Can be equal 1 or 3. |
|
|
Master and Node Groups release channel. Every release channel have it's own list of available versions and new revisions release policy.
|
|
|
Kubernetes master version. Default depends on release channel. See available in 'yc managed-kubernetes list-versions'. |
|
|
Enable network policy enforcement for the cluster. Calico network policy controller will be used. |
|
|
Service account to be used for provisioning Compute and VPC resources for the Kubernetes cluster. |
|
|
Service account to be used for provisioning Compute and VPC resources for the Kubernetes cluster. |
|
|
Service account to be used by the worker nodes of the Kubernetes cluster to access Container Registry or to push node logs and metrics. |
|
|
Service account to be used by the worker nodes of the Kubernetes cluster to access Container Registry or to push node logs and metrics. |
|
|
Sets auto upgrade maintenance policy. 'true' by default. |
|
|
Allow maintenance anytime. This is default maintenance window. |
|
|
Allow maintenance everyday specified days of week in the specified time window. Flag can be used multiple times, to define different time windows for different days of week. Examples:
Possible property names:
|
|
|
Allow maintenance on specified days of week in the specified time window. Flag can be used multiple times, to define different time windows for different days of week. Examples:
Possible property names:
|
|
|
KMS key for Kubernetes secrets encryption. |
|
|
KMS key for Kubernetes secrets encryption. |
|
|
Security group IDs to use for cluster. |
|
|
Configures the logging of Kubernetes master components' logs to Yandex Cloud Logging. Possible property names:
|
|
|
] |
|
|
Enable and configure master scale policy for cluster. Possible property names:
|
|
|
Enable Workload Identity Federation for cluster. |
|
|
Display information about the operation in progress, without waiting for the operation to complete. |
Global Flags
|
Flag |
Description |
|
|
Set the custom configuration file. |
|
|
Debug logging. |
|
|
Debug gRPC logging. Very verbose, used for debugging connection problems. |
|
|
Disable printing user intended output to stderr. |
|
|
Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. |
|
|
Set the ID of the cloud to use. |
|
|
Set the ID of the folder to use. |
|
|
Set the name of the folder to use (will be resolved to id). |
|
|
Set the Cloud API endpoint (host:port). |
|
|
Set the OAuth token to use. |
|
|
Set the ID of the service account to impersonate. |
|
|
Disable opening browser for authentication. |
|
|
Set the output format: text (default), yaml, json, json-rest. |
|
|
Query to select values from the response using jq syntax |
|
|
Display help for the command. |