sks
ducksify/sks/exoscale
Terraform Module
HCL
EXOSCALE
Install
module "sks" {
source = "ducksify/sks/exoscale"
version = "0.3.8"
}
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 = "registry.terraform.io/ducksify/sks/exoscale" version = "0.3.2" name = "test" zone = "ch-gva-2" kubernetes_version = "1.22.5" nodepools = { "router" = { instance_type = "standard.small" size = 1 }, "compute" = { instance_type = "standard.small" size = 3 } } } ``
Inputs (9)
| Name | Type | Description | Default |
|---|---|---|---|
| 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 |
| service_level | string | The SKS kubernetes service_level version to use. See the Exoscale documentation | required |
| nodepools | map(any) | The SKS node pools to create. | required |
| node_ports_world_accessible | bool | Create a security group rule that allows world access to to NodePort services. | true |
| 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"
] |
| sg-rules-admin | list(object({ port = strin | [
{
"cidr": [
"1.1.1.1/32",
|
Outputs (4)
kubeconfig — kubectl config file contents for this SKS cluster.nodepoolsthis_security_group_idnodesipResources (8)
exoscale_affinityexoscale_security_groupexoscale_security_group_ruleexoscale_security_group_rulesexoscale_sks_clusterexoscale_sks_nodepoollocal_sensitive_filenull_resource
Details
FrameworkTerraform Module
LanguageHCL
Version0.3.8
Cloud EXOSCALE
★ Stars0
Forks0
Total downloads552
Inputs9
Outputs4
Resources8
Namespaceducksify
Updated