Updated README.md with flux cli commands to bootsrap monitoring
Added CLI commands to bootstrap all monitoring resources in this repo. Solves problem in case don't want to bootstrap new cluster (you already have your cluster bootstrapped)
Looked deprecated docs https://v2-0.docs.fluxcd.io/flux/guides/monitoring/ and there is no equivalent cli commands to inside updated docs.
Let me know if you want to any questions/formatting is correct/would like to add more changes
You shouldn't be using the create commands if you have bootstraped a cluster, all things should be committed to Git, that's the reason we remove the CLI commands. All you need is to copy this file https://github.com/fluxcd/flux2-monitoring-example/blob/main/clusters/test/monitoring.yaml and add the GitRepo defintion on top.
@matheuscscp All k8s objects came out just fine. I created all objects at the same time without wait command. So I guess that all flux object reconciled eventually. @stefanprodan I didn't see the that file. That exactly what I was looking to bootstrap monitoring for flux!
Looks that there is already solution for deploying all monitoring from monitoring.yaml. Would you like me to add that add inside README.md since it is not fully documented and it is not too obvious that this file exists? Otherwise we can close the pull request.
Also, thank you for your contributions, you make my life easier.
Looks that there is already solution for deploying all monitoring from monitoring.yaml. Would you like me to add that add inside README.md since it is not fully documented and it is not too obvious that this file exists?
@greenCircuit yes please, we also need to mention that people should add a GitRepository on top of the monitoring.yaml.