29 lines
1.4 KiB
HCL
29 lines
1.4 KiB
HCL
# K3s Server Configuration
|
|
server_ip = "reg.benadis.org" # Replace with your server IP
|
|
worker_ips = [ # Replace with your worker IPs
|
|
# "worker1.benadis.org",
|
|
"worker2.benadis.org"
|
|
]
|
|
ssh_user = "root" # Replace with your SSH username
|
|
ssh_private_key = "~/.ssh/id_rsa" # Path to your private SSH key
|
|
replace_url = "reg.benadis.org" # Optional: URL to replace in kubeconfig, leave empty to use server_ip
|
|
|
|
# Cluster Configuration
|
|
domain = "reg.benadis.org" # Your domain name
|
|
k3s_version = "v1.32.3+k3s1" # K3s version to install
|
|
k3s_channel = "stable" # K3s release channel
|
|
kubeconfig_path = "./k3s.yaml" # Where to save kubeconfig
|
|
node_token_path = "./tmp/node-token" # Where to save node token
|
|
|
|
# Optional Features
|
|
enable_traefik_dashboard = false # Enable Traefik dashboard
|
|
enable_ssl = false # Enable SSL
|
|
ssl_cert_path = "~/.tls/wildcard.benadis.org.crt" # Path to SSL certificate
|
|
ssl_key_path = "~/.tls/wildcard.benadis.org.key" # Path to SSL key
|
|
install_argocd = false # Install ArgoCD
|
|
enable_ssh_tunnel = false # Enable SSH tunneling
|
|
|
|
# Advanced Configuration
|
|
k3s_extra_server_args = "" # Extra args for K3s server
|
|
k3s_extra_agent_args = "" # Extra args for K3s agent
|