homelab-codex-ws/hosts/vps/host.yaml
oskar 644f32d2f7 feat(hosts): add os_hostname field to all host.yaml files
Declares the real OS-level hostname for each node so deploy-node.sh
can resolve the correct hosts/ directory without assuming
OS-hostname == logical name. Only VPS differs: its OS hostname is
ubuntu-4gb-hel1-1 while the repo directory is hosts/vps/.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-24 22:24:34 +02:00

29 lines
713 B
YAML

hostname: vps
os_hostname: ubuntu-4gb-hel1-1
roles:
- edge
- ingress
network:
tailscale_ip: 100.95.58.48
deployment:
mode: pull
managed_by: saturn
runtime:
root: /opt/homelab
# Celowy stan host-level (poza GitOps — zakładany ręcznie, udokumentowany żeby przy
# odtwarzaniu VPS nie zniknął cicho; wzorzec jak oskar∈aerbot po 8-dniowej awarii).
# Szczegóły i weryfikacja: docs/sessions/2026-06-22.md.
host_state:
swap:
file: /swapfile
size: 4G
persistent: true # wpis w /etc/fstab
swappiness: 10 # vm.swappiness w /etc/sysctl.conf
applied: 2026-06-22
reason: precondition pod Prometheusa na RAM-ciasnym VPS (3.7 GB); zapobiega OOM (2026-06-01)