I am learning flux cd and I am a liitle bit confused about the installation.
first I install flux then use bootstrap command and a namespace flux-system is created in my k8s cluster which I didn’t include in either steps.
my question is how flux cd determine the cluster and use it and what if I have multiple clusters?
I believe it looks at your ~/.kube/config file and goes from there. Are you running a lab (in which case, what lab – a link to it is very helpful), or are you just using the Flux docs to do this?
Thank you. This is correct it looks at the default kube config file and if you are using a customized file you should add the path to it as an env variable, so FLUX can look at it.
I am watching GitOps with FluxCD course on kodekloud. is that what you are asking about?