# services/maintenance/pi-usb-scratch-configmap.yaml apiVersion: v1 kind: ConfigMap metadata: name: pi-usb-scratch-config namespace: maintenance data: usb_scratch.env: | USB_SCRATCH_DEFAULT_ENABLED=true # Leave empty to avoid label-based fallback selection. USB_SCRATCH_DEFAULT_LABEL= USB_SCRATCH_DEFAULT_FSTYPE=ext4 USB_SCRATCH_MOUNTPOINT=/mnt/astraios # Auto-select the removable 64GB USB partition on each worker. USB_SCRATCH_AUTO_SELECT_REMOVABLE=true USB_SCRATCH_AUTO_MIN_SIZE_GIB=50 # One-time bootstrap for new sticks that ship exfat/fat32. USB_SCRATCH_AUTO_FORMAT_REMOVABLE=true USB_SCRATCH_AUTO_FORMAT_LABEL=astraios # Keep /tmp in RAM to reduce SD-card writes. USB_SCRATCH_ENFORCE_TMPFS_TMP=true USB_SCRATCH_REQUIRED_FREE_GIB=20 USB_SCRATCH_RECONCILE_INTERVAL_SEC=900 # Keep this at 0 so the initial cluster-wide cutover completes quickly. USB_SCRATCH_CUTOVER_JITTER_MAX_SEC=0 usb_scratch_inventory.tsv: | # node_name enabled match_kind match_value fstype # match_kind: uuid | label | device # Astraios policy: # - use UUID entries per worker node (preferred) # - avoid shared labels to prevent accidental wrong-device mounts # - mountpoint is /mnt/astraios on every worker node # Example: # titan-04 true uuid 11111111-2222-3333-4444-555555555555 ext4 # titan-05 true uuid ext4 # titan-06 true uuid ext4 # titan-07 true uuid ext4 # titan-08 true uuid ext4 # titan-09 true uuid ext4 # titan-10 true uuid ext4 # titan-11 true uuid ext4 # titan-12 true uuid ext4 # titan-13 true uuid ext4 # titan-14 true uuid ext4 # titan-15 true uuid ext4 # titan-16 true uuid ext4 # titan-17 true uuid ext4 # titan-18 true uuid ext4 # titan-19 true uuid ext4