Экспорт всех ресурсов Flux flux
Бэкап текущего конфига Flux как YAML для бутстрапа другого кластера
flux export kustomization --all > clusters/cluster.yaml
more flux
all 29 commands →
Бутстрап с GitHub
flux bootstrap github --owner=<org> --repository=<repo> --branch=main --path=clusters/production --personal
Создать GitRepository источник
flux create source git <name> --url=https://github.com/org/repo --branch=main -n flux-system
Создать 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