On-premise: install in your environment

Install ZeusLock on-premise on Rocky Linux, Debian, RKE2 or a cluster you run, with your own certificate, internal DNS or a load balancer in front: what changes.

The main install guide covers one Ubuntu server with k3s, public hostnames and a Let's Encrypt certificate. This article covers the other environments we have tested and gives only what changes: follow the main guide and apply the differences at the step named.

Tested on 25 Nov 2026 with on-premise version 0.2.0 and ZeusLock Caty, on fresh servers, from the normal customer package (registry account, licence, values.yaml, preflight.sh). Use the current version, 0.2.1: it adds ZeusLock On-Device and model set 0.5 and changes nothing in the steps below.

Which environments are supported

EnvironmentStatusWhat to do
Ubuntu 22.04 or 24.04, one server with k3sSupportedThe main guide, as written
Rocky Linux 9 (RHEL family 9)Tested (ZeusLock Caty)Main guide + Rocky Linux 9 and Debian 12 below
Debian 12Tested (ZeusLock Caty)Main guide, as written
RKE2, or a Kubernetes cluster you already runTested, with extra stepsRKE2 or a cluster you already run below
Your own certificate and internal DNS namesTestedYour own certificate and internal DNS names below
A company load balancer in front (TLS passthrough, re-encrypt or TLS-terminating)TestedBehind a company load balancer below
Virtual machinesSupportedOur tests run on virtual machines. ZeusLock Caty needs AVX2 visible inside the VM; ZeusLock Core needs the GPU passed through to the VM.
ZeusLock Core (GPU) on another system than Ubuntu with k3sNot supported yetgpu-stack.sh works on Ubuntu with k3s only
Server whose outbound traffic must go through a corporate proxyNot supported yetAgents behind a proxy are supported: Use the agent behind a corporate proxy
No internet access (air gap)On requestContact ZeusLock
High availability, several copies of each part, external databaseNot supported yet—
OpenShift, Pod Security restricted, RKE2 CIS profileNot supported yet—
ARM64 serversNot supported yet—
Server connections to a mail server or SIEM that uses a company-CA certificateNot supported yet—

Your own certificate and internal DNS names

For hostnames that exist only in your internal DNS, or for a certificate from your company CA or one you bought. No Let's Encrypt and no inbound port 80 are needed. Two ways: a certificate file you already have (way 1), or your own cert-manager issuer (way 2).

Differences from the main guide:

  • Step 1: the two hostnames can be internal DNS names that point to the server (or to your load balancer). Inbound port 80 is not needed for the certificate.
  • Step 2: preflight.sh looks the names up through the server's own resolver, so internal names work.
  • Step 3: for way 1, skip the two cert-manager commands; for way 2, keep them (or use the cert-manager your cluster already runs).
  • Steps 5 and 6: as below.
  • Step 9: the computers must trust your CA (as below).

Step 2 with your hostnames:

./preflight.sh --values values.yaml --host app.zeuslock.example.com --host api.zeuslock.example.com

Expected result: the script ends with READY.

Way 1 — a certificate file you already have

You need fullchain.pem (the server certificate followed by its intermediate certificates) and its key privkey.pem. One certificate must cover both hostnames (both names in the certificate, or a wildcard).

In step 5, set these lines in values.yaml:

ingress:
  hosts:
    dashboard: app.zeuslock.example.com
    api: api.zeuslock.example.com
  tls:
    enabled: true
    secretName: zeuslock-tls
  certManager:
    enabled: false

Before step 6, create the namespace and put the certificate in it:

kubectl create namespace zeuslock
kubectl -n zeuslock create secret tls zeuslock-tls --cert=fullchain.pem --key=privkey.pem

Then run step 6 as written (--create-namespace does no harm when the namespace exists).

Expected result: STATUS: deployed; the browser shows your certificate on https://app.zeuslock.example.com, and helm test zeuslock -n zeuslock --logs prints three PASS lines.

Way 2 — your own cert-manager issuer

If your cluster has a cert-manager ClusterIssuer that signs with your company CA, ZeusLock asks it for the certificate. In step 5, set these lines in values.yaml:

ingress:
  hosts:
    dashboard: app.zeuslock.example.com
    api: api.zeuslock.example.com
  annotations:
    cert-manager.io/cluster-issuer: <your-cluster-issuer>
  tls:
    enabled: true
    secretName: zeuslock-tls
  certManager:
    enabled: false

No issuer yet? This is the one we tested: a CA issuer made from your CA certificate and its key, created after the cert-manager commands of step 3 (then use company-ca as the issuer name):

kubectl -n cert-manager create secret tls company-ca-keypair --cert=company-ca.crt --key=company-ca.key
cat <<'YAML' | kubectl apply -f -
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata: { name: company-ca }
spec: { ca: { secretName: company-ca-keypair } }
YAML

Expected result: after step 6, kubectl -n zeuslock get certificate shows zeuslock-tls with READY True within a minute, and the browser shows a certificate issued by your CA.

Desktop agents and browsers: trust your CA

The agent checks your server's certificate against the computer's certificate store (Windows certificate store, macOS System keychain, Linux system bundle). Deploy your CA to the computers the usual way (Group Policy, MDM), then restart the agent: it reads the store only when it starts. On Ubuntu:

sudo cp company-ca.crt /usr/local/share/ca-certificates/company-ca.crt
sudo update-ca-certificates

On one computer you can instead point the agent at the CA file with the ExtraCaFile setting (a PEM file). On Linux, in /etc/zeuslock-dlp/config.json:

{
  "ServerUrl": "https://api.zeuslock.example.com",
  "LicenseKey": "zl_<your-key>",
  "ExtraCaFile": "/etc/zeuslock-dlp/company-ca.pem"
}

Where this setting goes on Windows and macOS: Agent configuration reference.

Expected result: the computer appears in Agents as Online with Licence Active. With the testing logs on (Verify and troubleshoot the agent), the start-up line [Upstream] Trusted CAs: … counts one more certificate from the OS store, or ends with 1 from ExtraCaFile.

If the computer does not trust your CA, the agent cannot reach your server and fails closed: it blocks every AI prompt with "ZeusLock DLP could not inspect this request …, so it was not sent." and its licence shows a grace period. Nothing reaches your server. Browsers that open the dashboard need your CA too.

Behind a company load balancer

Install ZeusLock with your own certificate first (section above). Then point the two hostnames at the load balancer, which forwards to the ZeusLock server's ports 443 and 80. The three modes below were tested with HAProxy in front of a k3s server; none needs a change in values.yaml.

ModeWhat the load balancer doesIn ZeusLock
TLS passthroughForwards TCP 443 → 443 and 80 → 80, does not decryptNo change
Re-encryptDecrypts with your certificate, opens a new HTTPS connection to the server's port 443 and checks it against your CANo change
TLS-terminatingDecrypts with your certificate, sends plain HTTP to the server's port 80No change: keep ingress.tls.enabled: true

Keep ingress.tls.enabled: true in every mode. With false, ZeusLock writes http:// links into invitation and password-reset e-mails.

HAProxy configuration (re-encrypt)

zeuslock.pem holds your certificate for both hostnames, its intermediate certificates and its key; company-ca.crt is your CA certificate.

defaults
    mode    http
    option  httplog
    timeout connect 5s
    timeout client  120s
    timeout server  120s

frontend https_in
    bind :443 ssl crt /etc/haproxy/certs/zeuslock.pem
    option forwardfor
    http-request set-header X-Forwarded-Proto https
    http-request set-header X-Real-IP %[src]
    default_backend zeuslock

backend zeuslock
    server zl1 <zeuslock-server-ip>:443 ssl verify required ca-file /etc/haproxy/certs/company-ca.crt sni req.hdr(host),field(1,:) check-sni api.zeuslock.example.com check

frontend http_in
    bind :80
    http-request redirect scheme https code 301

TLS-terminating: the same file with this server line instead:

    server zl1 <zeuslock-server-ip>:80 check

TLS passthrough: keep the defaults section and use these sections instead:

frontend https_in
    mode tcp
    bind :443
    default_backend zeuslock_https
backend zeuslock_https
    mode tcp
    server zl1 <zeuslock-server-ip>:443 check
frontend http_in
    mode tcp
    bind :80
    default_backend zeuslock_http
backend zeuslock_http
    mode tcp
    server zl1 <zeuslock-server-ip>:80 check

Expected result: from a user's computer, https://app.zeuslock.example.com opens the dashboard and this command answers {"status":"ok"}:

curl https://api.zeuslock.example.com/healthz

Keep the load balancer's timeouts at 120 seconds or more (a 3 MB file takes about 20 seconds to check). Let only the load balancer reach the server's ports 80 and 443: port 80 of the server answers in plain HTTP.

One login limit per user

ZeusLock allows 10 wrong logins per minute per client address. In the default k3s setup every request reaches ZeusLock with the same internal address, so 10 wrong passwords from anyone block every login for up to a minute. To give each user their own limit (re-encrypt and TLS-terminating modes):

  1. The load balancer sends the client address in the X-Real-IP header (the line http-request set-header X-Real-IP %[src] above).
  2. On the ZeusLock server, tell Traefik to keep the client address and to trust your load balancer's headers (replace <load-balancer-ip>):
sudo tee /var/lib/rancher/k3s/server/manifests/traefik-config.yaml >/dev/null <<'YAML'
apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
  name: traefik
  namespace: kube-system
spec:
  valuesContent: |-
    service:
      spec:
        externalTrafficPolicy: Local
    ports:
      web:
        forwardedHeaders:
          trustedIPs: ["<load-balancer-ip>/32"]
      websecure:
        forwardedHeaders:
          trustedIPs: ["<load-balancer-ip>/32"]
YAML

Expected result: k3s applies the file by itself and Traefik restarts within about 20 seconds. Ten wrong logins from one computer no longer block a login from another.

In TLS passthrough mode the load balancer cannot add headers: all users share one limit.

RKE2 or a cluster you already run

Tested on RKE2 1.36 on Ubuntu 24.04, with ZeusLock in namespace dlp under release name zl. On another cluster you already run (Kubernetes 1.27 or newer), check the same four points. They replace step 3 of the main guide; the other steps stay the same.

1. Registry account on the server

RKE2 reads the same registry file as k3s, in its own folder. Replace the robot user and secret with the ones we sent you; keep the single quotes.

sudo mkdir -p /etc/rancher/rke2
sudo tee /etc/rancher/rke2/registries.yaml >/dev/null <<'EOF'
mirrors:
  harbor.zeuslock.ai:
    endpoint:
      - "https://harbor.zeuslock.ai"
configs:
  harbor.zeuslock.ai:
    auth:
      username: "robot$customer-<you>"
      password: "<your-robot-secret>"
EOF
sudo chmod 600 /etc/rancher/rke2/registries.yaml
sudo systemctl restart rke2-server

RKE2's kubectl and its configuration file are not on the usual path. As root:

export KUBECONFIG=/etc/rancher/rke2/rke2.yaml
export PATH=$PATH:/var/lib/rancher/rke2/bin
kubectl get nodes

Install Helm with the command of step 3.

Expected result: your node is Ready, and after step 6 every pod has pulled its image. Setting only global.imagePullSecrets in values.yaml is not enough: it reaches the AI model server only.

2. A default storage class

RKE2 has none, so the database, file and model volumes would stay Pending. Install the local-path provisioner and make it the default:

kubectl apply -f https://raw.githubusercontent.com/rancher/local-path-provisioner/v0.0.31/deploy/local-path-storage.yaml
kubectl patch storageclass local-path -p '{"metadata":{"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'

Expected result: kubectl get storageclass shows local-path (default). On another cluster, any default storage class works.

3. The ingress class

kubectl get ingressclass shows it. Current RKE2 ships traefik, already the value in your values.yaml. If the cluster runs ingress-nginx, add this to values.yaml in step 5; without the annotation, files over 1 MB are refused with 413 Request Entity Too Large:

ingress:
  className: nginx
  annotations:
    nginx.ingress.kubernetes.io/proxy-body-size: "64m"

4. The certificate

Install cert-manager with the commands of step 3 (Let's Encrypt), or use your own certificate (section above).

Another namespace or release name

Both work. The main guide's commands then use your names: -n <namespace> and <release>-zeuslock-…. For release zl in namespace dlp:

helm install zl oci://harbor.zeuslock.ai/zeuslock-releases/zeuslock --version 0.2.1 \
  -n dlp --create-namespace -f values.yaml --set-file license.token=license.jwt --wait --timeout 30m
kubectl -n dlp get secret zl-zeuslock-keycloak -o jsonpath='{.data.org-admin-password}' | base64 -d ; echo
helm test zl -n dlp --logs

ZeusLock Core (GPU) on RKE2 has not been tested: gpu-stack.sh is written for k3s.

Rocky Linux 9 and Debian 12

Both run the main guide as written, with ZeusLock Caty. Tested on Rocky Linux 9.8 with SELinux enforcing and on Debian 12; after a reboot everything comes back on its own.

Rocky Linux 9 (RHEL family)

  • SELinux can stay enforcing: the k3s install script adds its SELinux packages itself. Add rpm.rancher.io to the outbound list of step 1.
  • If firewalld is on, open the web ports and trust the k3s pod and service networks:
sudo firewall-cmd --permanent --add-service=http --add-service=https
sudo firewall-cmd --permanent --zone=trusted --add-source=10.42.0.0/16 --add-source=10.43.0.0/16
sudo firewall-cmd --reload

Expected result: curl https://api.zeuslock.example.com/healthz answers {"status":"ok"}. Without the trusted zone, the API answers 502 Bad Gateway from outside while the dashboard opens.

Debian 12

Nothing extra. Right after the server's first boot, preflight.sh can warn clock not synchronised: run it again a minute later.

GPU servers (ZeusLock Core)

gpu-stack.sh works on Ubuntu only. ZeusLock Core on Rocky Linux or Debian has not been tested: for a GPU server, use Ubuntu 22.04 or 24.04.

Known limits

  • The ZeusLock server cannot be given your company CA. A mail server or SIEM whose certificate comes from your company CA cannot be reached from ZeusLock.
  • Behind a TLS-terminating load balancer, only Traefik (the k3s and RKE2 default) has been tested, not ingress-nginx.
  • Without a load balancer, a standard k3s install has the same shared login limit (10 wrong logins a minute for everyone). The Traefik setting above was tested only with a load balancer.
  • Rocky Linux, Debian and RKE2 were tested with ZeusLock Caty only.

If something fails

SymptomFix
preflight.sh says it cannot reach harbor.zeuslock.ai, but curl https://harbor.zeuslock.ai worksSlow DNS: time getent hosts harbor.zeuslock.ai takes seconds. Fix the server's first name server in /etc/resolv.conf, then run the check again.
The API answers 502 Bad Gateway from outside, the dashboard opens, helm test passes (Rocky Linux / RHEL)firewalld blocks the k3s networks: run the firewalld commands above.
api, worker and dashboard pods ImagePullBackOff, the llm pod pulls fine (RKE2 or another cluster)The registry account is missing on the server: write /etc/rancher/rke2/registries.yaml and restart RKE2 (section above), then delete the failed pods so they start again.
Files over 1 MB refused with 413 Request Entity Too Largeingress-nginx: add the proxy-body-size annotation (section above) and run the upgrade command of step 10 with -f values.yaml.
The agent blocks every prompt ("could not inspect this request"), its log shows a certificate error such as self signed certificate in certificate chainThe computer does not trust your CA. Install it in the system store (or set ExtraCaFile), then restart the agent.
The certificate is never issued; kubectl describe clusterissuer says forbidden domain "example.com"Put a real address in ingress.certManager.email, then: helm upgrade zeuslock oci://harbor.zeuslock.ai/zeuslock-releases/zeuslock --version 0.2.1 -n zeuslock -f values.yaml --set-file license.token=license.jwt --wait
Nobody can log in for a minute after someone mistyped a password several timesWait one minute. Behind a load balancer, apply One login limit per user above.