What is GitOps:
GitOps is code-based infrastructure and operational procedures that rely on Git as a source control system. It’s an evolution of Infrastructure as Code (IaC) and a DevOps best practice that leverages Git as the single source of truth, and control mechanism for creating, updating, and deleting system architecture.
What is flux:
Flux is a tool for keeping Kubernetes clusters in sync with sources of configuration (like Git repositories), and automating updates to configuration when there is new code to deploy.
I have been in a position where I was familiar with kubernetes and helm, but not flux. I was viewing helm logs, that were generated by flux, and began to wonder how they were actually generated. Turns out that flux has controllers and there is a helm controllers that controls this.
I even asked about it in the online community, and got examples like:
- this ring buffer logger
- an example of it being put to use
- persistence to event data
Other than logs, things can also be captured in events for the HelmRelease object.
Overall, flux is an interesting product, and seems to not be going anywhere despite its parent company shutting down.