Skip to content

Instantly share code, notes, and snippets.

@mhmdio
Last active January 6, 2022 13:37
Show Gist options
  • Save mhmdio/d0cf5a077209796717cee902494c1235 to your computer and use it in GitHub Desktop.
Save mhmdio/d0cf5a077209796717cee902494c1235 to your computer and use it in GitHub Desktop.
FluxCD

minikube

Install

brew upgrade minikube
brew install kustomize
brew install hyperkit
brew install docker
brew install docker-compose
brew install docker-credential-helper
brew install fluxcd/tap/flux
minikube config set cpus 6
minikube config set memory 6g
minikube delete
minikube start --kubernetes-version=v1.22.3 --driver=hyperkit --container-runtime=docker
minikube addons enable ingress
minikube addons enable ingress-dns
minikube addons enable metallb

FluxCD

export GITHUB_TOKEN=<your-token>
export GITHUB_USER=mhmdio
flux check --pre
flux bootstrap github \
  --owner=$GITHUB_USER \
  --repository=fleet-infra \
  --branch=main \
  --path=./clusters/minikube \
  --personal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment