From 552f7eebffbf27e337276ba322ac7fd60907c3da Mon Sep 17 00:00:00 2001 From: rasmus Date: Sat, 2 Aug 2025 21:10:10 +0300 Subject: [PATCH] inventory tiny refactor --- inventory.yaml | 81 ++++++++++++++++++++++---------------------------- 1 file changed, 36 insertions(+), 45 deletions(-) diff --git a/inventory.yaml b/inventory.yaml index 37a1491..1395d3a 100644 --- a/inventory.yaml +++ b/inventory.yaml @@ -7,22 +7,7 @@ all: - arti 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: - children: - nasgroup: hosts: ns1.k-space.ee: ansible_host: 172.20.0.2 @@ -34,9 +19,20 @@ all: - eaas - lauri - # previously known also as nfs nas - external.kube.k-space.ee: - ansible_host: 172.21.3.101 + children: + # Documentation at + # 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 # https://wiki.k-space.ee/hosting/proxmox @@ -63,36 +59,31 @@ all: proxmox: # Kubernetes cluster setup documented at # https://git.k-space.ee/k-space/kube - kubernetes: + kubelets: 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: - masters: + coralworkers: 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: - 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 + worker91.kube.k-space.ee: + snaible_host: 172.21.8.91 # For more information regarding door management refer to # https://wiki.k-space.ee/en/hosting/doors