Search⌘ K
AI Features

Flux Source

Explore how to create and configure Flux sources that connect your Kubernetes cluster to a Git repository storing the desired system state. Learn to use the Flux CLI to create GitRepository resources, commit configurations to the Flux management repository, and verify deployment. This lesson helps you understand the essential steps in establishing a GitOps workflow using Flux to automate cluster management.

Flux source

After Flux is installed on a cluster, the next step is configuring a source. A source provides connection information to a repository that stores the desired state of our system, which Flux will eventually apply to the cluster. Once a source resource is created on the cluster, the Flux SourceController will begin to monitor the repository configured in the source to detect any changes to the desired state. In this way, a source connects Flux to the repository storing the desired state.

When Flux is configured to monitor a source, the connection is read-only, so there is no concern that Flux might change the desired state in the repository. When a ...