ionoscloud.DataplatformNodePool
Explore with Pulumi AI
Manages a Dataplatform Node Pool
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@pulumi/ionoscloud";
const exampleDatacenter = new ionoscloud.Datacenter("exampleDatacenter", {
location: "de/txl",
description: "Datacenter for testing Dataplatform Cluster",
});
const exampleDataplatformCluster = new ionoscloud.DataplatformCluster("exampleDataplatformCluster", {
datacenterId: exampleDatacenter.datacenterId,
maintenanceWindows: [{
dayOfTheWeek: "Sunday",
time: "09:00:00",
}],
version: "23.7",
});
const exampleDataplatformNodePool = new ionoscloud.DataplatformNodePool("exampleDataplatformNodePool", {
clusterId: exampleDataplatformCluster.dataplatformClusterId,
nodeCount: 1,
cpuFamily: "INTEL_SKYLAKE",
coresCount: 1,
ramSize: 2048,
availabilityZone: "AUTO",
storageType: "HDD",
storageSize: 10,
maintenanceWindows: [{
dayOfTheWeek: "Monday",
time: "09:00:00",
}],
labels: {
foo: "bar",
color: "green",
},
annotations: {
ann1: "value1",
ann2: "value2",
},
});
import pulumi
import pulumi_ionoscloud as ionoscloud
example_datacenter = ionoscloud.Datacenter("exampleDatacenter",
location="de/txl",
description="Datacenter for testing Dataplatform Cluster")
example_dataplatform_cluster = ionoscloud.DataplatformCluster("exampleDataplatformCluster",
datacenter_id=example_datacenter.datacenter_id,
maintenance_windows=[{
"day_of_the_week": "Sunday",
"time": "09:00:00",
}],
version="23.7")
example_dataplatform_node_pool = ionoscloud.DataplatformNodePool("exampleDataplatformNodePool",
cluster_id=example_dataplatform_cluster.dataplatform_cluster_id,
node_count=1,
cpu_family="INTEL_SKYLAKE",
cores_count=1,
ram_size=2048,
availability_zone="AUTO",
storage_type="HDD",
storage_size=10,
maintenance_windows=[{
"day_of_the_week": "Monday",
"time": "09:00:00",
}],
labels={
"foo": "bar",
"color": "green",
},
annotations={
"ann1": "value1",
"ann2": "value2",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ionoscloud/v6/ionoscloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleDatacenter, err := ionoscloud.NewDatacenter(ctx, "exampleDatacenter", &ionoscloud.DatacenterArgs{
Location: pulumi.String("de/txl"),
Description: pulumi.String("Datacenter for testing Dataplatform Cluster"),
})
if err != nil {
return err
}
exampleDataplatformCluster, err := ionoscloud.NewDataplatformCluster(ctx, "exampleDataplatformCluster", &ionoscloud.DataplatformClusterArgs{
DatacenterId: exampleDatacenter.DatacenterId,
MaintenanceWindows: ionoscloud.DataplatformClusterMaintenanceWindowArray{
&ionoscloud.DataplatformClusterMaintenanceWindowArgs{
DayOfTheWeek: pulumi.String("Sunday"),
Time: pulumi.String("09:00:00"),
},
},
Version: pulumi.String("23.7"),
})
if err != nil {
return err
}
_, err = ionoscloud.NewDataplatformNodePool(ctx, "exampleDataplatformNodePool", &ionoscloud.DataplatformNodePoolArgs{
ClusterId: exampleDataplatformCluster.DataplatformClusterId,
NodeCount: pulumi.Float64(1),
CpuFamily: pulumi.String("INTEL_SKYLAKE"),
CoresCount: pulumi.Float64(1),
RamSize: pulumi.Float64(2048),
AvailabilityZone: pulumi.String("AUTO"),
StorageType: pulumi.String("HDD"),
StorageSize: pulumi.Float64(10),
MaintenanceWindows: ionoscloud.DataplatformNodePoolMaintenanceWindowArray{
&ionoscloud.DataplatformNodePoolMaintenanceWindowArgs{
DayOfTheWeek: pulumi.String("Monday"),
Time: pulumi.String("09:00:00"),
},
},
Labels: pulumi.StringMap{
"foo": pulumi.String("bar"),
"color": pulumi.String("green"),
},
Annotations: pulumi.StringMap{
"ann1": pulumi.String("value1"),
"ann2": pulumi.String("value2"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ionoscloud = Pulumi.Ionoscloud;
return await Deployment.RunAsync(() =>
{
var exampleDatacenter = new Ionoscloud.Datacenter("exampleDatacenter", new()
{
Location = "de/txl",
Description = "Datacenter for testing Dataplatform Cluster",
});
var exampleDataplatformCluster = new Ionoscloud.DataplatformCluster("exampleDataplatformCluster", new()
{
DatacenterId = exampleDatacenter.DatacenterId,
MaintenanceWindows = new[]
{
new Ionoscloud.Inputs.DataplatformClusterMaintenanceWindowArgs
{
DayOfTheWeek = "Sunday",
Time = "09:00:00",
},
},
Version = "23.7",
});
var exampleDataplatformNodePool = new Ionoscloud.DataplatformNodePool("exampleDataplatformNodePool", new()
{
ClusterId = exampleDataplatformCluster.DataplatformClusterId,
NodeCount = 1,
CpuFamily = "INTEL_SKYLAKE",
CoresCount = 1,
RamSize = 2048,
AvailabilityZone = "AUTO",
StorageType = "HDD",
StorageSize = 10,
MaintenanceWindows = new[]
{
new Ionoscloud.Inputs.DataplatformNodePoolMaintenanceWindowArgs
{
DayOfTheWeek = "Monday",
Time = "09:00:00",
},
},
Labels =
{
{ "foo", "bar" },
{ "color", "green" },
},
Annotations =
{
{ "ann1", "value1" },
{ "ann2", "value2" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ionoscloud.Datacenter;
import com.pulumi.ionoscloud.DatacenterArgs;
import com.pulumi.ionoscloud.DataplatformCluster;
import com.pulumi.ionoscloud.DataplatformClusterArgs;
import com.pulumi.ionoscloud.inputs.DataplatformClusterMaintenanceWindowArgs;
import com.pulumi.ionoscloud.DataplatformNodePool;
import com.pulumi.ionoscloud.DataplatformNodePoolArgs;
import com.pulumi.ionoscloud.inputs.DataplatformNodePoolMaintenanceWindowArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleDatacenter = new Datacenter("exampleDatacenter", DatacenterArgs.builder()
.location("de/txl")
.description("Datacenter for testing Dataplatform Cluster")
.build());
var exampleDataplatformCluster = new DataplatformCluster("exampleDataplatformCluster", DataplatformClusterArgs.builder()
.datacenterId(exampleDatacenter.datacenterId())
.maintenanceWindows(DataplatformClusterMaintenanceWindowArgs.builder()
.dayOfTheWeek("Sunday")
.time("09:00:00")
.build())
.version("23.7")
.build());
var exampleDataplatformNodePool = new DataplatformNodePool("exampleDataplatformNodePool", DataplatformNodePoolArgs.builder()
.clusterId(exampleDataplatformCluster.dataplatformClusterId())
.nodeCount(1)
.cpuFamily("INTEL_SKYLAKE")
.coresCount(1)
.ramSize(2048)
.availabilityZone("AUTO")
.storageType("HDD")
.storageSize(10)
.maintenanceWindows(DataplatformNodePoolMaintenanceWindowArgs.builder()
.dayOfTheWeek("Monday")
.time("09:00:00")
.build())
.labels(Map.ofEntries(
Map.entry("foo", "bar"),
Map.entry("color", "green")
))
.annotations(Map.ofEntries(
Map.entry("ann1", "value1"),
Map.entry("ann2", "value2")
))
.build());
}
}
resources:
exampleDatacenter:
type: ionoscloud:Datacenter
properties:
location: de/txl
description: Datacenter for testing Dataplatform Cluster
exampleDataplatformCluster:
type: ionoscloud:DataplatformCluster
properties:
datacenterId: ${exampleDatacenter.datacenterId}
maintenanceWindows:
- dayOfTheWeek: Sunday
time: 09:00:00
version: '23.7'
exampleDataplatformNodePool:
type: ionoscloud:DataplatformNodePool
properties:
clusterId: ${exampleDataplatformCluster.dataplatformClusterId}
nodeCount: 1
cpuFamily: INTEL_SKYLAKE
coresCount: 1
ramSize: 2048
availabilityZone: AUTO
storageType: HDD
storageSize: 10
maintenanceWindows:
- dayOfTheWeek: Monday
time: 09:00:00
labels:
foo: bar
color: green
annotations:
ann1: value1
ann2: value2
Create DataplatformNodePool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DataplatformNodePool(name: string, args: DataplatformNodePoolArgs, opts?: CustomResourceOptions);
@overload
def DataplatformNodePool(resource_name: str,
args: DataplatformNodePoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DataplatformNodePool(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
node_count: Optional[float] = None,
dataplatform_node_pool_id: Optional[str] = None,
availability_zone: Optional[str] = None,
cores_count: Optional[float] = None,
cpu_family: Optional[str] = None,
annotations: Optional[Mapping[str, str]] = None,
labels: Optional[Mapping[str, str]] = None,
maintenance_windows: Optional[Sequence[DataplatformNodePoolMaintenanceWindowArgs]] = None,
name: Optional[str] = None,
auto_scaling: Optional[DataplatformNodePoolAutoScalingArgs] = None,
ram_size: Optional[float] = None,
storage_size: Optional[float] = None,
storage_type: Optional[str] = None,
timeouts: Optional[DataplatformNodePoolTimeoutsArgs] = None)
func NewDataplatformNodePool(ctx *Context, name string, args DataplatformNodePoolArgs, opts ...ResourceOption) (*DataplatformNodePool, error)
public DataplatformNodePool(string name, DataplatformNodePoolArgs args, CustomResourceOptions? opts = null)
public DataplatformNodePool(String name, DataplatformNodePoolArgs args)
public DataplatformNodePool(String name, DataplatformNodePoolArgs args, CustomResourceOptions options)
type: ionoscloud:DataplatformNodePool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DataplatformNodePoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DataplatformNodePoolArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DataplatformNodePoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DataplatformNodePoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DataplatformNodePoolArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var dataplatformNodePoolResource = new Ionoscloud.DataplatformNodePool("dataplatformNodePoolResource", new()
{
ClusterId = "string",
NodeCount = 0,
DataplatformNodePoolId = "string",
AvailabilityZone = "string",
CoresCount = 0,
CpuFamily = "string",
Annotations =
{
{ "string", "string" },
},
Labels =
{
{ "string", "string" },
},
MaintenanceWindows = new[]
{
new Ionoscloud.Inputs.DataplatformNodePoolMaintenanceWindowArgs
{
DayOfTheWeek = "string",
Time = "string",
},
},
Name = "string",
AutoScaling = new Ionoscloud.Inputs.DataplatformNodePoolAutoScalingArgs
{
MaxNodeCount = 0,
MinNodeCount = 0,
},
RamSize = 0,
StorageSize = 0,
StorageType = "string",
Timeouts = new Ionoscloud.Inputs.DataplatformNodePoolTimeoutsArgs
{
Create = "string",
Default = "string",
Delete = "string",
Update = "string",
},
});
example, err := ionoscloud.NewDataplatformNodePool(ctx, "dataplatformNodePoolResource", &ionoscloud.DataplatformNodePoolArgs{
ClusterId: pulumi.String("string"),
NodeCount: pulumi.Float64(0),
DataplatformNodePoolId: pulumi.String("string"),
AvailabilityZone: pulumi.String("string"),
CoresCount: pulumi.Float64(0),
CpuFamily: pulumi.String("string"),
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
MaintenanceWindows: ionoscloud.DataplatformNodePoolMaintenanceWindowArray{
&ionoscloud.DataplatformNodePoolMaintenanceWindowArgs{
DayOfTheWeek: pulumi.String("string"),
Time: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
AutoScaling: &ionoscloud.DataplatformNodePoolAutoScalingArgs{
MaxNodeCount: pulumi.Float64(0),
MinNodeCount: pulumi.Float64(0),
},
RamSize: pulumi.Float64(0),
StorageSize: pulumi.Float64(0),
StorageType: pulumi.String("string"),
Timeouts: &ionoscloud.DataplatformNodePoolTimeoutsArgs{
Create: pulumi.String("string"),
Default: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var dataplatformNodePoolResource = new DataplatformNodePool("dataplatformNodePoolResource", DataplatformNodePoolArgs.builder()
.clusterId("string")
.nodeCount(0)
.dataplatformNodePoolId("string")
.availabilityZone("string")
.coresCount(0)
.cpuFamily("string")
.annotations(Map.of("string", "string"))
.labels(Map.of("string", "string"))
.maintenanceWindows(DataplatformNodePoolMaintenanceWindowArgs.builder()
.dayOfTheWeek("string")
.time("string")
.build())
.name("string")
.autoScaling(DataplatformNodePoolAutoScalingArgs.builder()
.maxNodeCount(0)
.minNodeCount(0)
.build())
.ramSize(0)
.storageSize(0)
.storageType("string")
.timeouts(DataplatformNodePoolTimeoutsArgs.builder()
.create("string")
.default_("string")
.delete("string")
.update("string")
.build())
.build());
dataplatform_node_pool_resource = ionoscloud.DataplatformNodePool("dataplatformNodePoolResource",
cluster_id="string",
node_count=0,
dataplatform_node_pool_id="string",
availability_zone="string",
cores_count=0,
cpu_family="string",
annotations={
"string": "string",
},
labels={
"string": "string",
},
maintenance_windows=[{
"day_of_the_week": "string",
"time": "string",
}],
name="string",
auto_scaling={
"max_node_count": 0,
"min_node_count": 0,
},
ram_size=0,
storage_size=0,
storage_type="string",
timeouts={
"create": "string",
"default": "string",
"delete": "string",
"update": "string",
})
const dataplatformNodePoolResource = new ionoscloud.DataplatformNodePool("dataplatformNodePoolResource", {
clusterId: "string",
nodeCount: 0,
dataplatformNodePoolId: "string",
availabilityZone: "string",
coresCount: 0,
cpuFamily: "string",
annotations: {
string: "string",
},
labels: {
string: "string",
},
maintenanceWindows: [{
dayOfTheWeek: "string",
time: "string",
}],
name: "string",
autoScaling: {
maxNodeCount: 0,
minNodeCount: 0,
},
ramSize: 0,
storageSize: 0,
storageType: "string",
timeouts: {
create: "string",
"default": "string",
"delete": "string",
update: "string",
},
});
type: ionoscloud:DataplatformNodePool
properties:
annotations:
string: string
autoScaling:
maxNodeCount: 0
minNodeCount: 0
availabilityZone: string
clusterId: string
coresCount: 0
cpuFamily: string
dataplatformNodePoolId: string
labels:
string: string
maintenanceWindows:
- dayOfTheWeek: string
time: string
name: string
nodeCount: 0
ramSize: 0
storageSize: 0
storageType: string
timeouts:
create: string
default: string
delete: string
update: string
DataplatformNodePool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DataplatformNodePool resource accepts the following input properties:
- Cluster
Id string - [string] The UUID of an existing Dataplatform cluster.
- Node
Count double - [int] The number of nodes that make up the node pool. Must be set with a minimum value of 1.
- Annotations Dictionary<string, string>
- [map] Key-value pairs attached to node pool resource as Kubernetes annotations.
- Auto
Scaling DataplatformNode Pool Auto Scaling - [string] Whether the Node Pool should autoscale. For more details, please check the API documentation
- Availability
Zone string - [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
orZONE_2
. The default value isAUTO
. - Cores
Count double - [int] The number of CPU cores per node. Must be set with a minimum value of 1. The default value is
4
. - Cpu
Family string - [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 isAUTO
. - Dataplatform
Node stringPool Id - Labels Dictionary<string, string>
- [map] Key-value pairs attached to the node pool resource as Kubernetes labels.
- Maintenance
Windows List<DataplatformNode Pool Maintenance Window> - Starting time of a weekly 4 hour-long window, during which maintenance might occur in hh:mm:ss format
- Name string
- [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.
- Ram
Size double - [int] The RAM size for one node in MB. Must be set in multiples of
1024
MB, with a minimum size is of2048
MB. The default value is4096
. - Storage
Size double - [int] The size of the volume in GB. The size must be greater than
10
GB. The default value is20
. - Storage
Type string - [int] The type of hardware for the volume. Must be set with one of the values
HDD
orSSD
. The default value isSSD
. - Timeouts
Dataplatform
Node Pool Timeouts
- Cluster
Id string - [string] The UUID of an existing Dataplatform cluster.
- Node
Count float64 - [int] The number of nodes that make up the node pool. Must be set with a minimum value of 1.
- Annotations map[string]string
- [map] Key-value pairs attached to node pool resource as Kubernetes annotations.
- Auto
Scaling DataplatformNode Pool Auto Scaling Args - [string] Whether the Node Pool should autoscale. For more details, please check the API documentation
- Availability
Zone string - [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
orZONE_2
. The default value isAUTO
. - Cores
Count float64 - [int] The number of CPU cores per node. Must be set with a minimum value of 1. The default value is
4
. - Cpu
Family string - [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 isAUTO
. - Dataplatform
Node stringPool Id - Labels map[string]string
- [map] Key-value pairs attached to the node pool resource as Kubernetes labels.
- Maintenance
Windows []DataplatformNode Pool Maintenance Window Args - Starting time of a weekly 4 hour-long window, during which maintenance might occur in hh:mm:ss format
- Name string
- [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.
- Ram
Size float64 - [int] The RAM size for one node in MB. Must be set in multiples of
1024
MB, with a minimum size is of2048
MB. The default value is4096
. - Storage
Size float64 - [int] The size of the volume in GB. The size must be greater than
10
GB. The default value is20
. - Storage
Type string - [int] The type of hardware for the volume. Must be set with one of the values
HDD
orSSD
. The default value isSSD
. - Timeouts
Dataplatform
Node Pool Timeouts Args
- cluster
Id String - [string] The UUID of an existing Dataplatform cluster.
- node
Count Double - [int] The number of nodes that make up the node pool. Must be set with a minimum value of 1.
- annotations Map<String,String>
- [map] Key-value pairs attached to node pool resource as Kubernetes annotations.
- auto
Scaling DataplatformNode Pool Auto Scaling - [string] Whether the Node Pool should autoscale. For more details, please check the API documentation
- availability
Zone String - [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
orZONE_2
. The default value isAUTO
. - cores
Count Double - [int] The number of CPU cores per node. Must be set with a minimum value of 1. The default value is
4
. - cpu
Family String - [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 isAUTO
. - dataplatform
Node StringPool Id - labels Map<String,String>
- [map] Key-value pairs attached to the node pool resource as Kubernetes labels.
- maintenance
Windows List<DataplatformNode Pool Maintenance Window> - Starting time of a weekly 4 hour-long window, during which maintenance might occur in hh:mm:ss format
- name String
- [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.
- ram
Size Double - [int] The RAM size for one node in MB. Must be set in multiples of
1024
MB, with a minimum size is of2048
MB. The default value is4096
. - storage
Size Double - [int] The size of the volume in GB. The size must be greater than
10
GB. The default value is20
. - storage
Type String - [int] The type of hardware for the volume. Must be set with one of the values
HDD
orSSD
. The default value isSSD
. - timeouts
Dataplatform
Node Pool Timeouts
- cluster
Id string - [string] The UUID of an existing Dataplatform cluster.
- node
Count number - [int] The number of nodes that make up the node pool. Must be set with a minimum value of 1.
- annotations {[key: string]: string}
- [map] Key-value pairs attached to node pool resource as Kubernetes annotations.
- auto
Scaling DataplatformNode Pool Auto Scaling - [string] Whether the Node Pool should autoscale. For more details, please check the API documentation
- availability
Zone string - [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
orZONE_2
. The default value isAUTO
. - cores
Count number - [int] The number of CPU cores per node. Must be set with a minimum value of 1. The default value is
4
. - cpu
Family string - [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 isAUTO
. - dataplatform
Node stringPool Id - labels {[key: string]: string}
- [map] Key-value pairs attached to the node pool resource as Kubernetes labels.
- maintenance
Windows DataplatformNode Pool Maintenance Window[] - Starting time of a weekly 4 hour-long window, during which maintenance might occur in hh:mm:ss format
- name string
- [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.
- ram
Size number - [int] The RAM size for one node in MB. Must be set in multiples of
1024
MB, with a minimum size is of2048
MB. The default value is4096
. - storage
Size number - [int] The size of the volume in GB. The size must be greater than
10
GB. The default value is20
. - storage
Type string - [int] The type of hardware for the volume. Must be set with one of the values
HDD
orSSD
. The default value isSSD
. - timeouts
Dataplatform
Node Pool Timeouts
- cluster_
id str - [string] The UUID of an existing Dataplatform cluster.
- node_
count float - [int] The number of nodes that make up the node pool. Must be set with a minimum value of 1.
- annotations Mapping[str, str]
- [map] Key-value pairs attached to node pool resource as Kubernetes annotations.
- auto_
scaling DataplatformNode Pool Auto Scaling Args - [string] Whether the Node Pool should autoscale. For more details, please check the API documentation
- availability_
zone str - [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
orZONE_2
. The default value isAUTO
. - cores_
count float - [int] The number of CPU cores per node. Must be set with a minimum value of 1. The default value is
4
. - cpu_
family str - [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 isAUTO
. - dataplatform_
node_ strpool_ id - labels Mapping[str, str]
- [map] Key-value pairs attached to the node pool resource as Kubernetes labels.
- maintenance_
windows Sequence[DataplatformNode Pool Maintenance Window Args] - Starting time of a weekly 4 hour-long window, during which maintenance might occur in hh:mm:ss format
- name str
- [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.
- ram_
size float - [int] The RAM size for one node in MB. Must be set in multiples of
1024
MB, with a minimum size is of2048
MB. The default value is4096
. - storage_
size float - [int] The size of the volume in GB. The size must be greater than
10
GB. The default value is20
. - storage_
type str - [int] The type of hardware for the volume. Must be set with one of the values
HDD
orSSD
. The default value isSSD
. - timeouts
Dataplatform
Node Pool Timeouts Args
- cluster
Id String - [string] The UUID of an existing Dataplatform cluster.
- node
Count Number - [int] The number of nodes that make up the node pool. Must be set with a minimum value of 1.
- annotations Map<String>
- [map] Key-value pairs attached to node pool resource as Kubernetes annotations.
- auto
Scaling Property Map - [string] Whether the Node Pool should autoscale. For more details, please check the API documentation
- availability
Zone String - [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
orZONE_2
. The default value isAUTO
. - cores
Count Number - [int] The number of CPU cores per node. Must be set with a minimum value of 1. The default value is
4
. - cpu
Family String - [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 isAUTO
. - dataplatform
Node StringPool Id - labels Map<String>
- [map] Key-value pairs attached to the node pool resource as Kubernetes labels.
- maintenance
Windows List<Property Map> - Starting time of a weekly 4 hour-long window, during which maintenance might occur in hh:mm:ss format
- name String
- [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.
- ram
Size Number - [int] The RAM size for one node in MB. Must be set in multiples of
1024
MB, with a minimum size is of2048
MB. The default value is4096
. - storage
Size Number - [int] The size of the volume in GB. The size must be greater than
10
GB. The default value is20
. - storage
Type String - [int] The type of hardware for the volume. Must be set with one of the values
HDD
orSSD
. The default value isSSD
. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the DataplatformNodePool resource produces the following output properties:
- Datacenter
Id string - The UUID of the virtual data center (VDC) in which the nodepool is provisioned
- Id string
- The provider-assigned unique ID for this managed resource.
- Version string
- The version of the Data Platform.
- Datacenter
Id string - The UUID of the virtual data center (VDC) in which the nodepool is provisioned
- Id string
- The provider-assigned unique ID for this managed resource.
- Version string
- The version of the Data Platform.
- datacenter
Id String - The UUID of the virtual data center (VDC) in which the nodepool is provisioned
- id String
- The provider-assigned unique ID for this managed resource.
- version String
- The version of the Data Platform.
- datacenter
Id string - The UUID of the virtual data center (VDC) in which the nodepool is provisioned
- id string
- The provider-assigned unique ID for this managed resource.
- version string
- The version of the Data Platform.
- datacenter_
id str - The UUID of the virtual data center (VDC) in which the nodepool is provisioned
- id str
- The provider-assigned unique ID for this managed resource.
- version str
- The version of the Data Platform.
- datacenter
Id String - The UUID of the virtual data center (VDC) in which the nodepool is provisioned
- id String
- The provider-assigned unique ID for this managed resource.
- version String
- The version of the Data Platform.
Look up Existing DataplatformNodePool Resource
Get an existing DataplatformNodePool resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DataplatformNodePoolState, opts?: CustomResourceOptions): DataplatformNodePool
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
annotations: Optional[Mapping[str, str]] = None,
auto_scaling: Optional[DataplatformNodePoolAutoScalingArgs] = None,
availability_zone: Optional[str] = None,
cluster_id: Optional[str] = None,
cores_count: Optional[float] = None,
cpu_family: Optional[str] = None,
datacenter_id: Optional[str] = None,
dataplatform_node_pool_id: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
maintenance_windows: Optional[Sequence[DataplatformNodePoolMaintenanceWindowArgs]] = None,
name: Optional[str] = None,
node_count: Optional[float] = None,
ram_size: Optional[float] = None,
storage_size: Optional[float] = None,
storage_type: Optional[str] = None,
timeouts: Optional[DataplatformNodePoolTimeoutsArgs] = None,
version: Optional[str] = None) -> DataplatformNodePool
func GetDataplatformNodePool(ctx *Context, name string, id IDInput, state *DataplatformNodePoolState, opts ...ResourceOption) (*DataplatformNodePool, error)
public static DataplatformNodePool Get(string name, Input<string> id, DataplatformNodePoolState? state, CustomResourceOptions? opts = null)
public static DataplatformNodePool get(String name, Output<String> id, DataplatformNodePoolState state, CustomResourceOptions options)
resources: _: type: ionoscloud:DataplatformNodePool get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Annotations Dictionary<string, string>
- [map] Key-value pairs attached to node pool resource as Kubernetes annotations.
- Auto
Scaling DataplatformNode Pool Auto Scaling - [string] Whether the Node Pool should autoscale. For more details, please check the API documentation
- Availability
Zone string - [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
orZONE_2
. The default value isAUTO
. - Cluster
Id string - [string] The UUID of an existing Dataplatform cluster.
- Cores
Count double - [int] The number of CPU cores per node. Must be set with a minimum value of 1. The default value is
4
. - Cpu
Family string - [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 isAUTO
. - Datacenter
Id string - The UUID of the virtual data center (VDC) in which the nodepool is provisioned
- Dataplatform
Node stringPool Id - Labels Dictionary<string, string>
- [map] Key-value pairs attached to the node pool resource as Kubernetes labels.
- Maintenance
Windows List<DataplatformNode Pool Maintenance Window> - Starting time of a weekly 4 hour-long window, during which maintenance might occur in hh:mm:ss format
- Name string
- [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 double - [int] The number of nodes that make up the node pool. Must be set with a minimum value of 1.
- Ram
Size double - [int] The RAM size for one node in MB. Must be set in multiples of
1024
MB, with a minimum size is of2048
MB. The default value is4096
. - Storage
Size double - [int] The size of the volume in GB. The size must be greater than
10
GB. The default value is20
. - Storage
Type string - [int] The type of hardware for the volume. Must be set with one of the values
HDD
orSSD
. The default value isSSD
. - Timeouts
Dataplatform
Node Pool Timeouts - Version string
- The version of the Data Platform.
- Annotations map[string]string
- [map] Key-value pairs attached to node pool resource as Kubernetes annotations.
- Auto
Scaling DataplatformNode Pool Auto Scaling Args - [string] Whether the Node Pool should autoscale. For more details, please check the API documentation
- Availability
Zone string - [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
orZONE_2
. The default value isAUTO
. - Cluster
Id string - [string] The UUID of an existing Dataplatform cluster.
- Cores
Count float64 - [int] The number of CPU cores per node. Must be set with a minimum value of 1. The default value is
4
. - Cpu
Family string - [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 isAUTO
. - Datacenter
Id string - The UUID of the virtual data center (VDC) in which the nodepool is provisioned
- Dataplatform
Node stringPool Id - Labels map[string]string
- [map] Key-value pairs attached to the node pool resource as Kubernetes labels.
- Maintenance
Windows []DataplatformNode Pool Maintenance Window Args - Starting time of a weekly 4 hour-long window, during which maintenance might occur in hh:mm:ss format
- Name string
- [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 float64 - [int] The number of nodes that make up the node pool. Must be set with a minimum value of 1.
- Ram
Size float64 - [int] The RAM size for one node in MB. Must be set in multiples of
1024
MB, with a minimum size is of2048
MB. The default value is4096
. - Storage
Size float64 - [int] The size of the volume in GB. The size must be greater than
10
GB. The default value is20
. - Storage
Type string - [int] The type of hardware for the volume. Must be set with one of the values
HDD
orSSD
. The default value isSSD
. - Timeouts
Dataplatform
Node Pool Timeouts Args - Version string
- The version of the Data Platform.
- annotations Map<String,String>
- [map] Key-value pairs attached to node pool resource as Kubernetes annotations.
- auto
Scaling DataplatformNode Pool Auto Scaling - [string] Whether the Node Pool should autoscale. For more details, please check the API documentation
- availability
Zone String - [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
orZONE_2
. The default value isAUTO
. - cluster
Id String - [string] The UUID of an existing Dataplatform cluster.
- cores
Count Double - [int] The number of CPU cores per node. Must be set with a minimum value of 1. The default value is
4
. - cpu
Family String - [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 isAUTO
. - datacenter
Id String - The UUID of the virtual data center (VDC) in which the nodepool is provisioned
- dataplatform
Node StringPool Id - labels Map<String,String>
- [map] Key-value pairs attached to the node pool resource as Kubernetes labels.
- maintenance
Windows List<DataplatformNode Pool Maintenance Window> - Starting time of a weekly 4 hour-long window, during which maintenance might occur in hh:mm:ss format
- name String
- [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 Double - [int] The number of nodes that make up the node pool. Must be set with a minimum value of 1.
- ram
Size Double - [int] The RAM size for one node in MB. Must be set in multiples of
1024
MB, with a minimum size is of2048
MB. The default value is4096
. - storage
Size Double - [int] The size of the volume in GB. The size must be greater than
10
GB. The default value is20
. - storage
Type String - [int] The type of hardware for the volume. Must be set with one of the values
HDD
orSSD
. The default value isSSD
. - timeouts
Dataplatform
Node Pool Timeouts - version String
- The version of the Data Platform.
- annotations {[key: string]: string}
- [map] Key-value pairs attached to node pool resource as Kubernetes annotations.
- auto
Scaling DataplatformNode Pool Auto Scaling - [string] Whether the Node Pool should autoscale. For more details, please check the API documentation
- availability
Zone string - [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
orZONE_2
. The default value isAUTO
. - cluster
Id string - [string] The UUID of an existing Dataplatform cluster.
- cores
Count number - [int] The number of CPU cores per node. Must be set with a minimum value of 1. The default value is
4
. - cpu
Family string - [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 isAUTO
. - datacenter
Id string - The UUID of the virtual data center (VDC) in which the nodepool is provisioned
- dataplatform
Node stringPool Id - labels {[key: string]: string}
- [map] Key-value pairs attached to the node pool resource as Kubernetes labels.
- maintenance
Windows DataplatformNode Pool Maintenance Window[] - Starting time of a weekly 4 hour-long window, during which maintenance might occur in hh:mm:ss format
- name string
- [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 number - [int] The number of nodes that make up the node pool. Must be set with a minimum value of 1.
- ram
Size number - [int] The RAM size for one node in MB. Must be set in multiples of
1024
MB, with a minimum size is of2048
MB. The default value is4096
. - storage
Size number - [int] The size of the volume in GB. The size must be greater than
10
GB. The default value is20
. - storage
Type string - [int] The type of hardware for the volume. Must be set with one of the values
HDD
orSSD
. The default value isSSD
. - timeouts
Dataplatform
Node Pool Timeouts - version string
- The version of the Data Platform.
- annotations Mapping[str, str]
- [map] Key-value pairs attached to node pool resource as Kubernetes annotations.
- auto_
scaling DataplatformNode Pool Auto Scaling Args - [string] Whether the Node Pool should autoscale. For more details, please check the API documentation
- availability_
zone str - [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
orZONE_2
. The default value isAUTO
. - cluster_
id str - [string] The UUID of an existing Dataplatform cluster.
- cores_
count float - [int] The number of CPU cores per node. Must be set with a minimum value of 1. The default value is
4
. - cpu_
family str - [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 isAUTO
. - datacenter_
id str - The UUID of the virtual data center (VDC) in which the nodepool is provisioned
- dataplatform_
node_ strpool_ id - labels Mapping[str, str]
- [map] Key-value pairs attached to the node pool resource as Kubernetes labels.
- maintenance_
windows Sequence[DataplatformNode Pool Maintenance Window Args] - Starting time of a weekly 4 hour-long window, during which maintenance might occur in hh:mm:ss format
- name str
- [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 float - [int] The number of nodes that make up the node pool. Must be set with a minimum value of 1.
- ram_
size float - [int] The RAM size for one node in MB. Must be set in multiples of
1024
MB, with a minimum size is of2048
MB. The default value is4096
. - storage_
size float - [int] The size of the volume in GB. The size must be greater than
10
GB. The default value is20
. - storage_
type str - [int] The type of hardware for the volume. Must be set with one of the values
HDD
orSSD
. The default value isSSD
. - timeouts
Dataplatform
Node Pool Timeouts Args - version str
- The version of the Data Platform.
- annotations Map<String>
- [map] Key-value pairs attached to node pool resource as Kubernetes annotations.
- auto
Scaling Property Map - [string] Whether the Node Pool should autoscale. For more details, please check the API documentation
- availability
Zone String - [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
orZONE_2
. The default value isAUTO
. - cluster
Id String - [string] The UUID of an existing Dataplatform cluster.
- cores
Count Number - [int] The number of CPU cores per node. Must be set with a minimum value of 1. The default value is
4
. - cpu
Family String - [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 isAUTO
. - datacenter
Id String - The UUID of the virtual data center (VDC) in which the nodepool is provisioned
- dataplatform
Node StringPool Id - labels Map<String>
- [map] Key-value pairs attached to the node pool resource as Kubernetes labels.
- maintenance
Windows List<Property Map> - Starting time of a weekly 4 hour-long window, during which maintenance might occur in hh:mm:ss format
- name String
- [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 Number - [int] The number of nodes that make up the node pool. Must be set with a minimum value of 1.
- ram
Size Number - [int] The RAM size for one node in MB. Must be set in multiples of
1024
MB, with a minimum size is of2048
MB. The default value is4096
. - storage
Size Number - [int] The size of the volume in GB. The size must be greater than
10
GB. The default value is20
. - storage
Type String - [int] The type of hardware for the volume. Must be set with one of the values
HDD
orSSD
. The default value isSSD
. - timeouts Property Map
- version String
- The version of the Data Platform.
Supporting Types
DataplatformNodePoolAutoScaling, DataplatformNodePoolAutoScalingArgs
- Max
Node doubleCount - [int] The maximum number of worker nodes that the node pool can scale to. Should be greater than min_node_count
- Min
Node doubleCount - [int] The minimum number of worker nodes the node pool can scale down to. Should be less than max_node_count
- Max
Node float64Count - [int] The maximum number of worker nodes that the node pool can scale to. Should be greater than min_node_count
- Min
Node float64Count - [int] The minimum number of worker nodes the node pool can scale down to. Should be less than max_node_count
- max
Node DoubleCount - [int] The maximum number of worker nodes that the node pool can scale to. Should be greater than min_node_count
- min
Node DoubleCount - [int] The minimum number of worker nodes the node pool can scale down to. Should be less than max_node_count
- max
Node numberCount - [int] The maximum number of worker nodes that the node pool can scale to. Should be greater than min_node_count
- min
Node numberCount - [int] The minimum number of worker nodes the node pool can scale down to. Should be less than max_node_count
- max_
node_ floatcount - [int] The maximum number of worker nodes that the node pool can scale to. Should be greater than min_node_count
- min_
node_ floatcount - [int] The minimum number of worker nodes the node pool can scale down to. Should be less than max_node_count
- max
Node NumberCount - [int] The maximum number of worker nodes that the node pool can scale to. Should be greater than min_node_count
- min
Node NumberCount - [int] The minimum number of worker nodes the node pool can scale down to. Should be less than max_node_count
DataplatformNodePoolMaintenanceWindow, DataplatformNodePoolMaintenanceWindowArgs
- Day
Of stringThe Week - [string] Must be set with one the values
Monday
,Tuesday
,Wednesday
,Thursday
,Friday
,Saturday
orSunday
. - Time string
- [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 stringThe Week - [string] Must be set with one the values
Monday
,Tuesday
,Wednesday
,Thursday
,Friday
,Saturday
orSunday
. - Time string
- [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 StringThe Week - [string] Must be set with one the values
Monday
,Tuesday
,Wednesday
,Thursday
,Friday
,Saturday
orSunday
. - time String
- [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 stringThe Week - [string] Must be set with one the values
Monday
,Tuesday
,Wednesday
,Thursday
,Friday
,Saturday
orSunday
. - time string
- [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_ strthe_ week - [string] Must be set with one the values
Monday
,Tuesday
,Wednesday
,Thursday
,Friday
,Saturday
orSunday
. - time str
- [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 StringThe Week - [string] Must be set with one the values
Monday
,Tuesday
,Wednesday
,Thursday
,Friday
,Saturday
orSunday
. - time String
- [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.
DataplatformNodePoolTimeouts, DataplatformNodePoolTimeoutsArgs
Import
A Dataplatform Node Pool resource can be imported using its cluster’s UUID as well as its own UUID, e.g.:
$ pulumi import ionoscloud:index/dataplatformNodePool:DataplatformNodePool mynodepool dataplatform_cluster_uuid/dataplatform_nodepool_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ionoscloud ionos-cloud/terraform-provider-ionoscloud
- License
- Notes
- This Pulumi package is based on the
ionoscloud
Terraform Provider.