Создать GitRepository источник flux
Зарегистрировать git-репозиторий как источник Flux
flux create source git <name> --url=https://github.com/org/repo --branch=main -n flux-system
more flux
all 29 commands →
Создать HelmRepository источник
flux create source helm <name> --url=https://charts.example.com -n flux-system
Создать HelmRelease
flux create helmrelease <name> --source=HelmRepository/<repo> --chart=<chart> --chart-version='>=1.0.0' -n <ns>
События Flux
kubectl get events -n flux-system --sort-by='.lastTimestamp' | tail -20
Удалить ресурс Flux
flux delete kustomization <name> -n <ns>
Image update автоматизация
flux create image update <name> --git-repo-ref=<repo> --git-repo-path=./deploy --checkout-branch=main --push-branch=main -n flux-system