-
We encounter a major issue when install flux cli locally after replacing a new laptop within the organisation. It seems every-time we run "flux install" command, it not only installed the latest version to our locally machine, but also automatically upgraded flux version in our kubernetes cluster which caused lots of incompatibility issues. Just wondering what is the best practise to install flux locally without impacting our server? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hello, the local Flux installation is usually accomplished with a package manager tool such as brew, nix, or chocolatey – the https://fluxcd.io/flux/installation/#install-the-flux-cli The command https://fluxcd.io/flux/flux-gh-action/#automate-flux-updates You should not run If normal devs have that kind of access outside of a dev and test environment, I would say there is something wrong with the configuration. We would like to update the docs to reflect this better and more consistently, that You should never In general understand that You can do upgrades either way. |
Beta Was this translation helpful? Give feedback.
-
This helped me understood better how some of the flux command works |
Beta Was this translation helpful? Give feedback.
Hello, the local Flux installation is usually accomplished with a package manager tool such as brew, nix, or chocolatey – the
flux install
command doesn't serve any function to install or upgrade the cli itself:https://fluxcd.io/flux/installation/#install-the-flux-cli
The command
flux install
isn't generally meant to be used except for with the--export
command, like in the getting started guide or in the Flux GitHub Action where you can use it to generate the manifests for upgrading Flux outside of a normal bootstrap process.https://fluxcd.io/flux/flux-gh-action/#automate-flux-updates
You should not run
flux install
against a live cluster, and for production clusters you typically shou…