k8s/inventory/prod/hosts.yml
mrwho b32ea30345 refactor(infra): restructure inventory and update dependencies
- rename manager node and update host FQDNs in inventory
- enable multiple worker nodes by commenting out secondary disk
- standardize k8s configuration file paths with numeric prefixes
- disable k9s permissions step in manager role
- upgrade Longhorn chart to v1.12.0 and Traefik chart to v41.0.2
- update Traefik port_map with protocol and add forgejo service
- refine Traefik logging configuration to use new JSON format
- increase Longhorn disk probe retries and delays
- add placeholder directory for k8s_manager files
2026-07-16 21:28:44 +03:00

30 lines
816 B
YAML

---
all:
children:
# Operator workstation: kubectl, helm, k9s
manager_nodes:
hosts:
mgmt.local.mrwho.ru:
ansible_host: 172.20.21.199
# Kubernetes cluster nodes
k8s_cluster:
children:
control_plane:
hosts:
k8s-master-01.local.mrwho.ru:
ansible_host: 172.20.21.200
workers:
hosts:
k8s-worker-01.local.mrwho.ru:
ansible_host: 172.20.21.201
longhorn_disks:
- device: /dev/sdb
mountpoint: /mnt/longhorn-disk1
# children:
# # Workers with an NVIDIA GPU attached (device plugin + node label)
# gpu_workers:
# hosts:
# k8s-worker-02:
# ansible_host: 10.203.0.212