Files
Multiplane/config.toml
2026-01-14 17:06:39 +00:00

45 lines
1.7 KiB
TOML

[k0s] # Global settings.
version = "v1.34.3+k0s.0"
iprange = "10.1.0.0/24" # Node private IPv4 range in CIDR format.
api = "10.1.0.10" # IPv4 address for service high-availability. ( See Line #17 )
[metallb] # Load balancer for external IP access
version = "v0.15.3"
iprange = "192.168.1.0/24" # External IP range for public access
[haproxy] # HAProxy nodes.
ssh.user = "root" # Proxy node SSH login information.
ssh.port = "22"
ssh.key = "~/.ssh/id_rsa"
keepalived.id = "100" # VRRP ID Number.
keepalived.auth = "4PycOh7xM" # VRRP Password.
proxy.one.ip = "10.1.0.8" # Proxy one IPv4
proxy.two.ip = "10.1.0.9" # Proxy two IPv4
proxy.kube.ip = "10.1.0.10" # VIP for kubernetes cluster API endpoint.
[nodes] # Cluster hardware deployment configuartion
ssh.user = "root" # controller and worker node SSH login information.
ssh.port = "22"
ssh.key = "~/.ssh/id_rsa"
interface.private = "eth0" # Cluster internal network interface name.
interface.public = "eth1" # Cluster public network interface name.
controller.one.ip = "10.1.0.11" # Controller nodes IPv4 addresses.
controller.two.ip = "10.1.0.12"
controller.three.ip = "10.1.0.13"
worker.one.ip = "10.1.0.14" # Worker nodes IPv4 addresses.
worker.two.ip = "10.1.0.15"
worker.three.ip = "10.1.0.16"
worker.four.ip = "10.1.0.17"
worker.five.ip = "10.1.0.18"
[bastion] # Enable for accessing nodes on secure networks that requires a bastion/jumphost for ssh access
enable = false
ssh.user = "example_user"
ssh.port = "22"
ssh.host = "ssh-1.homelab.local"
ssh.key = "~/.ssh/id_rsa"