...
Code Block |
---|
flux reconcile ks flux-system --with-source |
Helpfull Commands
Command | Description |
---|---|
flux uninstall | Remove flux installation |
flux get helmreleases flux get hr | List the helmreleases |
flux reconcile ks flux-system --with-source | Force a reconcile |
kubectl describe helmrelease <HR_NAME> -n flux-system | Get details of a helm release. |
kubectl logs -f -n flux-system deployment/source-controller | See logs for source-controller |
Debugging a Failed Helm Release
...
Code Block | ||
---|---|---|
| ||
# get list of helmreleases $ flux get hr -A # get details about the helmrelease $ kubectl describe helmrelease <HR_NAME> -n flux-system # See logs in source controller $ kubectl logs -f -n flux-system deployment/source-controller |
Force a reconcile
Code Block |
---|
flux reconcile ks flux-system --with-source |
Delete a helm release and reconcile
Code Block |
---|
kubectl -n fluxsystem delete hr <HR_NAME>
flux reconcile ks flux-system --with-source |
References
References | URL |
---|---|
Flux2 Docs | https://fluxcd.io/docs/ |
Supercharge your Kubernetes deployments with Flux v2 and GitHub - Introduction | https://www.youtube.com/watch?v=N6UCKF7JD7k |
Get Started with Flux | https://fluxcd.io/docs/get-started/ |
Install the Flux CLI | https://fluxcd.io/docs/installation/#install-the-flux-cli |
flux2-kustomize-helm-example | https://github.com/fluxcd/flux2-kustomize-helm-example |
...