my-homelab-configs/bootstrap/platform/README.md

23 lines
944 B
Markdown

# Platform components
The platform stack keeps one OpenTofu state file, but Jeannie exposes isolated
component applies. A component apply passes only that component's resource
addresses as `-target` arguments; OpenTofu includes required dependencies and
does not apply unrelated platform resources.
Run these on the Debian homelab host with the active cluster profile:
```bash
LAB_CLUSTER_PROFILE=pimox ./jeannie platform monitoring
LAB_CLUSTER_PROFILE=pimox ./jeannie platform logging
LAB_CLUSTER_PROFILE=pimox ./jeannie platform argocd
LAB_CLUSTER_PROFILE=pimox ./jeannie platform all
```
Available components are `calico`, `metrics`, `dns`, `metallb`, `ingress`,
`storage`, `argocd`, `security`, `logging`, `monitoring`, and `tools`.
Targeted applies skip the legacy existing-resource adoption pass, which avoids
touching unrelated platform state during a small change. Use `platform all`
for the full reconciliation and adoption path.