2017-10-24 13:57:42 +00:00
|
|
|
# Zammad kubernetes example deployment
|
|
|
|
|
2017-10-31 09:33:58 +00:00
|
|
|
## Prerequisites
|
2017-10-24 13:57:42 +00:00
|
|
|
|
|
|
|
- On every node you need to set `sysctl -w vm.max_map_count=262144`
|
|
|
|
- Change the ingress to your needs.
|
2017-10-24 20:42:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
## Deploy zammad
|
|
|
|
|
2017-10-31 09:29:41 +00:00
|
|
|
### Install on Minikube example
|
|
|
|
|
|
|
|
* Install kubectl
|
|
|
|
* https://kubernetes.io/docs/tasks/tools/install-kubectl/
|
|
|
|
* Install Minkube
|
|
|
|
* https://github.com/kubernetes/minikube
|
|
|
|
* minikube start --memory=4096 --cpus=2
|
2017-10-31 09:59:42 +00:00
|
|
|
* minikube addons enable ingress
|
|
|
|
* echo "$(minikube ip) zammad.example.com" | sudo tee -a /etc/hosts
|
2017-10-31 09:29:41 +00:00
|
|
|
* minikube ssh
|
|
|
|
* su -
|
|
|
|
* sysctl -w vm.max_map_count=262144
|
|
|
|
* kubectl apply -f .
|
|
|
|
* minikube dashboard
|
|
|
|
* switch to namespace "zammad"
|
|
|
|
* open "Overview" and wait until all pods are green
|
2017-10-31 09:59:42 +00:00
|
|
|
* access zammad on:
|
|
|
|
* http://zammad.example.com
|