k3s

cicdteam/k3s/hcloud

Terraform Module HCL HCLOUD

Kubernetes (k3s) Terraform installer for Hetzner Cloud

Install
module "k3s" {
source = "cicdteam/k3s/hcloud"
version = "0.1.2"
}
⭐ Source on GitHub 📦 Registry page
README

Kubernetes (k3s) Terraform installer for Hetzner Cloud This Terraform module creates a Kubernetes Cluster on Hetzner Cloud infrastructure running Ubuntu 20.04. The cluster is designed to take advantage of the Hetzner private network, and is equiped with Hetzner specific cluster enhancements. Cluster size and instance types are configurable through Terraform variables. Install Prerequisites Terraform must be installed Bash must be installed SSH should be installed and configured with an SSH Key and Agent (Recommended) Having kubectl installed is recommended Note that you'll need Terraform v0.12 or newer to run this project. Hetzner Cloud API Token Before running the project you'll have to create an access token for Terraform to connect to the Hetzner Cloud API. ``bash read -sp "Hetzner Clou

Inputs (8)
NameTypeDescriptionDefault
ssh_keyslistList of public ssh_key ids required
hcloud_tokenstringHetzner cloud auth token required
k3s_channelstring"stable"
node_groupsmap(string)Map of worker node groups, key is server_type, value is count of nodes in group{ "cx21": 1 }
cluster_namestringCluster name (prefix for all resource names)"hetzner"
datacenterstringHetzner datacenter where resources resides, hel1-dc2 (Helsinki 1 DC 2) or fsn1-d"hel1-dc2"
imagestringNode boot image"ubuntu-20.04"
master_typestringMaster node type (size)"cx21"
Outputs (2)
master_ipv4 — Public IP Address of the master node
nodes_ipv4 — Public IP Address of the worker nodes in groups
Resources (3)
hcloud_networkhcloud_network_subnetrandom_string
Details
FrameworkTerraform Module
LanguageHCL
Version0.1.2
Cloud HCLOUD
★ Stars77
Forks27
Total downloads3.6k
Inputs8
Outputs2
Resources3
Submodules3
LicenseMIT
Namespacecicdteam
Updated