How to install Stack 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/presslabs/stack/master/deploy/manifests/00-crds.yaml

$ kubectl create ns presslabs-system

$ kubectl label namespace presslabs-system certmanager.k8s.io/disable-validation=true

$ helm repo add presslabs https://presslabs.github.io/charts

$ helm repo update

$ helm upgrade -i stack presslabs/stack --namespace presslabs-system \
    -f "https://raw.githubusercontent.com/presslabs/stack/master/presets/minikube.yaml"

VIDEO Tutorial: How to install Stack on Minikube

See Also

How to install Stack on Google Kubernetes Engine

Right now, Google Kubernetes Engine (GKE) is the most tested Kubernetes environment for Stack.