Flux CD
Easy
Commands
Which Flux CLI command rewrites the Flux manifests in a Git checkout to the latest API versions before an upgrade?
Select your answer:
Show answer and explanation
Answer: flux migrate -f .
Explanation
With -f, flux migrate rewrites the Flux custom resources in the files under that path to the latest API versions and removes spec fields the new version no longer has. Without -f, it migrates the objects stored in the cluster instead. flux install --export only prints the controller manifests.
More easy Flux CD questions
- What is Flux CD?
- With Flux, how do changes in Git reach the cluster?
- Which Flux controller fetches Git repositories, OCI artifacts and Helm charts for the other controllers?
- Which Flux custom resource applies the Kubernetes manifests found at a path in a source?
- Which command checks that a cluster meets Flux's requirements before you install it?
- What does 'flux bootstrap github' do?