metis/inventory.example.yaml

57 lines
1.5 KiB
YAML
Raw Normal View History

# Example inventory for Metis
classes:
- name: rpi5-ubuntu-worker
arch: arm64
os: ubuntu-24.04
image: https://harbor.bstein.dev/library/rpi5-ubuntu-worker.img
checksum: sha256:REPLACE_ME
default_labels:
hardware: rpi5
node-role.kubernetes.io/worker: "true"
default_taints: []
- name: rpi4-armbian-longhorn
arch: arm64
os: armbian-6.6
image: https://harbor.bstein.dev/library/rpi4-armbian-longhorn.img
checksum: sha256:REPLACE_ME
default_labels:
hardware: rpi4
longhorn: "true"
node-role.kubernetes.io/worker: "true"
default_taints: []
- name: control-plane
arch: arm64
os: ubuntu-24.04
image: https://harbor.bstein.dev/library/rpi5-ubuntu-control.img
checksum: sha256:REPLACE_ME
default_labels:
node-role.kubernetes.io/control-plane: "true"
default_taints:
- node-role.kubernetes.io/control-plane:NoSchedule
nodes:
- name: titan-04
class: rpi5-ubuntu-worker
hostname: titan-04
ip: 192.168.22.30
k3s_role: agent
labels:
hardware: rpi5
ssh_user: ubuntu
- name: titan-13
class: rpi4-armbian-longhorn
hostname: titan-13
ip: 192.168.22.41
k3s_role: agent
labels:
hardware: rpi4
longhorn: "true"
longhorn_disks:
- mountpoint: /mnt/astreae
uuid: 6031fa8b-f28c-45c3-b7bc-6133300e07c6
fs: ext4
- mountpoint: /mnt/asteria
uuid: cbd4989d-62b5-4741-8b2a-28fdae259cae
fs: ext4
ssh_user: root