Firewall & Security
No port is open to Zenavo
Zenavo never connects into your server after setup. The Zenavo agent, installed by setup, runs on the server and connects out to the control plane over HTTPS (port 443), and Zenavo sends deployments, logs and terminals through that connection. So:
- Kubernetes API (6443): close it to the internet. Only the agent, inside the server, uses it.
- SSH (22): needed only while setup runs, from the Zenavo control plane. Afterwards allow it only from where you administer the server, or close it.
Keep 80, 443 and (if you publish ports) 30000–32767 open to everyone. The server's Firewall tab checks them from the control plane. The server must be able to reach the console's address over HTTPS.
What the agent may do
The agent uses its own Kubernetes service account, limited to what Zenavo needs:
- It manages only project namespaces (
zv-…). Each one enforces the Kubernetes Pod Security baseline level, so no workload can be privileged, use the host's network or mount host directories. - It cannot read secrets or run commands outside project namespaces, change its own permissions, or touch K3s's system components (it can read their status).
- A Kubernetes admission policy enforces these limits; the agent cannot remove it.
The agent's container runs as a non-root user with a read-only filesystem. It mounts one host directory read-only, to report the disk usage of /var/lib/rancher/k3s.
What Zenavo stores
- A hash of the agent's token. The token itself exists only on your server.
- A pull credential for the image registry that can read only your team's images.
Zenavo keeps no SSH key, password or cluster credential for a working server. The SSH password or key you enter is used by the setup job and erased as soon as setup succeeds. If setup fails, it is kept encrypted for a day so you can retry without entering it again, then erased. Setup adds nothing to ~/.ssh/authorized_keys.
When you remove a server, Zenavo deletes its agent token, so the agent can no longer connect. K3s, the agent and your data stay on the machine: run /usr/local/bin/k3s-uninstall.sh there if you no longer need them.
Servers added before the agent
Servers added before the agent existed were reached over SSH with a key Zenavo installed, and through the Kubernetes API with K3s's admin credentials. Zenavo moves them to the agent on its own: it installs the agent, removes Zenavo's key from ~/.ssh/authorized_keys, and deletes the stored key and credentials. Settings → Connection shows the state and lets you start the move at once. If you had pasted a private key of your own, remove it from the server yourself if you no longer use it. Afterwards you may also rotate K3s's certificates with k3s certificate rotate (it restarts K3s), so the admin credentials Zenavo once held stop working.
Builds never run on your server
Git builds run on Zenavo's build machines, which have no access to the control plane, other customers or cloud credentials. Your server only pulls finished images, pinned to their digest.