40 lines
1.5 KiB
TOML
40 lines
1.5 KiB
TOML
[k0s] # k0s general settings
|
|
version = "v1.34.3+k0s.0"
|
|
api_ip = "10.1.0.10" # IPv4 address for service high-availability
|
|
|
|
[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
|
|
|
|
[haproxy] # HAProxy nodes.
|
|
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.
|
|
|
|
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" |