terraform-scaleway-kapsule
A terraform module to create a managed Kubernetes cluster on Scaleway Element.
Requirements
Providers
Modules
No modules.
Resources
Inputs
Name |
Description |
Type |
Default |
Required |
admission_plugins |
The list of admission plugins to enable on the cluster |
list(string) |
[] |
no |
apiserver_cert_sans |
Additional Subject Alternative Names for the Kubernetes API server certificate |
list(string) |
[] |
no |
auto_upgrade |
The auto upgrade configuration |
object({ enable = optional(bool, false) maintenance_window_start_hour = optional(number) maintenance_window_day = optional(number) }) |
{} |
no |
autoscaler_config |
The configuration options for the Kubernetes cluster autoscaler |
object({ disable_scale_down = optional(bool) scale_down_delay_after_add = optional(string) scale_down_unneeded_time = optional(string) estimator = optional(string) expander = optional(string) ignore_daemonsets_utilization = optional(bool) balance_similar_node_groups = optional(bool) expendable_pods_priority_cutoff = optional(number) scale_down_utilization_threshold = optional(number) max_graceful_termination_sec = optional(number) }) |
{} |
no |
cluster_description |
A description for the Kubernetes cluster |
string |
null |
no |
cluster_name |
The name for the Kubernetes cluster |
string |
n/a |
yes |
cluster_tags |
The tags associated with the Kubernetes cluster |
list(any) |
[] |
no |
cluster_type |
The type of cluster |
string |
"kapsule" |
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 |
feature_gates |
The list of feature gates to enable on the cluster |
list(string) |
[] |
no |
kubernetes_version |
The version of the Kubernetes cluster |
string |
"1.24.5" |
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({ issuer_url = optional(string) client_id = optional(string) username_claim = optional(string) username_prefix = optional(string) groups_claim = optional(list(string)) groups_prefix = optional(string) required_claim = optional(list(string)) }) |
{} |
no |
project_id |
(Defaults to provider project_id) The ID of the project the cluster is associated with |
string |
null |
no |
region |
(Defaults to provider region) The region in which the cluster should be created |
string |
null |
no |
tags |
Tags applied to all ressources. |
list(string) |
[] |
no |
Outputs