exoscale.SksNodepool
Explore with Pulumi AI
Manage Exoscale Scalable Kubernetes Service (SKS) Node Pools.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as exoscale from "@pulumiverse/exoscale";
const mySksCluster = new exoscale.SksCluster("mySksCluster", {zone: "ch-gva-2"});
const mySksNodepool = new exoscale.SksNodepool("mySksNodepool", {
clusterId: mySksCluster.id,
zone: mySksCluster.zone,
instanceType: "standard.medium",
size: 3,
});
import pulumi
import pulumiverse_exoscale as exoscale
my_sks_cluster = exoscale.SksCluster("mySksCluster", zone="ch-gva-2")
my_sks_nodepool = exoscale.SksNodepool("mySksNodepool",
cluster_id=my_sks_cluster.id,
zone=my_sks_cluster.zone,
instance_type="standard.medium",
size=3)
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-exoscale/sdk/go/exoscale"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
mySksCluster, err := exoscale.NewSksCluster(ctx, "mySksCluster", &exoscale.SksClusterArgs{
Zone: pulumi.String("ch-gva-2"),
})
if err != nil {
return err
}
_, err = exoscale.NewSksNodepool(ctx, "mySksNodepool", &exoscale.SksNodepoolArgs{
ClusterId: mySksCluster.ID(),
Zone: mySksCluster.Zone,
InstanceType: pulumi.String("standard.medium"),
Size: pulumi.Int(3),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Exoscale = Pulumiverse.Exoscale;
return await Deployment.RunAsync(() =>
{
var mySksCluster = new Exoscale.SksCluster("mySksCluster", new()
{
Zone = "ch-gva-2",
});
var mySksNodepool = new Exoscale.SksNodepool("mySksNodepool", new()
{
ClusterId = mySksCluster.Id,
Zone = mySksCluster.Zone,
InstanceType = "standard.medium",
Size = 3,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.exoscale.SksCluster;
import com.pulumi.exoscale.SksClusterArgs;
import com.pulumi.exoscale.SksNodepool;
import com.pulumi.exoscale.SksNodepoolArgs;
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 mySksCluster = new SksCluster("mySksCluster", SksClusterArgs.builder()
.zone("ch-gva-2")
.build());
var mySksNodepool = new SksNodepool("mySksNodepool", SksNodepoolArgs.builder()
.clusterId(mySksCluster.id())
.zone(mySksCluster.zone())
.instanceType("standard.medium")
.size(3)
.build());
}
}
resources:
mySksCluster:
type: exoscale:SksCluster
properties:
zone: ch-gva-2
mySksNodepool:
type: exoscale:SksNodepool
properties:
clusterId: ${mySksCluster.id}
zone: ${mySksCluster.zone}
instanceType: standard.medium
size: 3
Please refer to the examples directory for complete configuration examples.
Create SksNodepool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SksNodepool(name: string, args: SksNodepoolArgs, opts?: CustomResourceOptions);
@overload
def SksNodepool(resource_name: str,
args: SksNodepoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SksNodepool(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_type: Optional[str] = None,
cluster_id: Optional[str] = None,
zone: Optional[str] = None,
size: Optional[int] = None,
disk_size: Optional[int] = None,
instance_prefix: Optional[str] = None,
anti_affinity_group_ids: Optional[Sequence[str]] = None,
kubelet_image_gcs: Optional[Sequence[SksNodepoolKubeletImageGcArgs]] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
private_network_ids: Optional[Sequence[str]] = None,
security_group_ids: Optional[Sequence[str]] = None,
description: Optional[str] = None,
storage_lvm: Optional[bool] = None,
taints: Optional[Mapping[str, str]] = None,
deploy_target_id: Optional[str] = None)
func NewSksNodepool(ctx *Context, name string, args SksNodepoolArgs, opts ...ResourceOption) (*SksNodepool, error)
public SksNodepool(string name, SksNodepoolArgs args, CustomResourceOptions? opts = null)
public SksNodepool(String name, SksNodepoolArgs args)
public SksNodepool(String name, SksNodepoolArgs args, CustomResourceOptions options)
type: exoscale:SksNodepool
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 SksNodepoolArgs
- 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 SksNodepoolArgs
- 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 SksNodepoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SksNodepoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SksNodepoolArgs
- 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 sksNodepoolResource = new Exoscale.SksNodepool("sksNodepoolResource", new()
{
InstanceType = "string",
ClusterId = "string",
Zone = "string",
Size = 0,
DiskSize = 0,
InstancePrefix = "string",
AntiAffinityGroupIds = new[]
{
"string",
},
KubeletImageGcs = new[]
{
new Exoscale.Inputs.SksNodepoolKubeletImageGcArgs
{
HighThreshold = 0,
LowThreshold = 0,
MinAge = "string",
},
},
Labels =
{
{ "string", "string" },
},
Name = "string",
PrivateNetworkIds = new[]
{
"string",
},
SecurityGroupIds = new[]
{
"string",
},
Description = "string",
StorageLvm = false,
Taints =
{
{ "string", "string" },
},
DeployTargetId = "string",
});
example, err := exoscale.NewSksNodepool(ctx, "sksNodepoolResource", &exoscale.SksNodepoolArgs{
InstanceType: pulumi.String("string"),
ClusterId: pulumi.String("string"),
Zone: pulumi.String("string"),
Size: pulumi.Int(0),
DiskSize: pulumi.Int(0),
InstancePrefix: pulumi.String("string"),
AntiAffinityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
KubeletImageGcs: exoscale.SksNodepoolKubeletImageGcArray{
&exoscale.SksNodepoolKubeletImageGcArgs{
HighThreshold: pulumi.Int(0),
LowThreshold: pulumi.Int(0),
MinAge: pulumi.String("string"),
},
},
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
PrivateNetworkIds: pulumi.StringArray{
pulumi.String("string"),
},
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
StorageLvm: pulumi.Bool(false),
Taints: pulumi.StringMap{
"string": pulumi.String("string"),
},
DeployTargetId: pulumi.String("string"),
})
var sksNodepoolResource = new SksNodepool("sksNodepoolResource", SksNodepoolArgs.builder()
.instanceType("string")
.clusterId("string")
.zone("string")
.size(0)
.diskSize(0)
.instancePrefix("string")
.antiAffinityGroupIds("string")
.kubeletImageGcs(SksNodepoolKubeletImageGcArgs.builder()
.highThreshold(0)
.lowThreshold(0)
.minAge("string")
.build())
.labels(Map.of("string", "string"))
.name("string")
.privateNetworkIds("string")
.securityGroupIds("string")
.description("string")
.storageLvm(false)
.taints(Map.of("string", "string"))
.deployTargetId("string")
.build());
sks_nodepool_resource = exoscale.SksNodepool("sksNodepoolResource",
instance_type="string",
cluster_id="string",
zone="string",
size=0,
disk_size=0,
instance_prefix="string",
anti_affinity_group_ids=["string"],
kubelet_image_gcs=[exoscale.SksNodepoolKubeletImageGcArgs(
high_threshold=0,
low_threshold=0,
min_age="string",
)],
labels={
"string": "string",
},
name="string",
private_network_ids=["string"],
security_group_ids=["string"],
description="string",
storage_lvm=False,
taints={
"string": "string",
},
deploy_target_id="string")
const sksNodepoolResource = new exoscale.SksNodepool("sksNodepoolResource", {
instanceType: "string",
clusterId: "string",
zone: "string",
size: 0,
diskSize: 0,
instancePrefix: "string",
antiAffinityGroupIds: ["string"],
kubeletImageGcs: [{
highThreshold: 0,
lowThreshold: 0,
minAge: "string",
}],
labels: {
string: "string",
},
name: "string",
privateNetworkIds: ["string"],
securityGroupIds: ["string"],
description: "string",
storageLvm: false,
taints: {
string: "string",
},
deployTargetId: "string",
});
type: exoscale:SksNodepool
properties:
antiAffinityGroupIds:
- string
clusterId: string
deployTargetId: string
description: string
diskSize: 0
instancePrefix: string
instanceType: string
kubeletImageGcs:
- highThreshold: 0
lowThreshold: 0
minAge: string
labels:
string: string
name: string
privateNetworkIds:
- string
securityGroupIds:
- string
size: 0
storageLvm: false
taints:
string: string
zone: string
SksNodepool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The SksNodepool resource accepts the following input properties:
- Cluster
Id string - ❗ The parent exoscaleskscluster ID.
- Instance
Type string - The managed compute instances type (
<family>.<size>
, e.g.standard.medium
; use the Exoscale CLI -exo compute instance-type list
- for the list of available types). - Size int
- Zone string
- ❗ The Exoscale Zone name.
- Anti
Affinity List<string>Group Ids - A list of exoscaleantiaffinity_group (IDs) to be attached to the managed instances.
- Deploy
Target stringId - A deploy target ID.
- Description string
- A free-form text describing the pool.
- Disk
Size int - The managed instances disk size (GiB; default:
50
). - Instance
Prefix string - The string used to prefix the managed instances name (default
pool
). - Kubelet
Image List<Pulumiverse.Gcs Exoscale. Inputs. Sks Nodepool Kubelet Image Gc> - Configuration for this nodepool's kubelet image garbage collector
- Labels Dictionary<string, string>
- A map of key/value labels.
- Name string
- The SKS node pool name.
- Private
Network List<string>Ids - A list of exoscaleprivatenetwork (IDs) to be attached to the managed instances.
- Security
Group List<string>Ids - A list of exoscalesecuritygroup (IDs) to be attached to the managed instances.
- Storage
Lvm bool - Create nodes with non-standard partitioning for persistent storage (requires min 100G of disk space) (may only be set at creation time).
- Taints Dictionary<string, string>
- A map of key/value Kubernetes taints ('taints = { \n\n = "\n\n:\n\n" }').
- Cluster
Id string - ❗ The parent exoscaleskscluster ID.
- Instance
Type string - The managed compute instances type (
<family>.<size>
, e.g.standard.medium
; use the Exoscale CLI -exo compute instance-type list
- for the list of available types). - Size int
- Zone string
- ❗ The Exoscale Zone name.
- Anti
Affinity []stringGroup Ids - A list of exoscaleantiaffinity_group (IDs) to be attached to the managed instances.
- Deploy
Target stringId - A deploy target ID.
- Description string
- A free-form text describing the pool.
- Disk
Size int - The managed instances disk size (GiB; default:
50
). - Instance
Prefix string - The string used to prefix the managed instances name (default
pool
). - Kubelet
Image []SksGcs Nodepool Kubelet Image Gc Args - Configuration for this nodepool's kubelet image garbage collector
- Labels map[string]string
- A map of key/value labels.
- Name string
- The SKS node pool name.
- Private
Network []stringIds - A list of exoscaleprivatenetwork (IDs) to be attached to the managed instances.
- Security
Group []stringIds - A list of exoscalesecuritygroup (IDs) to be attached to the managed instances.
- Storage
Lvm bool - Create nodes with non-standard partitioning for persistent storage (requires min 100G of disk space) (may only be set at creation time).
- Taints map[string]string
- A map of key/value Kubernetes taints ('taints = { \n\n = "\n\n:\n\n" }').
- cluster
Id String - ❗ The parent exoscaleskscluster ID.
- instance
Type String - The managed compute instances type (
<family>.<size>
, e.g.standard.medium
; use the Exoscale CLI -exo compute instance-type list
- for the list of available types). - size Integer
- zone String
- ❗ The Exoscale Zone name.
- anti
Affinity List<String>Group Ids - A list of exoscaleantiaffinity_group (IDs) to be attached to the managed instances.
- deploy
Target StringId - A deploy target ID.
- description String
- A free-form text describing the pool.
- disk
Size Integer - The managed instances disk size (GiB; default:
50
). - instance
Prefix String - The string used to prefix the managed instances name (default
pool
). - kubelet
Image List<SksGcs Nodepool Kubelet Image Gc> - Configuration for this nodepool's kubelet image garbage collector
- labels Map<String,String>
- A map of key/value labels.
- name String
- The SKS node pool name.
- private
Network List<String>Ids - A list of exoscaleprivatenetwork (IDs) to be attached to the managed instances.
- security
Group List<String>Ids - A list of exoscalesecuritygroup (IDs) to be attached to the managed instances.
- storage
Lvm Boolean - Create nodes with non-standard partitioning for persistent storage (requires min 100G of disk space) (may only be set at creation time).
- taints Map<String,String>
- A map of key/value Kubernetes taints ('taints = { \n\n = "\n\n:\n\n" }').
- cluster
Id string - ❗ The parent exoscaleskscluster ID.
- instance
Type string - The managed compute instances type (
<family>.<size>
, e.g.standard.medium
; use the Exoscale CLI -exo compute instance-type list
- for the list of available types). - size number
- zone string
- ❗ The Exoscale Zone name.
- anti
Affinity string[]Group Ids - A list of exoscaleantiaffinity_group (IDs) to be attached to the managed instances.
- deploy
Target stringId - A deploy target ID.
- description string
- A free-form text describing the pool.
- disk
Size number - The managed instances disk size (GiB; default:
50
). - instance
Prefix string - The string used to prefix the managed instances name (default
pool
). - kubelet
Image SksGcs Nodepool Kubelet Image Gc[] - Configuration for this nodepool's kubelet image garbage collector
- labels {[key: string]: string}
- A map of key/value labels.
- name string
- The SKS node pool name.
- private
Network string[]Ids - A list of exoscaleprivatenetwork (IDs) to be attached to the managed instances.
- security
Group string[]Ids - A list of exoscalesecuritygroup (IDs) to be attached to the managed instances.
- storage
Lvm boolean - Create nodes with non-standard partitioning for persistent storage (requires min 100G of disk space) (may only be set at creation time).
- taints {[key: string]: string}
- A map of key/value Kubernetes taints ('taints = { \n\n = "\n\n:\n\n" }').
- cluster_
id str - ❗ The parent exoscaleskscluster ID.
- instance_
type str - The managed compute instances type (
<family>.<size>
, e.g.standard.medium
; use the Exoscale CLI -exo compute instance-type list
- for the list of available types). - size int
- zone str
- ❗ The Exoscale Zone name.
- anti_
affinity_ Sequence[str]group_ ids - A list of exoscaleantiaffinity_group (IDs) to be attached to the managed instances.
- deploy_
target_ strid - A deploy target ID.
- description str
- A free-form text describing the pool.
- disk_
size int - The managed instances disk size (GiB; default:
50
). - instance_
prefix str - The string used to prefix the managed instances name (default
pool
). - kubelet_
image_ Sequence[Sksgcs Nodepool Kubelet Image Gc Args] - Configuration for this nodepool's kubelet image garbage collector
- labels Mapping[str, str]
- A map of key/value labels.
- name str
- The SKS node pool name.
- private_
network_ Sequence[str]ids - A list of exoscaleprivatenetwork (IDs) to be attached to the managed instances.
- security_
group_ Sequence[str]ids - A list of exoscalesecuritygroup (IDs) to be attached to the managed instances.
- storage_
lvm bool - Create nodes with non-standard partitioning for persistent storage (requires min 100G of disk space) (may only be set at creation time).
- taints Mapping[str, str]
- A map of key/value Kubernetes taints ('taints = { \n\n = "\n\n:\n\n" }').
- cluster
Id String - ❗ The parent exoscaleskscluster ID.
- instance
Type String - The managed compute instances type (
<family>.<size>
, e.g.standard.medium
; use the Exoscale CLI -exo compute instance-type list
- for the list of available types). - size Number
- zone String
- ❗ The Exoscale Zone name.
- anti
Affinity List<String>Group Ids - A list of exoscaleantiaffinity_group (IDs) to be attached to the managed instances.
- deploy
Target StringId - A deploy target ID.
- description String
- A free-form text describing the pool.
- disk
Size Number - The managed instances disk size (GiB; default:
50
). - instance
Prefix String - The string used to prefix the managed instances name (default
pool
). - kubelet
Image List<Property Map>Gcs - Configuration for this nodepool's kubelet image garbage collector
- labels Map<String>
- A map of key/value labels.
- name String
- The SKS node pool name.
- private
Network List<String>Ids - A list of exoscaleprivatenetwork (IDs) to be attached to the managed instances.
- security
Group List<String>Ids - A list of exoscalesecuritygroup (IDs) to be attached to the managed instances.
- storage
Lvm Boolean - Create nodes with non-standard partitioning for persistent storage (requires min 100G of disk space) (may only be set at creation time).
- taints Map<String>
- A map of key/value Kubernetes taints ('taints = { \n\n = "\n\n:\n\n" }').
Outputs
All input properties are implicitly available as output properties. Additionally, the SksNodepool resource produces the following output properties:
- Created
At string - The pool creation date.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Pool stringId - The underlying exoscaleinstancepool ID.
- State string
- The current pool state.
- Template
Id string - The managed instances template ID.
- Version string
- The managed instances version.
- Created
At string - The pool creation date.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Pool stringId - The underlying exoscaleinstancepool ID.
- State string
- The current pool state.
- Template
Id string - The managed instances template ID.
- Version string
- The managed instances version.
- created
At String - The pool creation date.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Pool StringId - The underlying exoscaleinstancepool ID.
- state String
- The current pool state.
- template
Id String - The managed instances template ID.
- version String
- The managed instances version.
- created
At string - The pool creation date.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Pool stringId - The underlying exoscaleinstancepool ID.
- state string
- The current pool state.
- template
Id string - The managed instances template ID.
- version string
- The managed instances version.
- created_
at str - The pool creation date.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
pool_ strid - The underlying exoscaleinstancepool ID.
- state str
- The current pool state.
- template_
id str - The managed instances template ID.
- version str
- The managed instances version.
- created
At String - The pool creation date.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Pool StringId - The underlying exoscaleinstancepool ID.
- state String
- The current pool state.
- template
Id String - The managed instances template ID.
- version String
- The managed instances version.
Look up Existing SksNodepool Resource
Get an existing SksNodepool 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?: SksNodepoolState, opts?: CustomResourceOptions): SksNodepool
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
anti_affinity_group_ids: Optional[Sequence[str]] = None,
cluster_id: Optional[str] = None,
created_at: Optional[str] = None,
deploy_target_id: Optional[str] = None,
description: Optional[str] = None,
disk_size: Optional[int] = None,
instance_pool_id: Optional[str] = None,
instance_prefix: Optional[str] = None,
instance_type: Optional[str] = None,
kubelet_image_gcs: Optional[Sequence[SksNodepoolKubeletImageGcArgs]] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
private_network_ids: Optional[Sequence[str]] = None,
security_group_ids: Optional[Sequence[str]] = None,
size: Optional[int] = None,
state: Optional[str] = None,
storage_lvm: Optional[bool] = None,
taints: Optional[Mapping[str, str]] = None,
template_id: Optional[str] = None,
version: Optional[str] = None,
zone: Optional[str] = None) -> SksNodepool
func GetSksNodepool(ctx *Context, name string, id IDInput, state *SksNodepoolState, opts ...ResourceOption) (*SksNodepool, error)
public static SksNodepool Get(string name, Input<string> id, SksNodepoolState? state, CustomResourceOptions? opts = null)
public static SksNodepool get(String name, Output<String> id, SksNodepoolState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Anti
Affinity List<string>Group Ids - A list of exoscaleantiaffinity_group (IDs) to be attached to the managed instances.
- Cluster
Id string - ❗ The parent exoscaleskscluster ID.
- Created
At string - The pool creation date.
- Deploy
Target stringId - A deploy target ID.
- Description string
- A free-form text describing the pool.
- Disk
Size int - The managed instances disk size (GiB; default:
50
). - Instance
Pool stringId - The underlying exoscaleinstancepool ID.
- Instance
Prefix string - The string used to prefix the managed instances name (default
pool
). - Instance
Type string - The managed compute instances type (
<family>.<size>
, e.g.standard.medium
; use the Exoscale CLI -exo compute instance-type list
- for the list of available types). - Kubelet
Image List<Pulumiverse.Gcs Exoscale. Inputs. Sks Nodepool Kubelet Image Gc> - Configuration for this nodepool's kubelet image garbage collector
- Labels Dictionary<string, string>
- A map of key/value labels.
- Name string
- The SKS node pool name.
- Private
Network List<string>Ids - A list of exoscaleprivatenetwork (IDs) to be attached to the managed instances.
- Security
Group List<string>Ids - A list of exoscalesecuritygroup (IDs) to be attached to the managed instances.
- Size int
- State string
- The current pool state.
- Storage
Lvm bool - Create nodes with non-standard partitioning for persistent storage (requires min 100G of disk space) (may only be set at creation time).
- Taints Dictionary<string, string>
- A map of key/value Kubernetes taints ('taints = { \n\n = "\n\n:\n\n" }').
- Template
Id string - The managed instances template ID.
- Version string
- The managed instances version.
- Zone string
- ❗ The Exoscale Zone name.
- Anti
Affinity []stringGroup Ids - A list of exoscaleantiaffinity_group (IDs) to be attached to the managed instances.
- Cluster
Id string - ❗ The parent exoscaleskscluster ID.
- Created
At string - The pool creation date.
- Deploy
Target stringId - A deploy target ID.
- Description string
- A free-form text describing the pool.
- Disk
Size int - The managed instances disk size (GiB; default:
50
). - Instance
Pool stringId - The underlying exoscaleinstancepool ID.
- Instance
Prefix string - The string used to prefix the managed instances name (default
pool
). - Instance
Type string - The managed compute instances type (
<family>.<size>
, e.g.standard.medium
; use the Exoscale CLI -exo compute instance-type list
- for the list of available types). - Kubelet
Image []SksGcs Nodepool Kubelet Image Gc Args - Configuration for this nodepool's kubelet image garbage collector
- Labels map[string]string
- A map of key/value labels.
- Name string
- The SKS node pool name.
- Private
Network []stringIds - A list of exoscaleprivatenetwork (IDs) to be attached to the managed instances.
- Security
Group []stringIds - A list of exoscalesecuritygroup (IDs) to be attached to the managed instances.
- Size int
- State string
- The current pool state.
- Storage
Lvm bool - Create nodes with non-standard partitioning for persistent storage (requires min 100G of disk space) (may only be set at creation time).
- Taints map[string]string
- A map of key/value Kubernetes taints ('taints = { \n\n = "\n\n:\n\n" }').
- Template
Id string - The managed instances template ID.
- Version string
- The managed instances version.
- Zone string
- ❗ The Exoscale Zone name.
- anti
Affinity List<String>Group Ids - A list of exoscaleantiaffinity_group (IDs) to be attached to the managed instances.
- cluster
Id String - ❗ The parent exoscaleskscluster ID.
- created
At String - The pool creation date.
- deploy
Target StringId - A deploy target ID.
- description String
- A free-form text describing the pool.
- disk
Size Integer - The managed instances disk size (GiB; default:
50
). - instance
Pool StringId - The underlying exoscaleinstancepool ID.
- instance
Prefix String - The string used to prefix the managed instances name (default
pool
). - instance
Type String - The managed compute instances type (
<family>.<size>
, e.g.standard.medium
; use the Exoscale CLI -exo compute instance-type list
- for the list of available types). - kubelet
Image List<SksGcs Nodepool Kubelet Image Gc> - Configuration for this nodepool's kubelet image garbage collector
- labels Map<String,String>
- A map of key/value labels.
- name String
- The SKS node pool name.
- private
Network List<String>Ids - A list of exoscaleprivatenetwork (IDs) to be attached to the managed instances.
- security
Group List<String>Ids - A list of exoscalesecuritygroup (IDs) to be attached to the managed instances.
- size Integer
- state String
- The current pool state.
- storage
Lvm Boolean - Create nodes with non-standard partitioning for persistent storage (requires min 100G of disk space) (may only be set at creation time).
- taints Map<String,String>
- A map of key/value Kubernetes taints ('taints = { \n\n = "\n\n:\n\n" }').
- template
Id String - The managed instances template ID.
- version String
- The managed instances version.
- zone String
- ❗ The Exoscale Zone name.
- anti
Affinity string[]Group Ids - A list of exoscaleantiaffinity_group (IDs) to be attached to the managed instances.
- cluster
Id string - ❗ The parent exoscaleskscluster ID.
- created
At string - The pool creation date.
- deploy
Target stringId - A deploy target ID.
- description string
- A free-form text describing the pool.
- disk
Size number - The managed instances disk size (GiB; default:
50
). - instance
Pool stringId - The underlying exoscaleinstancepool ID.
- instance
Prefix string - The string used to prefix the managed instances name (default
pool
). - instance
Type string - The managed compute instances type (
<family>.<size>
, e.g.standard.medium
; use the Exoscale CLI -exo compute instance-type list
- for the list of available types). - kubelet
Image SksGcs Nodepool Kubelet Image Gc[] - Configuration for this nodepool's kubelet image garbage collector
- labels {[key: string]: string}
- A map of key/value labels.
- name string
- The SKS node pool name.
- private
Network string[]Ids - A list of exoscaleprivatenetwork (IDs) to be attached to the managed instances.
- security
Group string[]Ids - A list of exoscalesecuritygroup (IDs) to be attached to the managed instances.
- size number
- state string
- The current pool state.
- storage
Lvm boolean - Create nodes with non-standard partitioning for persistent storage (requires min 100G of disk space) (may only be set at creation time).
- taints {[key: string]: string}
- A map of key/value Kubernetes taints ('taints = { \n\n = "\n\n:\n\n" }').
- template
Id string - The managed instances template ID.
- version string
- The managed instances version.
- zone string
- ❗ The Exoscale Zone name.
- anti_
affinity_ Sequence[str]group_ ids - A list of exoscaleantiaffinity_group (IDs) to be attached to the managed instances.
- cluster_
id str - ❗ The parent exoscaleskscluster ID.
- created_
at str - The pool creation date.
- deploy_
target_ strid - A deploy target ID.
- description str
- A free-form text describing the pool.
- disk_
size int - The managed instances disk size (GiB; default:
50
). - instance_
pool_ strid - The underlying exoscaleinstancepool ID.
- instance_
prefix str - The string used to prefix the managed instances name (default
pool
). - instance_
type str - The managed compute instances type (
<family>.<size>
, e.g.standard.medium
; use the Exoscale CLI -exo compute instance-type list
- for the list of available types). - kubelet_
image_ Sequence[Sksgcs Nodepool Kubelet Image Gc Args] - Configuration for this nodepool's kubelet image garbage collector
- labels Mapping[str, str]
- A map of key/value labels.
- name str
- The SKS node pool name.
- private_
network_ Sequence[str]ids - A list of exoscaleprivatenetwork (IDs) to be attached to the managed instances.
- security_
group_ Sequence[str]ids - A list of exoscalesecuritygroup (IDs) to be attached to the managed instances.
- size int
- state str
- The current pool state.
- storage_
lvm bool - Create nodes with non-standard partitioning for persistent storage (requires min 100G of disk space) (may only be set at creation time).
- taints Mapping[str, str]
- A map of key/value Kubernetes taints ('taints = { \n\n = "\n\n:\n\n" }').
- template_
id str - The managed instances template ID.
- version str
- The managed instances version.
- zone str
- ❗ The Exoscale Zone name.
- anti
Affinity List<String>Group Ids - A list of exoscaleantiaffinity_group (IDs) to be attached to the managed instances.
- cluster
Id String - ❗ The parent exoscaleskscluster ID.
- created
At String - The pool creation date.
- deploy
Target StringId - A deploy target ID.
- description String
- A free-form text describing the pool.
- disk
Size Number - The managed instances disk size (GiB; default:
50
). - instance
Pool StringId - The underlying exoscaleinstancepool ID.
- instance
Prefix String - The string used to prefix the managed instances name (default
pool
). - instance
Type String - The managed compute instances type (
<family>.<size>
, e.g.standard.medium
; use the Exoscale CLI -exo compute instance-type list
- for the list of available types). - kubelet
Image List<Property Map>Gcs - Configuration for this nodepool's kubelet image garbage collector
- labels Map<String>
- A map of key/value labels.
- name String
- The SKS node pool name.
- private
Network List<String>Ids - A list of exoscaleprivatenetwork (IDs) to be attached to the managed instances.
- security
Group List<String>Ids - A list of exoscalesecuritygroup (IDs) to be attached to the managed instances.
- size Number
- state String
- The current pool state.
- storage
Lvm Boolean - Create nodes with non-standard partitioning for persistent storage (requires min 100G of disk space) (may only be set at creation time).
- taints Map<String>
- A map of key/value Kubernetes taints ('taints = { \n\n = "\n\n:\n\n" }').
- template
Id String - The managed instances template ID.
- version String
- The managed instances version.
- zone String
- ❗ The Exoscale Zone name.
Supporting Types
SksNodepoolKubeletImageGc, SksNodepoolKubeletImageGcArgs
- High
Threshold int - The percent of disk usage after which image garbage collection is always run
- Low
Threshold int - The percent of disk usage before which image garbage collection is never run
- Min
Age string - The minimum age for an unused image before it is garbage collected
- High
Threshold int - The percent of disk usage after which image garbage collection is always run
- Low
Threshold int - The percent of disk usage before which image garbage collection is never run
- Min
Age string - The minimum age for an unused image before it is garbage collected
- high
Threshold Integer - The percent of disk usage after which image garbage collection is always run
- low
Threshold Integer - The percent of disk usage before which image garbage collection is never run
- min
Age String - The minimum age for an unused image before it is garbage collected
- high
Threshold number - The percent of disk usage after which image garbage collection is always run
- low
Threshold number - The percent of disk usage before which image garbage collection is never run
- min
Age string - The minimum age for an unused image before it is garbage collected
- high_
threshold int - The percent of disk usage after which image garbage collection is always run
- low_
threshold int - The percent of disk usage before which image garbage collection is never run
- min_
age str - The minimum age for an unused image before it is garbage collected
- high
Threshold Number - The percent of disk usage after which image garbage collection is always run
- low
Threshold Number - The percent of disk usage before which image garbage collection is never run
- min
Age String - The minimum age for an unused image before it is garbage collected
Import
An existing SKS node pool may be imported by <cluster-ID>/<nodepool-ID>@<zone>
:
$ pulumi import exoscale:index/sksNodepool:SksNodepool \
exoscale_sks_nodepool.my_sks_nodepool \
f81d4fae-7dec-11d0-a765-00a0c91e6bf6/9ecc6b8b-73d4-4211-8ced-f7f29bb79524@ch-gva-2
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- exoscale pulumiverse/pulumi-exoscale
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
exoscale
Terraform Provider.