Create a Kubernetes Cluster
clusters_post_kubernetes( organization_id = NULL, organization_slug = NULL, is_nat_enabled = NULL )
organization_id | string optional. The id of this cluster's organization. |
---|---|
organization_slug | string optional. The slug of this cluster's organization. |
is_nat_enabled | boolean optional. Whether this cluster needs a NAT gateway or not. |
A list containing the following elements:
integer, The ID of this cluster.
string, The id of this cluster's organization.
string, The name of this cluster's organization.
string, The slug of this cluster's organization.
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.
boolean, Whether this cluster needs a NAT gateway or not.
number, The number of hours used this month for this cluster