Flux is a set of continuous and progressive delivery solutions for Kubernetes, and they are open and extensible.

sudo snap install fluxctl --classic
fluxctl version

kubectl create ns flux

export GHUSER=[Your GitHub Handle]
env | grep GHUSER

fluxctl install \
--git-user=${GHUSER} \
--git-email=${GHUSER}@users.noreply.github.com \
--git-url=git@github.com:${GHUSER}/content-gitops \
--git-path=namespaces,workloads \
--namespace=flux | kubectl apply -f -

kubectl -n flux rollout status deployment/flux

fluxctl identity --k8s-fwd-ns flux

# copy and add deploy keys into GitHub

fluxctl sync --k8s-fwd-ns flux

kubectl get namespaces
kubectl get pods --all-namespaces