Cloud Installation

Start by installing a Kubernetes cluster. This can be done on one of the hyperscalers (AWS, GCP or Azure), cloud providers (Digital Ocean, Scaleway, etc) or on-premise in your own private network.


Before setting up Kerberos Enterprise, some configuration needs to happen. First thing that we need to do is setting up the RBAC permissions (Role Based Access Control). We need to enable this to be able to query specific endpoints from the Kubernetes API. By default these endpoints are locked, so we need to unlock them.

First clone the configrations from our Github repo.

git clone

A best practice is to create a separate namespace for your enterprise deployment.

kubectl create namespace kerberos

Next go into the directory and execute the first Kubernetes configuration file clusterrole.yaml.

kubectl create -n kerberos -f ./enterprise/yaml/factory/clusterrole.yaml

This will make several actions inside your cluster available. We need this to be able to create deployments from the factory web app.


Next we will install a couple of dependencies which are required for Kerberos Enterprise. Helm is a package manager for Kubernetes, it helps you setting up services more easily (this could be a MQTT broker, a database, etc). Instead of writing yaml files for every service we need, we use so called Charts (libraries), that you can reuse and configure the, with the appropriate settings.

Use one of the preferred OS package managers to install the Helm client:

brew install helm

choco install kubernetes-helm

scoop install helm

gofish install helm


Traefik is a reverse proxy and load balancer which allows you to expose your deployments more easily. Kerberos uses Traefik to expose it’s APIs more easily.

Add Helm repository and install Traefik.

helm repo add traefik
kubectl create namespace traefik
helm install -n traefik traefik traefik/traefik

After the installation is completed, you should have an IP address assigned to Traefik service, look for it by executing the get service command. You will see the ip address in the EXTERNAL-IP attribute.

kubectl get svc -n kerberos

  NAME                        TYPE           CLUSTER-IP     EXTERNAL-IP     PORT(S)                      AGE
> traefik                     LoadBalancer  443:31623/TCP,80:31804/TCP   35h

Go to your DNS provider and link the domain you’ve configured in the first step to the IP address of the EXTERNAL-IP attribute. When browsing to, you should see the traefik dashboard showing up.

Ingress-Nginx (alternative for Traefik)

If you don’t like Traefik but you prefer Ingress Nginx, that works as well.

helm repo add ingress-nginx
helm repo update
helm install ingress-nginx -n kerberos ingress-nginx/ingress-nginx


When using Kerberos Enterprise, it will generate configurations for every surveillance camera deployed. These configuration files are stored centrally in a MongoDB database. Therefore we use helm to install a MongoDB instance inside your cluster.

Have a look into the yaml/mongodb/values.yaml file, you will find plenty of configurations for your MongoDB instance. You will also find the attribute where you can change the root password of mongodb.

helm repo add bitnami
helm install mongodb -n kerberos bitnami/mongodb --values ./enterprise/yaml/mongodb/values.yaml

Once installed succesfully the MongoDB instance, we should copy the password of the MongoDB instance. Once revealed copy the password, as we will need in the next steps.

export MONGODB_ROOT_PASSWORD=$(kubectl get secret -n kerberos mongodb -o jsonpath="{.data.mongodb-root-password}" | base64 --decode)

Kerberos Enterprise Web App - The Factory

The last step is to install the Kerberos Enterprise application. Kerberos Enterprise is managed through an application which we call the Factory. It is responsible for initiating the deployments inside your cluster. These deployments is what we also call (similar to the Open Source version) the machinery.

The Factory is shipped as a web app (React) which provides you with a tool to update your deployments (agents) easily, monitor them, etc. The Factory is the central portal for managing Kerberos Enterprise inside your cluster. However at any point you can fine-tune or take-over using the kubectl command.

Before installing the Factory web app, open the ./enterprise/yaml/factory/deployment.yaml configuration file. At the of the bottom file you will find two endpoints, similar to the Ingres file bewlwo. Update the hostnames to your own perferred domain, and add these to your DNS server or /etc/hosts file (pointing to the same IP as the Traefik/Ingress nginx EXTERNAL-IP).

> - host:
    - path: /
        pathType: Prefix
            name: factory
              number: 80
> - host:
    - path: /
        pathType: Prefix
            name: factory
              number: 8082

If you are using Ingress Nginx, do not forgot to comment Traefik and uncomment Ingress Nginx.

kind: Ingress
  name: factory
  annotations: traefik nginx

Modify the MongoDB credentials, and make sure they match the credentials of your MongoDB instance.

      value: "root"
-->   value: "xxxxxxxxxx"

Once you have corrected the DNS names (or internal /etc/hosts file), install the Factory web app inside your cluster.

kubectl apply -n kerberos -f ./enterprise/yaml/factory/deployment.yaml

Test out configuration

If everything worked out as expected, you should now have following services in your cluster:

  • MongoDB
  • Traefik
  • Factory

It should look like this.

$ kubectl get pods -n kerberos
NAME                              READY   STATUS    RESTARTS   AGE
factory-6f5c877d7c-hf77p          1/1     Running   0          2d11h
mongodb-758d5c5ddd-qsfq9          1/1     Running   0          5m31s
traefik-7d566ccc47-mwslb          1/1     Running   0          4d12h

Access the system

Once everything is configured correctly your cluster and DNS, you should be able to setup the Factory application. By navigating to the Factory domain in your browser you will see the Factory login page showing up.

Once successfully installed Kerberos Enterprise, it will show you the login page.

Once successfully installed Kerberos Enterprise, it will show you the login page.

Edit this page on GitHub