inventory tiny refactor

This commit is contained in:
2025-08-02 21:10:10 +03:00
parent 651b59408b
commit 552f7eebff

View File

@@ -7,22 +7,7 @@ all:
- arti - arti
children: children:
# Documentation at
# https://wiki.k-space.ee/en/hosting/storage
nasgroup:
hosts:
nas.k-space.ee:
ansible_host: 172.21.0.7
offsite:
ansible_host: 192.168.30.40
admins:
- eaas
vars:
offsite_dataset: offsite/backup_zrepl
misc: misc:
children:
nasgroup:
hosts: hosts:
ns1.k-space.ee: ns1.k-space.ee:
ansible_host: 172.20.0.2 ansible_host: 172.20.0.2
@@ -34,9 +19,20 @@ all:
- eaas - eaas
- lauri - lauri
# previously known also as nfs nas children:
external.kube.k-space.ee: # Documentation at
ansible_host: 172.21.3.101 # https://wiki.k-space.ee/en/hosting/storage
nasgroup:
hosts:
# previously known as nfs, nas
external.kube.k-space.ee:
ansible_host: 172.21.3.101
offsite:
ansible_host: 192.168.30.40
admins:
- eaas
vars:
offsite_dataset: offsite/backup_zrepl
# Proxmox aka PVE (Proxmox Virtualization Environment) documented # Proxmox aka PVE (Proxmox Virtualization Environment) documented
# https://wiki.k-space.ee/hosting/proxmox # https://wiki.k-space.ee/hosting/proxmox
@@ -63,36 +59,31 @@ all:
proxmox: proxmox:
# Kubernetes cluster setup documented at # Kubernetes cluster setup documented at
# https://git.k-space.ee/k-space/kube # https://git.k-space.ee/k-space/kube
kubernetes: kubelets:
children: children:
kubelets: masters:
hosts:
master1.kube.k-space.ee:
ansible_host: 172.21.3.51
master2.kube.k-space.ee:
ansible_host: 172.21.3.52
master3.kube.k-space.ee:
ansible_host: 172.21.3.53
workers:
hosts:
worker1.kube.k-space.ee:
ansible_host: 172.21.3.81
worker2.kube.k-space.ee:
ansible_host: 172.21.3.82
worker3.kube.k-space.ee:
ansible_host: 172.21.3.83
worker4.kube.k-space.ee:
ansible_host: 172.21.3.84
children: children:
masters: coralworkers:
hosts: hosts:
master1.kube.k-space.ee: worker91.kube.k-space.ee:
ansible_host: 172.21.3.51 snaible_host: 172.21.8.91
master2.kube.k-space.ee:
ansible_host: 172.21.3.52
master3.kube.k-space.ee:
ansible_host: 172.21.3.53
workers:
hosts:
worker1.kube.k-space.ee:
ansible_host: 172.21.3.81
worker2.kube.k-space.ee:
ansible_host: 172.21.3.82
worker3.kube.k-space.ee:
ansible_host: 172.21.3.83
worker4.kube.k-space.ee:
ansible_host: 172.21.3.84
children:
coralworkers:
hosts:
worker91.kube.k-space.ee:
snaible_host: 172.21.8.91
# This is Raspberry Pi 400 arm64 worker, it died and has been removed from cluster.
# worker9.kube.k-space.ee:
# ansible_host: 172.21.3.89
# For more information regarding door management refer to # For more information regarding door management refer to
# https://wiki.k-space.ee/en/hosting/doors # https://wiki.k-space.ee/en/hosting/doors