Added playbook and role for k8s-ha-api

This commit is contained in:
2025-08-23 13:39:33 +03:00
parent fb73056312
commit 8efad362a0
10 changed files with 118 additions and 0 deletions

View File

@ -0,0 +1,15 @@
---
pkg_list:
- haproxy
- keepalived
haproxy_bind_port: "8443"
haproxy_backend_server:
- { backend_name: "k8s-cr01", backend_ip: "192.168.111.191", backend_port: "6443"}
- { backend_name: "k8s-cr02", backend_ip: "192.168.111.192", backend_port: "6443"}
- { backend_name: "k8s-cr03", backend_ip: "192.168.111.193", backend_port: "6443"}
keepalived_vip: "192.168.111.100/24"
keepalived_auth_pass: "1q2w3e4r"