Skip to content

ashevtsov-mt/flux-get-started

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

flux-get-started

We published a step-by-step run-through on how to use Flux and Helm Operator over here.

K8s cluster setup on Docker Desktop for Mac

# References
# https://docs.fluxcd.io/en/latest/tutorials/get-started.html
# https://github.com/fluxcd/helm-operator/blob/master/chart/helm-operator/README.md

kubectl -n kube-system create sa tiller

kubectl create clusterrolebinding tiller-cluster-rule \
    --clusterrole=cluster-admin \
    --serviceaccount=kube-system:tiller

helm init --skip-refresh --upgrade --service-account tiller --history-max 10 --wait

helm repo add fluxcd https://charts.fluxcd.io

helm repo update

kubectl apply -f https://raw.githubusercontent.com/fluxcd/flux/helm-0.10.1/deploy-helm/flux-helm-release-crd.yaml

kubectl create ns fluxcd

helm install --name flux --namespace fluxcd --wait fluxcd/flux \
  --set git.email="[email protected]" \
  --set [email protected]:ashevtsov-mt/flux-get-started \
  --set git.user="Flux" \
  --set helmOperator.create=true \
  --set helmOperator.createCRD=false

kubectl -n fluxcd rollout status deployment/flux

fluxctl identity --k8s-fwd-ns fluxcd

Helm releases

Elasticsearch

  • Source: Helm repository (elastic.co)
  • Kubernetes deployment
  • automated image updates

Kibana

  • Source: Helm repository (elastic.co)
  • Kubernetes deployment
  • automated image updates

Fluentd

  • Source: Helm repository (stable)
  • Kubernetes deployment
  • automated image updates

Getting Help

If you have any questions about, feedback for or problems with flux-get-started:

Your feedback is always welcome!

About

Getting started with Flux and the Helm Operator

Resources

License

Stars

Watchers

Forks

Packages

No packages published