kube/ansible/inventory.yml

84 lines
3.0 KiB
YAML
Raw Normal View History

# This file is linked from /README.md as 'all infra'.
##### Not otherwise linked:
# Homepage: https://git.k-space.ee/k-space/homepage (on GitLab)
# Slack: https://k-space-ee.slack.com
2024-08-08 09:40:54 +00:00
# Routers/Switches: https://git.k-space.ee/k-space/rosdump
2023-08-10 16:35:17 +00:00
all:
vars:
admins:
- lauri
- eaas
extra_admins: []
2024-07-28 19:28:30 +00:00
2023-08-10 16:35:17 +00:00
children:
# https://wiki.k-space.ee/en/hosting/storage
2024-07-27 20:49:45 +00:00
nasgroup:
hosts:
2024-07-28 19:28:30 +00:00
nas.k-space.ee: { ansible_host: 172.23.0.7 }
2024-07-27 20:49:45 +00:00
offsite:
ansible_host: 78.28.64.17
ansible_port: 10648
vars:
offsite_dataset: offsite/backup_zrepl
misc:
2024-07-27 20:49:45 +00:00
children:
nasgroup:
2023-08-19 18:31:30 +00:00
hosts:
# https://git.k-space.ee/k-space/kube: bind/README.md (primary DNS, PVE VM)
2024-07-28 19:28:30 +00:00
ns1.k-space.ee: { ansible_host: 172.20.0.2 }
# https://wiki.k-space.ee/hosting/proxmox (depends on nas.k-space.ee)
proxmox: # aka PVE, Proxmox Virtualization Environment
vars:
extra_admins:
- rasmus
hosts:
2024-07-28 19:28:30 +00:00
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 }
# https://git.k-space.ee/k-space/kube: README.md
# CLUSTER.md (PVE VMs + external nas.k-space.ee)
kubernetes:
children:
masters:
hosts:
2024-07-28 19:28:30 +00:00
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:
mon: # they sit in a priviledged VLAN
hosts:
2024-07-28 19:28:30 +00:00
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 }
storage: # longhorn, to be replaced with a more direct CSI
hosts:
2024-07-28 19:28:30 +00:00
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:
hosts:
2024-07-28 19:28:30 +00:00
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 }
2024-08-08 19:39:35 +00:00
worker9.kube.k-space.ee: { ansible_host: 172.21.3.89 } # Nvidia Tegra Jetson-AGX
2024-07-28 19:28:30 +00:00
# https://wiki.k-space.ee/en/hosting/doors
# See also: https://git.k-space.ee/k-space/kube: camtiler/README.md
2023-08-10 16:35:17 +00:00
doors:
vars:
extra_admins:
- arti
2023-08-10 16:35:17 +00:00
hosts:
2024-07-28 19:28:30 +00:00
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 }