Separate from Kubernetes repo

This commit is contained in:
2024-08-12 21:36:48 +03:00
commit 55f95641ca
14 changed files with 1080 additions and 0 deletions

117
inventory.yaml Normal file
View File

@@ -0,0 +1,117 @@
---
all:
vars:
admins:
- lauri
- eaas
children:
# Documentation at
# https://wiki.k-space.ee/en/hosting/storage
nasgroup:
hosts:
nas.k-space.ee:
ansible_host: 172.23.0.7
offsite:
ansible_host: 78.28.64.17
ansible_port: 10648
admins:
- lauri
vars:
offsite_dataset: offsite/backup_zrepl
misc:
children:
nasgroup:
hosts:
ns1.k-space.ee:
ansible_host: 172.20.0.2
worker99.codemowers.cloud:
# Nvidia Tegra Jetson-AGX
ansible_host: 172.20.5.99
# Proxmox aka PVE (Proxmox Virtualization Environment) documented
# https://wiki.k-space.ee/hosting/proxmox
proxmox:
vars:
admins:
- lauri
- eaas
- rasmus
hosts:
pve1:
ansible_host: 172.21.20.1
pve2:
ansible_host: 172.21.20.2
pve8:
ansible_host: 172.21.20.8
pve9:
ansible_host: 172.21.20.9
# Kubernetes cluster setup documented at
# https://git.k-space.ee/k-space/kube
kubernetes:
children:
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
kubelets:
children:
# Monitoring nodes are hosted in privileged VLAN to scrape UPS-es
mon:
hosts:
mon1.kube.k-space.ee:
ansible_host: 172.21.3.61
mon2.kube.k-space.ee:
ansible_host: 172.21.3.62
mon3.kube.k-space.ee:
ansible_host: 172.21.3.63
# Longhorn nodes
storage:
hosts:
storage1.kube.k-space.ee:
ansible_host: 172.21.3.71
storage2.kube.k-space.ee:
ansible_host: 172.21.3.72
storage3.kube.k-space.ee:
ansible_host: 172.21.3.73
storage4.kube.k-space.ee:
ansible_host: 172.21.3.74
# Workers run bulk of the applications
workers:
hosts:
worker1.kube.k-space.ee:
ansible_host: 172.20.3.81
worker2.kube.k-space.ee:
ansible_host: 172.20.3.82
worker3.kube.k-space.ee:
ansible_host: 172.20.3.83
worker4.kube.k-space.ee:
ansible_host: 172.20.3.84
# For more information regarding door management refer to
# https://wiki.k-space.ee/en/hosting/doors
doors:
vars:
admins:
- arti
- lauri
- eaas
hosts:
grounddoor:
ansible_host: 100.102.3.1
frontdoor:
ansible_host: 100.102.3.2
backdoor:
ansible_host: 100.102.3.3
workshopdoor:
ansible_host: 100.102.3.4