RKE is a Terraform module useful for bootstraping HA kubernetes clusters using k3s and rke2 on HCloud
These modules will be installed and configured on the cluster:
Add the required configurations to your terraform config file and install module using command bellow:
terraform init
module "rke" {
source = "cktf/rke/hcloud"
name = "mycluster"
network_id = module.network_hcloud.network_id
hcloud_token = "<HCLOUD_TOKEN>"
masters = {
1 = {
type = "cx11"
location = "fsn1"
tags = {}
}
}
node_pools = {
pool1 = {
type = "cx11"
location = "fsn1"
min_size = 3
max_size = 5
}
pool2 = {
type = "cx11"
location = "fsn1"
min_size = 2
max_size = 5
}
}
}
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
This project is licensed under the MIT.
Copyright (c) KoLiBer ([email protected])