create-instance-groups

subtitle

Create instance groups

version

0.9.112

Description

Creates instance groups in a compute cluster.

Synopsis

  create-instance-groups
--cluster-crn <value>
--instance-groups <value>
--cluster-state-version <value>
[--skip-validation | --no-skip-validation]
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--cluster-crn (string)

Compute cluster CRN.

--instance-groups (array)

Instance groups to be created in the cluster.

Shorthand Syntax:

name=string,instanceCount=integer,autoscaling={maxInstance=integer,minInstance=integer,enabled=boolean},enableCfsQuota=boolean,instanceImage=string,instanceTier=string,kubeReservedCpu=integer,kubeReservedMemory=integer,kubeReservedStorage=integer,labels={KeyName1=string,KeyName2=string},rootVolume={size=integer},singleZone=boolean,systemReservedCpu=integer,systemReservedMemory=integer,systemReservedStorage=integer,taints={KeyName1=string,KeyName2=string},useAvailabilityZones=boolean,instanceTypes=string,string,accelerator={count=integer,type=string} ... (separate items with spaces)

JSON Syntax:

[
  {
    "name": "string",
    "instanceCount": integer,
    "autoscaling": {
      "maxInstance": integer,
      "minInstance": integer,
      "enabled": true|false
    },
    "enableCfsQuota": true|false,
    "instanceImage": "string",
    "instanceTier": "string",
    "kubeReservedCpu": integer,
    "kubeReservedMemory": integer,
    "kubeReservedStorage": integer,
    "labels": {"string": "string"
      ...},
    "rootVolume": {
      "size": integer
    },
    "singleZone": true|false,
    "systemReservedCpu": integer,
    "systemReservedMemory": integer,
    "systemReservedStorage": integer,
    "taints": {"string": "string"
      ...},
    "useAvailabilityZones": true|false,
    "instanceTypes": ["string", ...],
    "accelerator": {
      "count": integer,
      "type": "string"
    }
  }
  ...
]

--cluster-state-version (integer)

Cluster state version.

--skip-validation | --no-skip-validation (boolean)

Whether to skip validation.

--cli-input-json (string)

Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (boolean)

Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for --cli-input-json.

Output

clusterCrn -> (string)

Compute cluster CRN.

clusterStatus -> (object)

Cluster status structure.

message -> (string)

Message.

status -> (string)

Status.

uri -> (string)

Uniform resource identifier of cluster.

validationResponse -> (object)

Pre-flight validation check response structure.

result -> (string)

Validation result.

summary -> (object)

Validation summary structure.

passed -> (integer)

Total number of passed validations.

warning -> (integer)

Total number of validations that passed but have warnings associated with them.

failed -> (integer)

Total number of failed validations.

skipped -> (integer)

Total number of skipped validations.

total -> (integer)

Total number of validations.

message -> (string)

A message describing end result of the validations.

validations -> (array)

The list of detailed validation result.

item -> (object)

Validation result structure.

name -> (string)

Name.

description -> (string)

Description.

category -> (string)

Validation check categories such as COMMON, ENTITLEMENTS, CONTROL_PLANE, NETWORK, or DEPLOYMENT. New values may be added in the future.

status -> (string)

Validation check status such as PASSED, FAILED, or SKIPPED. New values may be added in the future.

message -> (string)

A short, human-readable message that describes the end result of the validation.

detailedMessage -> (string)

A supporting message which contains additional details, such as subnet names, instance types, etc.

duration -> (string)

Time taken to get the end result of the validation in a human-readable time format.

Form Factors

public