exoscale.SksCluster
Explore with Pulumi AI
Manage Exoscale Scalable Kubernetes Service (SKS) Clusters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as exoscale from "@pulumiverse/exoscale";
const mySksCluster = new exoscale.SksCluster("mySksCluster", {zone: "ch-gva-2"});
export const mySksClusterEndpoint = mySksCluster.endpoint;
import pulumi
import pulumiverse_exoscale as exoscale
my_sks_cluster = exoscale.SksCluster("mySksCluster", zone="ch-gva-2")
pulumi.export("mySksClusterEndpoint", my_sks_cluster.endpoint)
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
}
ctx.Export("mySksClusterEndpoint", mySksCluster.Endpoint)
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",
});
return new Dictionary<string, object?>
{
["mySksClusterEndpoint"] = mySksCluster.Endpoint,
};
});
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 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());
ctx.export("mySksClusterEndpoint", mySksCluster.endpoint());
}
}
resources:
mySksCluster:
type: exoscale:SksCluster
properties:
zone: ch-gva-2
outputs:
mySksClusterEndpoint: ${mySksCluster.endpoint}
Next step is to attach exoscale_sks_nodepool(s) to the cluster.
Please refer to the examples directory for complete configuration examples.
Create SksCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SksCluster(name: string, args: SksClusterArgs, opts?: CustomResourceOptions);
@overload
def SksCluster(resource_name: str,
args: SksClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SksCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
zone: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
cni: Optional[str] = None,
description: Optional[str] = None,
exoscale_ccm: Optional[bool] = None,
exoscale_csi: Optional[bool] = None,
addons: Optional[Sequence[str]] = None,
metrics_server: Optional[bool] = None,
name: Optional[str] = None,
oidc: Optional[SksClusterOidcArgs] = None,
service_level: Optional[str] = None,
version: Optional[str] = None,
auto_upgrade: Optional[bool] = None)
func NewSksCluster(ctx *Context, name string, args SksClusterArgs, opts ...ResourceOption) (*SksCluster, error)
public SksCluster(string name, SksClusterArgs args, CustomResourceOptions? opts = null)
public SksCluster(String name, SksClusterArgs args)
public SksCluster(String name, SksClusterArgs args, CustomResourceOptions options)
type: exoscale:SksCluster
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 SksClusterArgs
- 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 SksClusterArgs
- 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 SksClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SksClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SksClusterArgs
- 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 sksClusterResource = new Exoscale.SksCluster("sksClusterResource", new()
{
Zone = "string",
Labels =
{
{ "string", "string" },
},
Cni = "string",
Description = "string",
ExoscaleCcm = false,
ExoscaleCsi = false,
MetricsServer = false,
Name = "string",
Oidc = new Exoscale.Inputs.SksClusterOidcArgs
{
ClientId = "string",
IssuerUrl = "string",
GroupsClaim = "string",
GroupsPrefix = "string",
RequiredClaim =
{
{ "string", "string" },
},
UsernameClaim = "string",
UsernamePrefix = "string",
},
ServiceLevel = "string",
Version = "string",
AutoUpgrade = false,
});
example, err := exoscale.NewSksCluster(ctx, "sksClusterResource", &exoscale.SksClusterArgs{
Zone: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Cni: pulumi.String("string"),
Description: pulumi.String("string"),
ExoscaleCcm: pulumi.Bool(false),
ExoscaleCsi: pulumi.Bool(false),
MetricsServer: pulumi.Bool(false),
Name: pulumi.String("string"),
Oidc: &exoscale.SksClusterOidcArgs{
ClientId: pulumi.String("string"),
IssuerUrl: pulumi.String("string"),
GroupsClaim: pulumi.String("string"),
GroupsPrefix: pulumi.String("string"),
RequiredClaim: pulumi.StringMap{
"string": pulumi.String("string"),
},
UsernameClaim: pulumi.String("string"),
UsernamePrefix: pulumi.String("string"),
},
ServiceLevel: pulumi.String("string"),
Version: pulumi.String("string"),
AutoUpgrade: pulumi.Bool(false),
})
var sksClusterResource = new SksCluster("sksClusterResource", SksClusterArgs.builder()
.zone("string")
.labels(Map.of("string", "string"))
.cni("string")
.description("string")
.exoscaleCcm(false)
.exoscaleCsi(false)
.metricsServer(false)
.name("string")
.oidc(SksClusterOidcArgs.builder()
.clientId("string")
.issuerUrl("string")
.groupsClaim("string")
.groupsPrefix("string")
.requiredClaim(Map.of("string", "string"))
.usernameClaim("string")
.usernamePrefix("string")
.build())
.serviceLevel("string")
.version("string")
.autoUpgrade(false)
.build());
sks_cluster_resource = exoscale.SksCluster("sksClusterResource",
zone="string",
labels={
"string": "string",
},
cni="string",
description="string",
exoscale_ccm=False,
exoscale_csi=False,
metrics_server=False,
name="string",
oidc=exoscale.SksClusterOidcArgs(
client_id="string",
issuer_url="string",
groups_claim="string",
groups_prefix="string",
required_claim={
"string": "string",
},
username_claim="string",
username_prefix="string",
),
service_level="string",
version="string",
auto_upgrade=False)
const sksClusterResource = new exoscale.SksCluster("sksClusterResource", {
zone: "string",
labels: {
string: "string",
},
cni: "string",
description: "string",
exoscaleCcm: false,
exoscaleCsi: false,
metricsServer: false,
name: "string",
oidc: {
clientId: "string",
issuerUrl: "string",
groupsClaim: "string",
groupsPrefix: "string",
requiredClaim: {
string: "string",
},
usernameClaim: "string",
usernamePrefix: "string",
},
serviceLevel: "string",
version: "string",
autoUpgrade: false,
});
type: exoscale:SksCluster
properties:
autoUpgrade: false
cni: string
description: string
exoscaleCcm: false
exoscaleCsi: false
labels:
string: string
metricsServer: false
name: string
oidc:
clientId: string
groupsClaim: string
groupsPrefix: string
issuerUrl: string
requiredClaim:
string: string
usernameClaim: string
usernamePrefix: string
serviceLevel: string
version: string
zone: string
SksCluster 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 SksCluster resource accepts the following input properties:
- Zone string
- ❗ The Exoscale Zone name.
- Addons List<string>
- Auto
Upgrade bool - Enable automatic upgrading of the control plane version.
- Cni string
- The CNI plugin that is to be used. Available options are "calico" or "cilium". Defaults to "calico". Setting empty string will result in a cluster with no CNI.
- Description string
- A free-form text describing the cluster.
- Exoscale
Ccm bool - Deploy the Exoscale Cloud Controller Manager in the control plane (boolean; default:
true
; may only be set at creation time). - Exoscale
Csi bool - Deploy the Exoscale Container Storage Interface on worker nodes (boolean; default:
false
; requires the CCM to be enabled). - Labels Dictionary<string, string>
- A map of key/value labels.
- Metrics
Server bool - Deploy the Kubernetes Metrics Server in the control plane (boolean; default:
true
; may only be set at creation time). - Name string
- The SKS cluster name.
- Oidc
Pulumiverse.
Exoscale. Inputs. Sks Cluster Oidc - An OpenID Connect configuration to provide to the Kubernetes API server (may only be set at creation time). Structure is documented below.
- Service
Level string - The service level of the control plane (
pro
orstarter
; default:pro
; may only be set at creation time). - Version string
- The version of the control plane (default: latest version available from the API; see
exo compute sks versions
for reference; may only be set at creation time).
- Zone string
- ❗ The Exoscale Zone name.
- Addons []string
- Auto
Upgrade bool - Enable automatic upgrading of the control plane version.
- Cni string
- The CNI plugin that is to be used. Available options are "calico" or "cilium". Defaults to "calico". Setting empty string will result in a cluster with no CNI.
- Description string
- A free-form text describing the cluster.
- Exoscale
Ccm bool - Deploy the Exoscale Cloud Controller Manager in the control plane (boolean; default:
true
; may only be set at creation time). - Exoscale
Csi bool - Deploy the Exoscale Container Storage Interface on worker nodes (boolean; default:
false
; requires the CCM to be enabled). - Labels map[string]string
- A map of key/value labels.
- Metrics
Server bool - Deploy the Kubernetes Metrics Server in the control plane (boolean; default:
true
; may only be set at creation time). - Name string
- The SKS cluster name.
- Oidc
Sks
Cluster Oidc Args - An OpenID Connect configuration to provide to the Kubernetes API server (may only be set at creation time). Structure is documented below.
- Service
Level string - The service level of the control plane (
pro
orstarter
; default:pro
; may only be set at creation time). - Version string
- The version of the control plane (default: latest version available from the API; see
exo compute sks versions
for reference; may only be set at creation time).
- zone String
- ❗ The Exoscale Zone name.
- addons List<String>
- auto
Upgrade Boolean - Enable automatic upgrading of the control plane version.
- cni String
- The CNI plugin that is to be used. Available options are "calico" or "cilium". Defaults to "calico". Setting empty string will result in a cluster with no CNI.
- description String
- A free-form text describing the cluster.
- exoscale
Ccm Boolean - Deploy the Exoscale Cloud Controller Manager in the control plane (boolean; default:
true
; may only be set at creation time). - exoscale
Csi Boolean - Deploy the Exoscale Container Storage Interface on worker nodes (boolean; default:
false
; requires the CCM to be enabled). - labels Map<String,String>
- A map of key/value labels.
- metrics
Server Boolean - Deploy the Kubernetes Metrics Server in the control plane (boolean; default:
true
; may only be set at creation time). - name String
- The SKS cluster name.
- oidc
Sks
Cluster Oidc - An OpenID Connect configuration to provide to the Kubernetes API server (may only be set at creation time). Structure is documented below.
- service
Level String - The service level of the control plane (
pro
orstarter
; default:pro
; may only be set at creation time). - version String
- The version of the control plane (default: latest version available from the API; see
exo compute sks versions
for reference; may only be set at creation time).
- zone string
- ❗ The Exoscale Zone name.
- addons string[]
- auto
Upgrade boolean - Enable automatic upgrading of the control plane version.
- cni string
- The CNI plugin that is to be used. Available options are "calico" or "cilium". Defaults to "calico". Setting empty string will result in a cluster with no CNI.
- description string
- A free-form text describing the cluster.
- exoscale
Ccm boolean - Deploy the Exoscale Cloud Controller Manager in the control plane (boolean; default:
true
; may only be set at creation time). - exoscale
Csi boolean - Deploy the Exoscale Container Storage Interface on worker nodes (boolean; default:
false
; requires the CCM to be enabled). - labels {[key: string]: string}
- A map of key/value labels.
- metrics
Server boolean - Deploy the Kubernetes Metrics Server in the control plane (boolean; default:
true
; may only be set at creation time). - name string
- The SKS cluster name.
- oidc
Sks
Cluster Oidc - An OpenID Connect configuration to provide to the Kubernetes API server (may only be set at creation time). Structure is documented below.
- service
Level string - The service level of the control plane (
pro
orstarter
; default:pro
; may only be set at creation time). - version string
- The version of the control plane (default: latest version available from the API; see
exo compute sks versions
for reference; may only be set at creation time).
- zone str
- ❗ The Exoscale Zone name.
- addons Sequence[str]
- auto_
upgrade bool - Enable automatic upgrading of the control plane version.
- cni str
- The CNI plugin that is to be used. Available options are "calico" or "cilium". Defaults to "calico". Setting empty string will result in a cluster with no CNI.
- description str
- A free-form text describing the cluster.
- exoscale_
ccm bool - Deploy the Exoscale Cloud Controller Manager in the control plane (boolean; default:
true
; may only be set at creation time). - exoscale_
csi bool - Deploy the Exoscale Container Storage Interface on worker nodes (boolean; default:
false
; requires the CCM to be enabled). - labels Mapping[str, str]
- A map of key/value labels.
- metrics_
server bool - Deploy the Kubernetes Metrics Server in the control plane (boolean; default:
true
; may only be set at creation time). - name str
- The SKS cluster name.
- oidc
Sks
Cluster Oidc Args - An OpenID Connect configuration to provide to the Kubernetes API server (may only be set at creation time). Structure is documented below.
- service_
level str - The service level of the control plane (
pro
orstarter
; default:pro
; may only be set at creation time). - version str
- The version of the control plane (default: latest version available from the API; see
exo compute sks versions
for reference; may only be set at creation time).
- zone String
- ❗ The Exoscale Zone name.
- addons List<String>
- auto
Upgrade Boolean - Enable automatic upgrading of the control plane version.
- cni String
- The CNI plugin that is to be used. Available options are "calico" or "cilium". Defaults to "calico". Setting empty string will result in a cluster with no CNI.
- description String
- A free-form text describing the cluster.
- exoscale
Ccm Boolean - Deploy the Exoscale Cloud Controller Manager in the control plane (boolean; default:
true
; may only be set at creation time). - exoscale
Csi Boolean - Deploy the Exoscale Container Storage Interface on worker nodes (boolean; default:
false
; requires the CCM to be enabled). - labels Map<String>
- A map of key/value labels.
- metrics
Server Boolean - Deploy the Kubernetes Metrics Server in the control plane (boolean; default:
true
; may only be set at creation time). - name String
- The SKS cluster name.
- oidc Property Map
- An OpenID Connect configuration to provide to the Kubernetes API server (may only be set at creation time). Structure is documented below.
- service
Level String - The service level of the control plane (
pro
orstarter
; default:pro
; may only be set at creation time). - version String
- The version of the control plane (default: latest version available from the API; see
exo compute sks versions
for reference; may only be set at creation time).
Outputs
All input properties are implicitly available as output properties. Additionally, the SksCluster resource produces the following output properties:
- Aggregation
Ca string - The CA certificate (in PEM format) for TLS communications between the control plane and the aggregation layer (e.g.
metrics-server
). - Control
Plane stringCa - The CA certificate (in PEM format) for TLS communications between control plane components.
- Created
At string - The cluster creation date.
- Endpoint string
- The cluster API endpoint.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kubelet
Ca string - The CA certificate (in PEM format) for TLS communications between kubelets and the control plane.
- Nodepools List<string>
- The list of exoscalesksnodepool (IDs) attached to the cluster.
- State string
- The cluster state.
- Aggregation
Ca string - The CA certificate (in PEM format) for TLS communications between the control plane and the aggregation layer (e.g.
metrics-server
). - Control
Plane stringCa - The CA certificate (in PEM format) for TLS communications between control plane components.
- Created
At string - The cluster creation date.
- Endpoint string
- The cluster API endpoint.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kubelet
Ca string - The CA certificate (in PEM format) for TLS communications between kubelets and the control plane.
- Nodepools []string
- The list of exoscalesksnodepool (IDs) attached to the cluster.
- State string
- The cluster state.
- aggregation
Ca String - The CA certificate (in PEM format) for TLS communications between the control plane and the aggregation layer (e.g.
metrics-server
). - control
Plane StringCa - The CA certificate (in PEM format) for TLS communications between control plane components.
- created
At String - The cluster creation date.
- endpoint String
- The cluster API endpoint.
- id String
- The provider-assigned unique ID for this managed resource.
- kubelet
Ca String - The CA certificate (in PEM format) for TLS communications between kubelets and the control plane.
- nodepools List<String>
- The list of exoscalesksnodepool (IDs) attached to the cluster.
- state String
- The cluster state.
- aggregation
Ca string - The CA certificate (in PEM format) for TLS communications between the control plane and the aggregation layer (e.g.
metrics-server
). - control
Plane stringCa - The CA certificate (in PEM format) for TLS communications between control plane components.
- created
At string - The cluster creation date.
- endpoint string
- The cluster API endpoint.
- id string
- The provider-assigned unique ID for this managed resource.
- kubelet
Ca string - The CA certificate (in PEM format) for TLS communications between kubelets and the control plane.
- nodepools string[]
- The list of exoscalesksnodepool (IDs) attached to the cluster.
- state string
- The cluster state.
- aggregation_
ca str - The CA certificate (in PEM format) for TLS communications between the control plane and the aggregation layer (e.g.
metrics-server
). - control_
plane_ strca - The CA certificate (in PEM format) for TLS communications between control plane components.
- created_
at str - The cluster creation date.
- endpoint str
- The cluster API endpoint.
- id str
- The provider-assigned unique ID for this managed resource.
- kubelet_
ca str - The CA certificate (in PEM format) for TLS communications between kubelets and the control plane.
- nodepools Sequence[str]
- The list of exoscalesksnodepool (IDs) attached to the cluster.
- state str
- The cluster state.
- aggregation
Ca String - The CA certificate (in PEM format) for TLS communications between the control plane and the aggregation layer (e.g.
metrics-server
). - control
Plane StringCa - The CA certificate (in PEM format) for TLS communications between control plane components.
- created
At String - The cluster creation date.
- endpoint String
- The cluster API endpoint.
- id String
- The provider-assigned unique ID for this managed resource.
- kubelet
Ca String - The CA certificate (in PEM format) for TLS communications between kubelets and the control plane.
- nodepools List<String>
- The list of exoscalesksnodepool (IDs) attached to the cluster.
- state String
- The cluster state.
Look up Existing SksCluster Resource
Get an existing SksCluster 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?: SksClusterState, opts?: CustomResourceOptions): SksCluster
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
addons: Optional[Sequence[str]] = None,
aggregation_ca: Optional[str] = None,
auto_upgrade: Optional[bool] = None,
cni: Optional[str] = None,
control_plane_ca: Optional[str] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
endpoint: Optional[str] = None,
exoscale_ccm: Optional[bool] = None,
exoscale_csi: Optional[bool] = None,
kubelet_ca: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
metrics_server: Optional[bool] = None,
name: Optional[str] = None,
nodepools: Optional[Sequence[str]] = None,
oidc: Optional[SksClusterOidcArgs] = None,
service_level: Optional[str] = None,
state: Optional[str] = None,
version: Optional[str] = None,
zone: Optional[str] = None) -> SksCluster
func GetSksCluster(ctx *Context, name string, id IDInput, state *SksClusterState, opts ...ResourceOption) (*SksCluster, error)
public static SksCluster Get(string name, Input<string> id, SksClusterState? state, CustomResourceOptions? opts = null)
public static SksCluster get(String name, Output<String> id, SksClusterState 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.
- Addons List<string>
- Aggregation
Ca string - The CA certificate (in PEM format) for TLS communications between the control plane and the aggregation layer (e.g.
metrics-server
). - Auto
Upgrade bool - Enable automatic upgrading of the control plane version.
- Cni string
- The CNI plugin that is to be used. Available options are "calico" or "cilium". Defaults to "calico". Setting empty string will result in a cluster with no CNI.
- Control
Plane stringCa - The CA certificate (in PEM format) for TLS communications between control plane components.
- Created
At string - The cluster creation date.
- Description string
- A free-form text describing the cluster.
- Endpoint string
- The cluster API endpoint.
- Exoscale
Ccm bool - Deploy the Exoscale Cloud Controller Manager in the control plane (boolean; default:
true
; may only be set at creation time). - Exoscale
Csi bool - Deploy the Exoscale Container Storage Interface on worker nodes (boolean; default:
false
; requires the CCM to be enabled). - Kubelet
Ca string - The CA certificate (in PEM format) for TLS communications between kubelets and the control plane.
- Labels Dictionary<string, string>
- A map of key/value labels.
- Metrics
Server bool - Deploy the Kubernetes Metrics Server in the control plane (boolean; default:
true
; may only be set at creation time). - Name string
- The SKS cluster name.
- Nodepools List<string>
- The list of exoscalesksnodepool (IDs) attached to the cluster.
- Oidc
Pulumiverse.
Exoscale. Inputs. Sks Cluster Oidc - An OpenID Connect configuration to provide to the Kubernetes API server (may only be set at creation time). Structure is documented below.
- Service
Level string - The service level of the control plane (
pro
orstarter
; default:pro
; may only be set at creation time). - State string
- The cluster state.
- Version string
- The version of the control plane (default: latest version available from the API; see
exo compute sks versions
for reference; may only be set at creation time). - Zone string
- ❗ The Exoscale Zone name.
- Addons []string
- Aggregation
Ca string - The CA certificate (in PEM format) for TLS communications between the control plane and the aggregation layer (e.g.
metrics-server
). - Auto
Upgrade bool - Enable automatic upgrading of the control plane version.
- Cni string
- The CNI plugin that is to be used. Available options are "calico" or "cilium". Defaults to "calico". Setting empty string will result in a cluster with no CNI.
- Control
Plane stringCa - The CA certificate (in PEM format) for TLS communications between control plane components.
- Created
At string - The cluster creation date.
- Description string
- A free-form text describing the cluster.
- Endpoint string
- The cluster API endpoint.
- Exoscale
Ccm bool - Deploy the Exoscale Cloud Controller Manager in the control plane (boolean; default:
true
; may only be set at creation time). - Exoscale
Csi bool - Deploy the Exoscale Container Storage Interface on worker nodes (boolean; default:
false
; requires the CCM to be enabled). - Kubelet
Ca string - The CA certificate (in PEM format) for TLS communications between kubelets and the control plane.
- Labels map[string]string
- A map of key/value labels.
- Metrics
Server bool - Deploy the Kubernetes Metrics Server in the control plane (boolean; default:
true
; may only be set at creation time). - Name string
- The SKS cluster name.
- Nodepools []string
- The list of exoscalesksnodepool (IDs) attached to the cluster.
- Oidc
Sks
Cluster Oidc Args - An OpenID Connect configuration to provide to the Kubernetes API server (may only be set at creation time). Structure is documented below.
- Service
Level string - The service level of the control plane (
pro
orstarter
; default:pro
; may only be set at creation time). - State string
- The cluster state.
- Version string
- The version of the control plane (default: latest version available from the API; see
exo compute sks versions
for reference; may only be set at creation time). - Zone string
- ❗ The Exoscale Zone name.
- addons List<String>
- aggregation
Ca String - The CA certificate (in PEM format) for TLS communications between the control plane and the aggregation layer (e.g.
metrics-server
). - auto
Upgrade Boolean - Enable automatic upgrading of the control plane version.
- cni String
- The CNI plugin that is to be used. Available options are "calico" or "cilium". Defaults to "calico". Setting empty string will result in a cluster with no CNI.
- control
Plane StringCa - The CA certificate (in PEM format) for TLS communications between control plane components.
- created
At String - The cluster creation date.
- description String
- A free-form text describing the cluster.
- endpoint String
- The cluster API endpoint.
- exoscale
Ccm Boolean - Deploy the Exoscale Cloud Controller Manager in the control plane (boolean; default:
true
; may only be set at creation time). - exoscale
Csi Boolean - Deploy the Exoscale Container Storage Interface on worker nodes (boolean; default:
false
; requires the CCM to be enabled). - kubelet
Ca String - The CA certificate (in PEM format) for TLS communications between kubelets and the control plane.
- labels Map<String,String>
- A map of key/value labels.
- metrics
Server Boolean - Deploy the Kubernetes Metrics Server in the control plane (boolean; default:
true
; may only be set at creation time). - name String
- The SKS cluster name.
- nodepools List<String>
- The list of exoscalesksnodepool (IDs) attached to the cluster.
- oidc
Sks
Cluster Oidc - An OpenID Connect configuration to provide to the Kubernetes API server (may only be set at creation time). Structure is documented below.
- service
Level String - The service level of the control plane (
pro
orstarter
; default:pro
; may only be set at creation time). - state String
- The cluster state.
- version String
- The version of the control plane (default: latest version available from the API; see
exo compute sks versions
for reference; may only be set at creation time). - zone String
- ❗ The Exoscale Zone name.
- addons string[]
- aggregation
Ca string - The CA certificate (in PEM format) for TLS communications between the control plane and the aggregation layer (e.g.
metrics-server
). - auto
Upgrade boolean - Enable automatic upgrading of the control plane version.
- cni string
- The CNI plugin that is to be used. Available options are "calico" or "cilium". Defaults to "calico". Setting empty string will result in a cluster with no CNI.
- control
Plane stringCa - The CA certificate (in PEM format) for TLS communications between control plane components.
- created
At string - The cluster creation date.
- description string
- A free-form text describing the cluster.
- endpoint string
- The cluster API endpoint.
- exoscale
Ccm boolean - Deploy the Exoscale Cloud Controller Manager in the control plane (boolean; default:
true
; may only be set at creation time). - exoscale
Csi boolean - Deploy the Exoscale Container Storage Interface on worker nodes (boolean; default:
false
; requires the CCM to be enabled). - kubelet
Ca string - The CA certificate (in PEM format) for TLS communications between kubelets and the control plane.
- labels {[key: string]: string}
- A map of key/value labels.
- metrics
Server boolean - Deploy the Kubernetes Metrics Server in the control plane (boolean; default:
true
; may only be set at creation time). - name string
- The SKS cluster name.
- nodepools string[]
- The list of exoscalesksnodepool (IDs) attached to the cluster.
- oidc
Sks
Cluster Oidc - An OpenID Connect configuration to provide to the Kubernetes API server (may only be set at creation time). Structure is documented below.
- service
Level string - The service level of the control plane (
pro
orstarter
; default:pro
; may only be set at creation time). - state string
- The cluster state.
- version string
- The version of the control plane (default: latest version available from the API; see
exo compute sks versions
for reference; may only be set at creation time). - zone string
- ❗ The Exoscale Zone name.
- addons Sequence[str]
- aggregation_
ca str - The CA certificate (in PEM format) for TLS communications between the control plane and the aggregation layer (e.g.
metrics-server
). - auto_
upgrade bool - Enable automatic upgrading of the control plane version.
- cni str
- The CNI plugin that is to be used. Available options are "calico" or "cilium". Defaults to "calico". Setting empty string will result in a cluster with no CNI.
- control_
plane_ strca - The CA certificate (in PEM format) for TLS communications between control plane components.
- created_
at str - The cluster creation date.
- description str
- A free-form text describing the cluster.
- endpoint str
- The cluster API endpoint.
- exoscale_
ccm bool - Deploy the Exoscale Cloud Controller Manager in the control plane (boolean; default:
true
; may only be set at creation time). - exoscale_
csi bool - Deploy the Exoscale Container Storage Interface on worker nodes (boolean; default:
false
; requires the CCM to be enabled). - kubelet_
ca str - The CA certificate (in PEM format) for TLS communications between kubelets and the control plane.
- labels Mapping[str, str]
- A map of key/value labels.
- metrics_
server bool - Deploy the Kubernetes Metrics Server in the control plane (boolean; default:
true
; may only be set at creation time). - name str
- The SKS cluster name.
- nodepools Sequence[str]
- The list of exoscalesksnodepool (IDs) attached to the cluster.
- oidc
Sks
Cluster Oidc Args - An OpenID Connect configuration to provide to the Kubernetes API server (may only be set at creation time). Structure is documented below.
- service_
level str - The service level of the control plane (
pro
orstarter
; default:pro
; may only be set at creation time). - state str
- The cluster state.
- version str
- The version of the control plane (default: latest version available from the API; see
exo compute sks versions
for reference; may only be set at creation time). - zone str
- ❗ The Exoscale Zone name.
- addons List<String>
- aggregation
Ca String - The CA certificate (in PEM format) for TLS communications between the control plane and the aggregation layer (e.g.
metrics-server
). - auto
Upgrade Boolean - Enable automatic upgrading of the control plane version.
- cni String
- The CNI plugin that is to be used. Available options are "calico" or "cilium". Defaults to "calico". Setting empty string will result in a cluster with no CNI.
- control
Plane StringCa - The CA certificate (in PEM format) for TLS communications between control plane components.
- created
At String - The cluster creation date.
- description String
- A free-form text describing the cluster.
- endpoint String
- The cluster API endpoint.
- exoscale
Ccm Boolean - Deploy the Exoscale Cloud Controller Manager in the control plane (boolean; default:
true
; may only be set at creation time). - exoscale
Csi Boolean - Deploy the Exoscale Container Storage Interface on worker nodes (boolean; default:
false
; requires the CCM to be enabled). - kubelet
Ca String - The CA certificate (in PEM format) for TLS communications between kubelets and the control plane.
- labels Map<String>
- A map of key/value labels.
- metrics
Server Boolean - Deploy the Kubernetes Metrics Server in the control plane (boolean; default:
true
; may only be set at creation time). - name String
- The SKS cluster name.
- nodepools List<String>
- The list of exoscalesksnodepool (IDs) attached to the cluster.
- oidc Property Map
- An OpenID Connect configuration to provide to the Kubernetes API server (may only be set at creation time). Structure is documented below.
- service
Level String - The service level of the control plane (
pro
orstarter
; default:pro
; may only be set at creation time). - state String
- The cluster state.
- version String
- The version of the control plane (default: latest version available from the API; see
exo compute sks versions
for reference; may only be set at creation time). - zone String
- ❗ The Exoscale Zone name.
Supporting Types
SksClusterOidc, SksClusterOidcArgs
- Client
Id string - The OpenID client ID.
- Issuer
Url string - The OpenID provider URL.
- Groups
Claim string - An OpenID JWT claim to use as the user's group.
- Groups
Prefix string - An OpenID prefix prepended to group claims.
- Required
Claim Dictionary<string, string> - A map of key/value pairs that describes a required claim in the OpenID Token.
- Username
Claim string - An OpenID JWT claim to use as the user name.
- Username
Prefix string - An OpenID prefix prepended to username claims.
- Client
Id string - The OpenID client ID.
- Issuer
Url string - The OpenID provider URL.
- Groups
Claim string - An OpenID JWT claim to use as the user's group.
- Groups
Prefix string - An OpenID prefix prepended to group claims.
- Required
Claim map[string]string - A map of key/value pairs that describes a required claim in the OpenID Token.
- Username
Claim string - An OpenID JWT claim to use as the user name.
- Username
Prefix string - An OpenID prefix prepended to username claims.
- client
Id String - The OpenID client ID.
- issuer
Url String - The OpenID provider URL.
- groups
Claim String - An OpenID JWT claim to use as the user's group.
- groups
Prefix String - An OpenID prefix prepended to group claims.
- required
Claim Map<String,String> - A map of key/value pairs that describes a required claim in the OpenID Token.
- username
Claim String - An OpenID JWT claim to use as the user name.
- username
Prefix String - An OpenID prefix prepended to username claims.
- client
Id string - The OpenID client ID.
- issuer
Url string - The OpenID provider URL.
- groups
Claim string - An OpenID JWT claim to use as the user's group.
- groups
Prefix string - An OpenID prefix prepended to group claims.
- required
Claim {[key: string]: string} - A map of key/value pairs that describes a required claim in the OpenID Token.
- username
Claim string - An OpenID JWT claim to use as the user name.
- username
Prefix string - An OpenID prefix prepended to username claims.
- client_
id str - The OpenID client ID.
- issuer_
url str - The OpenID provider URL.
- groups_
claim str - An OpenID JWT claim to use as the user's group.
- groups_
prefix str - An OpenID prefix prepended to group claims.
- required_
claim Mapping[str, str] - A map of key/value pairs that describes a required claim in the OpenID Token.
- username_
claim str - An OpenID JWT claim to use as the user name.
- username_
prefix str - An OpenID prefix prepended to username claims.
- client
Id String - The OpenID client ID.
- issuer
Url String - The OpenID provider URL.
- groups
Claim String - An OpenID JWT claim to use as the user's group.
- groups
Prefix String - An OpenID prefix prepended to group claims.
- required
Claim Map<String> - A map of key/value pairs that describes a required claim in the OpenID Token.
- username
Claim String - An OpenID JWT claim to use as the user name.
- username
Prefix String - An OpenID prefix prepended to username claims.
Import
An existing SKS cluster may be imported by <ID>@<zone>
:
$ pulumi import exoscale:index/sksCluster:SksCluster \
exoscale_sks_cluster.my_sks_cluster \
f81d4fae-7dec-11d0-a765-00a0c91e6bf6@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.