Install on Minikube
Installing Stack on Minikube is no different then installing it on another Kubernetes cluster.
We recommend to start Minikube with a little bit more resources:
minikube start --cpus 4 --memory 8192
Next, you’ll need to install helm
.
$ kubectl --namespace kube-system create sa tiller
$ kubectl create clusterrolebinding tiller \
--clusterrole cluster-admin \
--serviceaccount=kube-system:tiller
$ helm init --service-account tiller \
--history-max 10 \
--override 'spec.template.spec.containers[0].command'='{/tiller,--storage=secret}' \
--override 'spec.template.spec.tolerations[0].key'='CriticalAddonsOnly' \
--override 'spec.template.spec.tolerations[0].operator'='Exists' \
--wait
After that, we’re ready to install Stack
.
$ kubectl apply -f https://raw.githubusercontent.com/bitpoke/stack/master/deploy/00-crds.yaml
$ kubectl create ns presslabs-system
$ kubectl label namespace presslabs-system certmanager.k8s.io/disable-validation=true
$ helm repo add bitpoke https://helm-charts.bitpoke.io
$ helm repo update
$ helm upgrade -i stack bitpoke/stack --namespace presslabs-system \
-f "https://raw.githubusercontent.com/bitpoke/stack/master/presets/minikube.yaml"