sks

camptocamp/sks/exoscale

Terraform Module HCL EXOSCALE
Install
module "sks" {
source = "camptocamp/sks/exoscale"
version = "0.4.1"
}
plain text: /constructs/tfmod-camptocamp-sks-exoscale/install.txt
⭐ Source on GitHub 📦 Registry page
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)
NameTypeDescriptionDefault
nodepoolsmap(any)The SKS node pools to create. required
namestringThe name of the SKS cluster. required
zonestringThe name of the zone to deploy the SKS cluster into. required
kubernetes_versionstringThe kubernetes version to use. See the Exoscale documentation or portal for poss required
wait_for_cluster_cmdstringCustom 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_interpreterlist(string)Custom local-exec command line interpreter for the command to determining if the[ "/bin/sh", "-c" ]
node_ports_world_accessibleboolCreate a security group rule that allows world access to to NodePort services.true
Outputs (3)
this_security_group_id
kubeconfig — kubectl config file contents for this SKS cluster.
nodepools
Resources (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