Skip to content

ulm0/terraform-scaleway-kapsule

 
 

Repository files navigation

terraform-scaleway-kapsule

Build Status semantic-release

A terraform module to create a managed Kubernetes cluster on Scaleway Element.

Requirements

Name Version
terraform >= 0.13
scaleway 2.0.0-rc.2

Providers

Name Version
scaleway 2.0.0-rc.2

Modules

No Modules.

Resources

Name
scaleway_k8s_cluster
scaleway_k8s_pool

Inputs

Name Description Type Default Required
admission_plugins The list of admission plugins to enable on the cluster. list [] no
apiserver_cert_sans Additional Subject Alternative Names for the Kubernetes API server certificate any null no
auto_upgrade The auto upgrade configuration.
object({
enable = bool
maintenance_window_start_hour = number
maintenance_window_day = string
})
null no
autoscaler_config The configuration options for the Kubernetes cluster autoscaler.
object({
enabled = bool
disable_scale_down = bool
scale_down_delay_after_add = string
scale_down_unneeded_time = string
estimator = string
expander = string
ignore_daemonsets_utilization = bool
balance_similar_node_groups = bool
expendable_pods_priority_cutoff = number
scale_down_utilization_threshold = number
max_graceful_termination_sec = number
})
null no
cluster_description A description for the Kubernetes cluster. any n/a yes
cluster_name The name for the Kubernetes cluster. any n/a yes
cluster_tags The tags associated with the Kubernetes cluster. list [] no
cni_plugin The Container Network Interface (CNI) for the Kubernetes cluster. string "cilium" no
delete_additional_resources Delete additional resources like block volumes and loadbalancers that were created in Kubernetes on cluster deletion. bool false no
enable_dashboard Enables the Kubernetes dashboard for the Kubernetes cluster. bool false no
feature_gates The list of feature gates to enable on the cluster. list [] no
ingress_controller The ingress controller to be deployed on the Kubernetes cluster. string "none" no
kubernetes_version The version of the Kubernetes cluster. string "1.20.4" no
node_pools Creates and manages Scaleway Kubernetes cluster pools. any {} no
node_pools_defaults Default configuration for Kubernetes cluster pools. map(any) {} no
open_id_connect_config The OpenID Connect configuration of the cluster
object({
enabled = bool
issuer_url = string
client_id = string
username_claim = string
username_prefix = string
groups_claim = list(string)
groups_prefix = string
required_claim = list(string)
})
null no
project_id (Defaults to provider project_id) The ID of the project the cluster is associated with. any null no
region (Defaults to provider region) The region in which the cluster should be created. any null no
tags Tags applied to all ressources. list [] no

Outputs

Name Description
apiserver_url The URL of the Kubernetes API server.
created_at The creation date of the cluster.
id The ID of the cluster.
kubeconfig The Kubernetes configuration.
node_pools Node Pools configuration and status.
status The status of the Kubernetes cluster.
updated_at The last update date of the cluster.
upgrade_available Set to true if a newer Kubernetes version is available.
wildcard_dns The DNS wildcard that points to all ready nodes.

About

Terraform module to deploy a Scaleway Kapsule Kubernetes Cluster

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 100.0%