<commit_before># Zammad kubernetes example deployment

## Prerequisites

- On every node you need to set `sysctl -w vm.max_map_count=262144`
- Change the ingress to your needs.


## Deploy zammad

### 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
* 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<commit_msg>added ingress addon to minikube example<commit_after># Zammad kubernetes example deployment

## Prerequisites

- On every node you need to set `sysctl -w vm.max_map_count=262144`
- Change the ingress to your needs.


## Deploy zammad

### 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
* minikube addons enable ingress
* echo "$(minikube ip) zammad.example.com" | sudo tee -a /etc/hosts
* 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
* access zammad on:
  * http://zammad.example.com
{'fraction_non_alphanumeric': 0.10507505360972123, 'fraction_numerical': 0.024303073624017155, 'mean_word_length': 3.8275862068965516, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '470498', 'n_tokens_mistral': 526, 'n_tokens_neox': 474, 'n_words': 144}