Creates and manages Dataplatform Node Pool objects.
cluster_id
- (Required)[string] The UUID of an existing Dataplatform cluster.
name
- (Required)[string] The name of your node pool. Must be 63 characters or less and must be empty or begin and end with an alphanumeric character ([a-z0-9A-Z]). It can contain dashes (-), underscores (_), dots (.), and alphanumerics in-between.
node_count
- (Required)[int] The number of nodes that make up the node pool. Must be set with a minimum value of 1.
cpu_family
- (Optional)[string] A valid CPU family name or AUTO
if the platform shall choose the best fitting option. Available CPU architectures can be retrieved from the datacenter resource. The default value is AUTO
.
cores_count
- (Optional)[int] The number of CPU cores per node. Must be set with a minimum value of 1. The default value is 4
.
ram_size
- (Optional)[int] The RAM size for one node in MB. Must be set in multiples of 1024
MB, with a minimum size is of 2048
MB. The default value is 4096
.
availability_zone
- (Optional)[string] The availability zone of the virtual datacenter region where the node pool resources should be provisioned. Must be set with one of the values AUTO
, ZONE_1
or ZONE_2
. The default value is AUTO
.
storage_type
- (Optional)[int] The type of hardware for the volume. Must be set with one of the values HDD
or SSD
. The default value is SSD
.
storage_size
- (Optional)[int] The size of the volume in GB. The size must be greater than 10
GB. The default value is 20
.
maintenance_window
- (Optional) Starting time of a weekly 4 hour-long window, during which maintenance might occur in hh:mm:ss format
time
- (Required)[string] Time at which the maintenance should start. Must conform to the 'HH:MM:SS' 24-hour format. This pattern matches the "HH:MM:SS 24-hour format with leading 0" format. For more information take a look at this link.
day_of_the_week
- (Required)[string] Must be set with one the values Monday
, Tuesday
, Wednesday
, Thursday
, Friday
, Saturday
or Sunday
.
labels
- (Optional)[map] Key-value pairs attached to the node pool resource as Kubernetes labels.
annotations
- (Optional)[map] Key-value pairs attached to node pool resource as Kubernetes annotations.
auto_scaling
- (Optional)[string] Whether the Node Pool should autoscale. For more details, please check the API documentation
min_node_count
- (Optional)[int] The minimum number of worker nodes the node pool can scale down to. Should be less than max_node_count
max_node_count
- (Optional)[int] The maximum number of worker nodes that the node pool can scale to. Should be greater than min_node_count
A Dataplatform Node Pool resource can be imported using its cluster's UUID as well as its own UUID, e.g.: