36 lines
1.4 KiB
YAML
36 lines
1.4 KiB
YAML
# 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
|
|
USB_SCRATCH_DEFAULT_LABEL=atlas-scratch
|
|
USB_SCRATCH_DEFAULT_FSTYPE=ext4
|
|
USB_SCRATCH_MOUNTPOINT=/mnt/usb-scratch
|
|
USB_SCRATCH_REQUIRED_FREE_GIB=20
|
|
USB_SCRATCH_RECONCILE_INTERVAL_SEC=900
|
|
USB_SCRATCH_CUTOVER_JITTER_MAX_SEC=900
|
|
usb_scratch_inventory.tsv: |
|
|
# node_name enabled match_kind match_value fstype
|
|
# match_kind: uuid | label | device
|
|
# Prefer UUID entries for the first rollout. A shared label works too if every Pi USB stick is formatted consistently.
|
|
# Example:
|
|
# titan-04 true uuid 11111111-2222-3333-4444-555555555555 ext4
|
|
# titan-05 true label atlas-scratch ext4
|
|
# titan-06 true label atlas-scratch ext4
|
|
# titan-07 true label atlas-scratch ext4
|
|
# titan-08 true label atlas-scratch ext4
|
|
# titan-09 true label atlas-scratch ext4
|
|
# titan-10 true label atlas-scratch ext4
|
|
# titan-11 true label atlas-scratch ext4
|
|
# titan-12 true label atlas-scratch ext4
|
|
# titan-13 true label atlas-scratch ext4
|
|
# titan-14 true label atlas-scratch ext4
|
|
# titan-15 true label atlas-scratch ext4
|
|
# titan-17 true label atlas-scratch ext4
|
|
# titan-18 true label atlas-scratch ext4
|
|
# titan-19 true label atlas-scratch ext4
|