Why FluxCD
Flux is a CNCF GitOps toolkit — modular, composable controllers that sync Git repos, Helm charts, OCI artifacts, and Kustomize overlays to Kubernetes. It is the GitOps standard alongside Argo CD.
Install
brew install fluxcd/tap/flux
flux install
Bootstrap with GitHub
flux bootstrap github \
--owner=myorg \
--repository=fleet-infra \
--path=clusters/production \
--personal
Git Repository Source
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: my-app
namespace: flux-system
spec:
interval: 1m
url: https://github.com/myorg/my-app
ref:
branch: main
Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: my-app
namespace: flux-system
spec:
interval: 5m
targetNamespace: production
sourceRef:
kind: GitRepository
name: my-app
path: ./k8s
prune: true
healthChecks:
- apiVersion: apps/v1
kind: Deployment
name: my-app
namespace: production
Helm Release
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: redis
spec:
interval: 10m
chart:
spec:
chart: redis
version: "18.x"
sourceRef:
kind: HelmRepository
name: bitnami
values:
architecture: standalone
Key Features
- Modular — source, kustomize, helm, notification controllers
- Multi-tenancy — namespace-scoped reconciliation
- Notifications — Slack, Teams, Discord, GitHub
- Image automation — auto-update image tags in Git
- OCI artifacts — sync from container registries
- CNCF Graduated — production standard
Resources
Need to extract GitOps data, Helm chart info, or deployment history? Check out my Apify tools or email spinov001@gmail.com for custom solutions.
Top comments (0)