119 lines
3.1 KiB
YAML
119 lines
3.1 KiB
YAML
# 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
|
|
boot_overlay: overlays/rpi5-boot
|
|
root_overlay: overlays/rpi5-root
|
|
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
|
|
boot_overlay: overlays/rpi4-boot
|
|
root_overlay: overlays/rpi4-root
|
|
default_labels:
|
|
hardware: rpi4
|
|
longhorn: "true"
|
|
node-role.kubernetes.io/worker: "true"
|
|
default_taints: []
|
|
- name: rpi4-armbian-worker
|
|
arch: arm64
|
|
os: armbian-6.6
|
|
image: https://harbor.bstein.dev/library/rpi4-armbian-worker.img
|
|
checksum: sha256:REPLACE_ME
|
|
boot_overlay: overlays/rpi4-boot
|
|
root_overlay: overlays/rpi4-root
|
|
default_labels:
|
|
hardware: rpi4
|
|
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
|
|
boot_overlay: overlays/cp-boot
|
|
root_overlay: overlays/cp-root
|
|
default_labels:
|
|
node-role.kubernetes.io/control-plane: "true"
|
|
default_taints:
|
|
- node-role.kubernetes.io/control-plane:NoSchedule
|
|
- name: jetson-accelerator
|
|
arch: arm64
|
|
os: ubuntu-20.04-tegra
|
|
image: https://harbor.bstein.dev/library/jetson-accelerator.img
|
|
checksum: sha256:REPLACE_ME
|
|
boot_overlay: overlays/jetson-boot
|
|
root_overlay: overlays/jetson-root
|
|
default_labels:
|
|
accelerator: nvidia
|
|
jetson: "true"
|
|
node-role.kubernetes.io/accelerator: ""
|
|
default_taints: []
|
|
|
|
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
|
|
- name: titan-16
|
|
class: rpi4-armbian-worker
|
|
hostname: titan-16
|
|
ip: 192.168.22.44
|
|
k3s_role: agent
|
|
labels:
|
|
hardware: rpi4
|
|
usb_scratch:
|
|
mountpoint: /mnt/scratch
|
|
label: titan-16-scratch
|
|
fs: ext4
|
|
bind_targets:
|
|
- /var/lib/rancher
|
|
- /var/log
|
|
ssh_user: ubuntu
|
|
- name: titan-20
|
|
class: jetson-accelerator
|
|
hostname: titan-20
|
|
ip: 192.168.22.20
|
|
k3s_role: agent
|
|
labels:
|
|
accelerator: nvidia
|
|
jetson: "true"
|
|
ssh_user: ubuntu
|
|
- name: titan-21
|
|
class: jetson-accelerator
|
|
hostname: titan-21
|
|
ip: 192.168.22.21
|
|
k3s_role: agent
|
|
labels:
|
|
accelerator: nvidia
|
|
jetson: "true"
|
|
ssh_user: ubuntu
|