Update a Cluster Partition

clusters_patch_kubernetes_partitions(id, cluster_partition_id,
  instance_configs = NULL, name = NULL, labels = NULL)

Arguments

id

integer required. The ID of the cluster which this partition belongs to.

cluster_partition_id

integer required. The ID of this cluster partition.

instance_configs

array optional. An array containing the following fields:

  • instanceType string, An EC2 instance type. Possible values include t2.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m5.12xlarge, and p2.xlarge.

  • minInstances integer, The minimum number of instances of that type in this cluster.

  • maxInstances integer, The maximum number of instances of that type in this cluster.

name

string optional. The name of the cluster partition.

labels

array optional. Labels associated with this partition.

Value

A list containing the following elements:

clusterPartitionId

integer, The ID of this cluster partition.

name

string, The name of the cluster partition.

labels

array, Labels associated with this partition.

instanceConfigs

array, An array containing the following fields:

  • instanceConfigId integer, The ID of this InstanceConfig.

  • instanceType string, An EC2 instance type. Possible values include t2.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m5.12xlarge, and p2.xlarge.

  • minInstances integer, The minimum number of instances of that type in this cluster.

  • maxInstances integer, The maximum number of instances of that type in this cluster.

  • instanceMaxMemory integer, The amount of memory (RAM) available to a single instance of that type in megabytes.

  • instanceMaxCpu integer, The number of processor shares available to a single instance of that type in millicores.

  • instanceMaxDisk integer, The amount of disk available to a single instance of that type in gigabytes.

defaultInstanceConfigId

integer, The id of the InstanceConfig that is the default for this partition.