diff --git a/clusters/common.yaml b/clusters/common.yaml new file mode 100644 index 0000000..9a92461 --- /dev/null +++ b/clusters/common.yaml @@ -0,0 +1,43 @@ +kubeconfig_path: "~/.kube/config" +k3s_version: v1.31.3+k3s1 + +networking: + ssh: + port: 2244 + use_agent: false + public_key_path: "~/.ssh/homelab.pub" + private_key_path: "~/.ssh/homelab" + allowed_networks: + ssh: + - 0.0.0.0/0 + api: + - 0.0.0.0/0 + public_network: + ipv4: true + ipv6: true + private_network: + enabled: true + subnet: 10.0.0.0/16 + cni: + enabled: true + encryption: true + mode: cilium + +datastore: + mode: etcd + +schedule_workloads_on_masters: true + +image: ubuntu-24.04 + +masters_pool: + instance_type: cx32 + instance_count: 3 + location: nbg1 + +kube_cloud_controller_manager_args: + networking: + enabled: true + env: + - name: HCLOUD_LOAD_BALANCERS_ENABLED + value: false diff --git a/clusters/dev.yaml b/clusters/dev.yaml new file mode 100644 index 0000000..dfc17df --- /dev/null +++ b/clusters/dev.yaml @@ -0,0 +1,4 @@ +cluster_name: dev +networking: + private_network: + subnet: 10.2.0.0/16 diff --git a/clusters/prod.yaml b/clusters/prod.yaml new file mode 100644 index 0000000..ff32e9c --- /dev/null +++ b/clusters/prod.yaml @@ -0,0 +1 @@ +cluster_name: prod