Learn R Programming

civis (version 3.1.0)

clusters_patch_kubernetes: Update a Kubernetes Cluster

Description

Update a Kubernetes Cluster

Usage

clusters_patch_kubernetes(id, raw_cluster_slug = NULL, is_nat_enabled = NULL)

Value

A list containing the following elements:

id

integer, The ID of this cluster.

organizationId

string, The id of this cluster's organization.

organizationName

string, The name of this cluster's organization.

organizationSlug

string, The slug of this cluster's organization.

rawClusterSlug

string, The slug of this cluster's raw configuration.

customPartitions

boolean, Whether this cluster has a custom partition configuration.

clusterPartitions

array, An array containing the following fields:

  • 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, The instances configured for this cluster partition.

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

isNatEnabled

boolean, Whether this cluster needs a NAT gateway or not.

hours

number, The number of hours used this month for this cluster.

Arguments

id

integer required. The ID of this cluster.

raw_cluster_slug

string optional. The slug of this cluster's raw configuration.

is_nat_enabled

boolean optional. Whether this cluster needs a NAT gateway or not.