1.3 KiB
1.3 KiB
title, category, tags, created, modified
| title | category | tags | created | modified | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| GitOps Workflow | concepts |
|
2026-07-24 | 2026-07-24 |
GitOps Workflow
Prinzip
Infra-Changes bevorzugt über GitOps. Geht nicht immer. Ausnahmen müssen von Dominik freigegeben werden.
Workflow
- IaC Repo lokal auschecken (
/root/iac-homelabauf VM200) - Ändern (Tofu/Ansible/K8s Manifeste)
- Commit + Push zum EINEN kanonischen Remote:
ssh://git@10.0.30.202:22/dominik/iac-homelab.git(Dual-Push-Habit führte 09/26 zur Ghost-Regression über CT108 — NIEMALS wieder zweites Remote pflegen) - ArgoCD sync (oder auto-sync)
- Verify (kubectl get, curl, etc.)
- Lokale Kopie löschen
ArgoCD
- 15 Applications via SSH Deploy Keys
ssh://gitea@git.schoen.codes:22/dominik/iac-homelab.git--forcekann nicht mit ServerSideApply kombiniert werden- Bei hängendem Operation-State: App terminieren und neu anstoßen
IaC Tools
- OpenTofu: VM/CT Provisioning, GPU PCI Mapping
- Ansible: RKE2 Installation, Node Taints, Fluent Bit
- K8s Manifeste: clusters/main/apps/*.yaml
Was NICHT über GitOps geht
- Direkte DB-Operationen (SQL)
- Ceph
cephCLI Befehle - Proxmox
pct/qmLive-Operationen - Notfall-Reparaturen