See: https://kubernetes.io/docs/tasks/tools/install-minikube/
The helm charts start a lot of containers, and it will work better if you
launch minikube with additional memory and CPU. You also need to enable
persistent volume mapping. This only needs to be done the first time you launch
minikube. The settings will persist across restarts. If you need to modify the
values try minikube delete and minikube stop
minikube start --memory 4096 --cpus 4 --mountSee: https://docs.helm.sh/using_helm/#quickstart
Once helm is installed, run helm init to get it loaded onto minikube
You may need to add some additional repos for helm
helm repo add mattermost https://releases.mattermost.com/helm
helm repo add incubator https://kubernetes-charts-incubator.storage.googleapis.com/The helm charts have external dependencies, fetch them with:
helm dependency updateOnce dependencies have been loaded, you can launch the charts directly with:
helm install ./mattermost-helmIf you have a custom config you would like to use (say a license key), create a config.yaml
To list options for mattermost-helm:
helm inspect values mattermost-helmCreate a yaml file config.yaml to overide any defaults you want to change and
install using:
helm install -f config.yaml ./mattermost-helmIf you are done with your deployment and want to delete it, you can use
helm delete <NAME> where is the name of your deployment. If you don't
know the name of your deployment, you can use helm ls to find it.
You may also want/need to delete the persistent volumes from minikube. To do
that use kubectl get pv,pvc to get a list of persistent volumes and claims,
and use kubectl delete to delete them.
If you are going to modify the helm charts, it is helpful to use --dry-run
(doesn't do an actual deployment) and --debug (print the generated config
files) when running helm install.
Helm has partial support for pulling values out of a subchart via the requirements.yaml. It also has limited support for pushing values into subcharts. It does not support using templating inside a values.yaml file.