kubernetes
JWDobken/kubernetes/hcloud
Terraform module to provide Kubernetes for the Hetzner Cloud (non-official)
Hetzner Cloud Kubernetes provider 🏖️ --- Unofficial Terraform module to provide Kubernetes for the Hetzner Cloud.   !license Create a Kubernetes cluster on the Hetzner cloud, with the following features: - implements Hetzner's private network for network security - configures UFW for managing complex iptables rules - deploys the Flannel CNI plugin - deploys the Controller Manager with networks support, to integrate with the Hetzner Cloud API - deploys the Container Storage Interface for dynamic provisioning of volumes Getting Started The Hetzner Cloud provider needs to be configured with _a toke
| Name | Type | Description | Default |
|---|---|---|---|
| hcloud_token | string | (Required) - The Hetzner Cloud API Token, can also be specified with the HCLOUD_ | required |
| worker_count | number | (Required) - Number of worker nodes. | required |
| cluster_name | string | (Required) - The name of the cluster. | required |
| private_key | string | (Required) - content of an SSH key to use for the connection. These can be loade | required |
| hcloud_ssh_keys | list(any) | (Required) - SSH key IDs or names which should be injected into the server at cr | required |
| network_ip_range | string | (Optional) - IP Range of the whole Network which must span all included subnets | "10.98.0.0/16" |
| control_plane_name_format | string | (Optional) - Format for the control-plane node names, defaults to 'control-plane | "control-plane-%d" |
| worker_name_format | string | (Optional) - Format for the worker node names, defaults to 'worker-0'. | "worker-%d" |
| location | string | (Optional) - Location, e.g. 'nbg1' (Neurenberg). | "nbg1" |
| network_zone | string | (Optional) - Name of network zone, e.g. 'eu-central'. | "eu-central" |
| subnet_ip_range | string | (Optional) - Range to allocate IPs from. Must be a subnet of the ip_range of the | "10.98.0.0/16" |
| image | string | (Optional) - Predefined Image that will be used to spin up the machines. | "ubuntu-20.04" |
| worker_type | string | (Optional) - For more types have a look at https://www.hetzner.de/cloud | "cx21" |
| kubernetes_version | string | (Optional) - Kubernetes version installed, e.g. '1.25.2'. | "1.25.2" |
| control_plane_type | string | (Optional) - For more types have a look at https://www.hetzner.de/cloud | "cx11" |
| control_plane_count | number | (Optional) - Number of control-plane nodes. | 1 |
kubeconfig — Kubectl config file contents for the cluster.endpoint — The endpoint for the Kubernetes API.private_ips — The IPv4 addresses within the private network.control_plane_nodes_ips — The IPv4 addresses within the control-plane network.control_plane_nodes_ids — The ids of the control-plane nodes.worker_nodes — The worker node objects.worker_nodes_ips — The IPv4 addresses within the worker network.worker_nodes_ids — The ids of the worker nodes.certificate_authority_data — Nested attribute containing certificate-authority-data for the cluster. This is the base64 encoded cclient_certificate_data — Client certificate to communicate with the API.network_id — Unique ID of the network.control_plane_nodes — The control-plane node objects.client_key_data — Client key to communicate with the API.