Data Platform Node Pool
Creates and manages Dataplatform Node Pool objects.
Example Usage
Argument reference
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 orAUTO
if the platform shall choose the best fitting option. Available CPU architectures can be retrieved from the datacenter resource. The default value isAUTO
.cores_count
- (Optional)[int] The number of CPU cores per node. Must be set with a minimum value of 1. The default value is4
.ram_size
- (Optional)[int] The RAM size for one node in MB. Must be set in multiples of1024
MB, with a minimum size is of2048
MB. The default value is4096
.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 valuesAUTO
,ZONE_1
orZONE_2
. The default value isAUTO
.storage_type
- (Optional)[int] The type of hardware for the volume. Must be set with one of the valuesHDD
orSSD
. The default value isSSD
.storage_size
- (Optional)[int] The size of the volume in GB. The size must be greater than10
GB. The default value is20
.maintenance_window
- (Optional)[string] Starting time of a weekly 4 hour-long window, during which maintenance might occur in hh:mm:ss formattime
- (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 valuesMonday
,Tuesday
,Wednesday
,Thursday
,Friday
,Saturday
orSunday
.
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.
Import
A Dataplatform Node Pool resource can be imported using its cluster's UUID as well as its own UUID, e.g.:
Last updated