yc container node-group create
Create a node group.
Command Usage
Syntax:
yc container node-group create <NODE-GROUP-NAME> [Flags...] [Global Flags...]
Flags
|
Flag |
Description |
|
|
Name of the node group. |
|
|
New description for the node group. |
|
|
List of node group labels as key-value pairs. |
|
|
ID of the Kubernetes cluster. |
|
|
Name of the Kubernetes cluster. |
|
|
Specifies platform for instances in the node group. |
|
|
Metadata for instances in the node group. |
|
|
Same as --metadata except that the value for the entry will be read from a local file. |
|
|
List of platform (not Kubernetes) labels for Compute Cloud instances in the node group as key-value pairs. |
|
|
Same as --template-labels except that the list of key-value pairs for the entry will be read from a local file. |
|
|
Set when node group needs external public IP. |
|
|
Specifies how much memory instances should have. |
|
|
Specifies how many CPU cores instances should have. |
|
|
Specifies baseline performance for a core in percent. |
|
|
Specifies how many GPUs instances should have. |
|
|
Specifies if created nodes will be preemptible. |
|
|
Specifies if created nodes will be part of the GPU cluster. |
|
|
Specifies GPU environment for created nodes. Values: 'runc-drivers-cuda', 'runc' |
|
|
Specifies boot disk type for instances, valid values: network-ssd|network-hdd |
|
|
Specifies boot disk size for instances. |
|
|
Specifies fixed scale policy size. |
|
|
Auto scale policy for Node Group. Possible property names:
|
|
|
List of node group locations. Possible property names:
|
|
|
Node Kubernetes components version. Default depends on Cluster release channel. See available in 'yc managed-kubernetes list-versions'. |
|
|
List of strings containing allowed unsafe sysctls for use on nodes. |
|
|
Kubernetes labels that are assigned to the nodes of the node group. |
|
|
Kubernetes taints that are applied to the nodes of the node group. |
|
|
Sets auto upgrade maintenance policy. 'true' by default. |
|
|
Sets auto repair 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:
|
|
|
Number of extra nodes to be created on each upgrade of the node group. |
|
|
Number of nodes that can be unavailable at the same time on each upgrade of the node group. |
|
|
Adds a network interface to the node group. Possible property names:
|
|
|
Placement policy group for the node group. Can be either name or ID. |
|
|
Type of a network acceleration for nodes. Values: 'standard', 'software-accelerated' |
|
|
Type of a container runtime for nodes. Values: 'docker', 'containerd' |
|
|
Name of the node. |
|
|
Container network settings for nodes. Possible property names:
|
|
|
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. |