sks
camptocamp/sks/exoscale
Terraform Module
HCL
EXOSCALE
Install
module "sks" {
source = "camptocamp/sks/exoscale"
version = "0.4.1"
}
README
terraform-exoscale-sks A terraform module to create a managed Kubernetes cluster on Exoscale SKS. This module creates an SKS cluster with one or more node pools. It creates one security group for all instances with the minimum rules recommended in the exoscale documentation. It also creates one anti-affinity group for each node pool. It then automatically retrieves the kubeconfig that allows access to the cluster. Usage example ``hcl module "sks" { source = "camptocamp/sks/exoscale" version = "0.3.1" name = "test" zone = "de-fra-1" kubernetes_version = "1.21.3" nodepools = { "router" = { instance_type = "standard.medium" size = 2 }, "compute" = { instance_type = "standard.small" size = 3 } } } ``
Inputs (7)
| Name | Type | Description | Default |
|---|---|---|---|
| nodepools | map(any) | The SKS node pools to create. | required |
| name | string | The name of the SKS cluster. | required |
| zone | string | The name of the zone to deploy the SKS cluster into. | required |
| kubernetes_version | string | The kubernetes version to use. See the Exoscale documentation or portal for poss | required |
| wait_for_cluster_cmd | string | Custom local-exec command to execute for determining if the eks cluster is healt | "for i in `seq 1 60`; do if `command -v |
| wait_for_cluster_interpreter | list(string) | Custom local-exec command line interpreter for the command to determining if the | [
"/bin/sh",
"-c"
] |
| node_ports_world_accessible | bool | Create a security group rule that allows world access to to NodePort services. | true |
Outputs (3)
this_security_group_idkubeconfig — kubectl config file contents for this SKS cluster.nodepoolsResources (6)
exoscale_affinityexoscale_security_groupexoscale_security_group_ruleexoscale_sks_clusterexoscale_sks_nodepoolnull_resource
Details
FrameworkTerraform Module
LanguageHCL
Version0.4.1
Cloud EXOSCALE
★ Stars5
Forks10
Total downloads1.7k
Inputs7
Outputs3
Resources6
Namespacecamptocamp
Updated