Update config.toml

This commit is contained in:
2026-01-14 17:06:39 +00:00
parent 525268b094
commit 9e3e794971

View File

@@ -1,40 +1,45 @@
[k0s] # k0s general settings
[k0s] # Global settings.
version = "v1.34.3+k0s.0"
api_ip = "10.1.0.10" # IPv4 address for service high-availability
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"
ip_range = "1192.168.1.0/24" # External IP range for public access
[nodes] # Cluster hardware deployment configuartion
ssh_user = "root" # controller and worker node SSH login information.
ssh_port = "22"
ssh_key = "~/.ssh/id_rsa"
ip_range = "10.1.0.0/24" # Node private IPv4 range in CIDR format
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"
ssh.user = "root" # Proxy node SSH login information.
ssh.port = "22"
ssh.key = "~/.ssh/id_rsa"
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.
keepalived.id = "100" # VRRP ID Number.
keepalived.auth = "4PycOh7xM" # VRRP Password.
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"
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.
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"
[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"
ssh.user = "example_user"
ssh.port = "22"
ssh.host = "ssh-1.homelab.local"
ssh.key = "~/.ssh/id_rsa"