Deploying the Zabbix server on Kubernetes

Running the Zabbix server itself on Kubernetes is a workable option when your platform team already operates clusters well, but it adds database, etcd and upgrade work that a plain VM does not carry.

On this page

Deploying the Zabbix server on Kubernetes: when it fits your platform

A platform team is often asked to run the Zabbix server itself as containers, not just to monitor a cluster. The short answer is that the community Helm chart in zabbix-community/helm-zabbix can deploy the Zabbix server, web frontend, proxy, agent daemonset, Java gateway and web service, so the chart is not the blocker. Whether the result is sound depends on two things you design yourself: the database behind the server and the cluster topology around it. The chart's templates also include a cronjob that cleans up stale HA nodes, which tells you the chart expects server HA to be part of the picture from the start.

Teams choose Kubernetes over virtual machines when they already run a cluster with mature storage, backup, secrets and upgrade tooling, and want Zabbix managed the same way as their other workloads. The trade-off is that a monitoring system is most useful when it keeps working during a cluster problem. Running the monitor inside the platform it watches creates a shared-fate risk, so ask whether the Zabbix server and its database can survive a failure of the cluster they monitor. If the answer is unclear, a pair of virtual machines or a separate management cluster may be the simpler choice. Confirm the Kubernetes version support window with your own platform owners before committing, since the server and the cluster will need upgrades on different schedules.

DeployOpen plans and builds a Zabbix server deployment on Kubernetes in infrastructure you control, including your cloud accounts, data centers or isolated networks. The work starts with a written scope covering the database choice, server HA pods, persistence, secrets handling, network paths to monitored hosts and proxies, and how the platform team will upgrade and restore the system. The database requirement is central: Zabbix 7.4 supports PostgreSQL 13 to 18 and the TimescaleDB extension 2.13 to 2.29 as documented in the Zabbix requirements, so confirm your chosen versions against that list before the build.

How server pods, the database and proxies connect

The diagram starts at the Kubernetes namespace, where the Zabbix server HA pods and web pods share one external PostgreSQL or TimescaleDB service. Agents and proxies sit on the monitored side of the trust boundary and send data inward through the proxy pods. The key hand-offs are proxy to server, server to database, and web pods to the same database. Check that every pod that writes to the database can reach it, and that the proxy path is the only route from the monitored network into the namespace.

Data paths from monitored hosts through proxies and server pods into the database.

Database and topology options and when each fits

This table compares the database and topology choices for a Zabbix server on Kubernetes, with the fit, the operational owner and the main trade-off for each. Use it to narrow the options before you test them, then confirm version support against the Zabbix requirements for your release.

OptionFitOperational ownerMain trade-off
PostgreSQL without TimescaleDBSmaller or newer deployments that want the simplest supported database layout on PostgreSQL 13 to 18Your database team, if the database is outside the cluster, or the platform team if it is in-clusterLess history compression and housekeeping help than with TimescaleDB, so plan retention and database growth early
PostgreSQL with TimescaleDBLarge history volumes where retention and compression matter, using TimescaleDB 2.13 to 2.29 with Zabbix 7.4Database team, who must own extension upgrades alongside PostgreSQL upgradesAn extra extension to version-match with both Zabbix and PostgreSQL, which narrows upgrade windows
In-cluster database operatorTeams with a mature operator, backup tooling and storage classes already run on the clusterPlatform team, including backups, failover tooling and volume maintenanceDatabase lifecycle now shares the cluster's upgrade and storage risks, so restore tests must cover the operator too
Database outside the clusterOrganizations with an existing managed or centrally run PostgreSQL service and separate backup controlsDatabase team, with the Zabbix team responsible only for connection settingsNetwork paths, credentials and latency between pods and the database must be designed and monitored explicitly
Single server podLab, pilot or small estates where a short outage of monitoring is acceptableZabbix team, with a single replica to watchFailover does not happen, so a pod or node failure stops data collection and alerting until it restarts
Server HA podsProduction estates that need the Zabbix server to continue after one node failsZabbix team, who must check node registration and the cleanup jobSeveral server nodes share one database, so database availability becomes the true limit on HA
Proxies alongside server podsDistributed sites or isolated segments where collection must continue during a central outageZabbix team for proxy configuration, network team for site linksProxies add components to back up, upgrade and monitor, and proxy groups need Zabbix 7.0 or later

Setup sequence for the Zabbix server on Kubernetes

This sequence takes a Zabbix server from a chosen release and supported database to a highly available deployment on Kubernetes, with failover tested and proxies and agents added last. Each step closes with a check so the platform team knows whether to continue.

  1. Confirm the Zabbix release and support window

    The platform owner selects the Zabbix release line before anything is installed, using the life cycle and release policy. Pick a long-term support line where the support window covers your planned operating period, and check the end dates for full and limited support. Record the chosen version, the planned upgrade target and the date limited support ends for each line you considered. Done when a written decision names the release, its support end dates and the owner who will track upgrade notices.

  2. Provision PostgreSQL or TimescaleDB with backups

    The database team provisions PostgreSQL, or PostgreSQL with the TimescaleDB extension, inside your infrastructure, confirming the version is on the Zabbix 7.4 requirements list and still receives PostgreSQL security updates. Configure continuous archiving and point-in-time recovery, and decide whether PgBouncer sits between the server pods and the database. Restore a test backup to a separate instance and confirm the restored database opens and reports the expected schema. Done when a restore test has succeeded and the connection path from the cluster to the database is documented.

  3. Pin the chart version and values

    The platform engineer chooses a specific version of the zabbix-community Helm chart, records it, and sets image tags for the server, web, proxy and agent components to match the Zabbix release selected in step one. Render the templates to review the Kubernetes objects they produce, including the cronjob that cleans up stale HA nodes, and store the values file in version control. Done when a rendered manifest review is signed off and the chart and image versions are identical across environments.

  4. Configure secrets outside values files

    The security team creates database credentials and other sensitive values as Kubernetes Secrets, or pulls them from an external store, and references them from the chart rather than writing them into values files. Confirm that encryption at rest is enabled for etcd, because Secrets are stored unencrypted in etcd by default, and restrict read access with least-privilege RBAC. Check the repository history for any plain-text password. Done when the values files contain only secret references and a test pod can read only the secret it needs.

  5. Deploy highly available server pods

    The platform team deploys more than one Zabbix server pod against the same database so the native high availability cluster can elect one active node while the others stand by. Set the failover delay within the supported range of 10 seconds to 15 minutes and confirm the pods register as HA nodes in the Zabbix frontend. Done when every server pod is listed as a cluster node, one is active, and the frontend loads through its service.

  6. Verify failover by stopping the active node

    The operations team deletes or stops the pod that holds the active role while monitoring the HA node list and a test item. Confirm that a standby node becomes active within the configured failover delay and that data collection resumes without a gap that breaks reporting. Record the observed switchover time and repeat the test after any upgrade or chart change. Done when a standby has taken over, the test item continued collecting and the result is written into the runbook.

  7. Add proxies with proxy groups

    The platform team deploys Zabbix proxies for remote networks, and where several proxies cover the same hosts, configures a proxy group so monitored hosts are redistributed when a proxy goes offline. Confirm that each proxy connects to the server and that a host moved from a failed proxy resumes collection. Done when a proxy outage test shows hosts reassigned and their data arriving at the server.

  8. Deploy the agent daemonset and confirm data

    The platform team deploys the agent daemonset from the chart so every node reports to the server or its proxy, then checks that new nodes are registered and that the Kubernetes templates return values. Ask your vendor or the chart documentation to confirm which agent type and template set match your release before rollout. Done when each node appears as a host with recent data and the sequence is recorded as complete.

Security controls for Zabbix on Kubernetes

Running the Zabbix server on Kubernetes puts its database credentials, LDAP or SAML settings and API access inside the cluster's trust boundary. The controls below cover where those secrets live, who can read them, how pods run and how people sign in to Zabbix.

Encrypt Secrets at rest

Kubernetes stores Secrets unencrypted in etcd by default, so the Zabbix database password, server key material and any LDAP bind credentials are readable by anyone with raw etcd access or an etcd backup. Configure encryption at rest for the API server before the Zabbix release is installed. Where your policy requires it, keep the values in an external store and mount them through the Secrets Store CSI Driver. Confirm with your distribution how etcd snapshots are protected.

Secrets good practices

Least-privilege RBAC for Secrets

Any role that can list or watch Secrets in the Zabbix namespace can read every credential the chart creates, because list and watch return the full object. Grant the Zabbix service accounts only the verbs and resource names they need, and keep operator roles for engineers separate from the release pipeline. Review bindings that cover the whole cluster, since they reach the Zabbix namespace too. Check the Helm release service account in particular.

Pod Security Standards for server pods

Zabbix server, web and proxy pods need only outbound database and agent connectivity, so they should not run privileged or with host namespaces. Apply the Pod Security Standards at the namespace level and set a restricted or baseline profile that your chart values can meet. The agent daemonset is the exception to check first, because it often needs host paths or elevated access to collect host metrics. Record each exception and its reason.

Pod Security Standards

Zabbix login through LDAP or SAML

Zabbix supports internal, HTTP, LDAP, SAML and MFA authentication, and just-in-time provisioning can create a Zabbix user on first login through LDAP or SAML. Decide which identity provider signs people into the Zabbix web interface, and keep local accounts for break-glass access only. Confirm that MFA is enforced by the identity provider for the path you use. Map provider groups to Zabbix user groups and roles before enabling provisioning.

Zabbix authentication docs

Separate cluster access from Zabbix access

A person who can run kubectl against the namespace is not automatically a Zabbix administrator, and a Zabbix administrator should not need cluster credentials to change monitoring. Define the Kubernetes access model and the Zabbix role model as two documents, then check that they agree. Kubernetes authenticates users through certificates, OpenID Connect or webhooks, which should match your central identity source. Review both sets of grants on the same schedule.

What the cluster itself must be able to do

The Zabbix server pods can only be as available as the Kubernetes layer under them, so the first decision is whether the control plane is highly available. The kubeadm high availability guide describes two topologies: a stacked control plane with etcd on the same nodes, or an external etcd cluster. Either way it calls for at least three control plane nodes behind a TCP load balancer that fronts kube-apiserver on port 6443. A single control plane node with a Zabbix Deployment on top gives you no protection against losing the API, and the Zabbix HA failover logic cannot help if the scheduler that restarts a failed server pod is itself down. Confirm the load balancer health checks and the failure domains of your three nodes before you accept the design.

etcd holds all cluster state, including the Secrets that carry the Zabbix database password and any TLS material. Kubernetes documentation says etcd should run with an odd number of members and recommends five members in production, so that a majority survives the loss of a node. Plan a backup routine from day one: take snapshots with etcdctl snapshot save on a schedule, store them outside the cluster, and rehearse a restore with etcdutl on a scratch environment. Also confirm that Secrets are encrypted at rest, because the Kubernetes Secrets good practices page notes they are stored unencrypted in etcd by default. A Zabbix restore that brings back the database but not the matching Secrets is a failed restore.

Upgrades are where the Zabbix chart and the cluster meet. The Kubernetes version skew policy requires kube-apiserver to be upgraded one minor version at a time, before kube-controller-manager, kube-scheduler and kubelets, and allows kubelets to be up to three minor versions older than the API server. The Kubernetes project maintains the three most recent minor releases, which as of September 2026 were 1.37, 1.36 and 1.35, so plan cluster upgrades against those end-of-life dates. Before any cluster upgrade, check the Zabbix server version, the chart version and the database version against the Zabbix requirements for your target release, because the Zabbix server release must be validated against the cluster version rather than assumed to work with it. Record that check in the change ticket.

Trade-offs against running Zabbix on VMs and what to confirm

Running the Zabbix server on Kubernetes adds a cluster to the stack that Zabbix depends on, and that cluster is itself something Zabbix should watch. The cards below set out the trade-offs against a VM-based server and the points to settle with the chart maintainers, Zabbix and your own platform team before committing.

More moving parts to operate

A Zabbix server on Kubernetes depends on the cluster, its ingress, storage classes, secrets handling and the database service, and each of these has its own upgrade cycle and failure modes. On a VM, the server process, database and web frontend sit on fewer layers. Inventory every component the chart brings in, including the agent daemonset, Java gateway, web service and proxy, and decide who owns each one during an incident.

Monitoring the monitoring

If the cluster that runs Zabbix loses its control plane, its scheduler or its network, the server may fail at the same moment as the systems it should report on. Zabbix's own alerts for its processes and queue then depend on the same failing platform. Plan an external check on the Zabbix server and its database that does not run inside the cluster, and confirm where those alerts will be delivered during a cluster outage.

Database and storage placement

The Zabbix server needs a supported database, and the history and trend data it writes grows quickly. Decide whether PostgreSQL or TimescaleDB runs inside the cluster, on a managed service in your infrastructure, or on a VM outside it. Confirm how persistent volumes are provisioned, how snapshots and backups are taken and how a restore is tested, because a pod restart does not protect the data.

Upgrade coupling with Kubernetes

Zabbix releases, the chart version, the Kubernetes minor version and the PostgreSQL or TimescaleDB version each move on their own schedule. Kubernetes minor releases are supported for a limited period, so a Zabbix upgrade may be blocked or forced by a cluster upgrade. Map the Zabbix version you plan to run against the Kubernetes versions your cluster will need during its life, and set the order of upgrades in writing.

Support status of the community chart

The zabbix-community chart is maintained by a community project, not by Zabbix, so it does not carry Zabbix's paid support tiers. Ask who reviews changes, how quickly security fixes are merged, which chart versions track which Zabbix releases and whether the templates are tested against the database versions you will use. Keep a fork or a pinned chart version if your change control requires it.

Chart repository

Items to confirm before committing

Confirm with the chart maintainers the chart version that matches your target Zabbix release and how HA node cleanup behaves in your setup. Confirm with Zabbix the server HA behavior, the supported database versions for your Zabbix release and the support tier your organization needs. Confirm in your environment the storage class, backup and restore procedure, ingress and network policy, and who is on call for the cluster and for Zabbix.

Questions buyers ask before deploying Zabbix server on Kubernetes

Is running the Zabbix server on Kubernetes supported by Zabbix?

Zabbix publishes its server, database and frontend as software you can run in your own environment, but the Kubernetes packaging you would use is the community Helm chart, not an official Zabbix product. The zabbix-community chart deploys the Zabbix server, web, proxy, agent daemonset, Java gateway and web service, and includes a cronjob that cleans up stale high availability nodes. Before you commit, confirm with Zabbix which deployment methods it documents for your release, check the chart's supported versions against your target Zabbix version, and test the chart's upgrade path in a non-production cluster. Support from Zabbix itself is sold as paid tiers, so confirm whether your subscription covers a community-chart deployment.

What drives the cost and effort of a Zabbix server deployment on Kubernetes?

The main cost is the engineering time to design, build, test and hand over the cluster, database and monitoring configuration. Zabbix open source has no license fee, so the recurring costs are infrastructure, the database service, backups, staff time for upgrades and any paid Zabbix support tier you choose. Effort rises with the number of server nodes you need, whether you already run a Kubernetes platform with storage classes, ingress and secrets tooling, how many proxies and agents you connect, and how much identity integration you require. A quote should list each item separately, state who operates the cluster afterward, and name the Zabbix version and chart version it covers.

How long does a Zabbix server on Kubernetes build take?

Duration depends mainly on how much of the platform already exists and how many decisions are still open. A cluster with mature storage, backup and identity services needs less design work than one that must be built alongside the Zabbix stack. The largest variables are the database choice and its high availability design, the number of server nodes and their failover settings, the proxy layout for remote networks, and the integration work with your authentication and monitoring targets. Ask for a written schedule with milestones for design, build, testing and handover, and ask which items depend on your teams, such as firewall changes or account approvals.

What must our team provide before a Zabbix Kubernetes engagement starts?

Your team needs to supply access and decisions that only you can make. Typical inputs are a Kubernetes cluster that meets the chart's requirements, a named owner for each environment, storage and backup targets, a PostgreSQL or TimescaleDB plan with its own backup and recovery design, DNS names and TLS certificates, identity provider details if you use LDAP or SAML, and the list of hosts, networks and applications to monitor. Also confirm which Zabbix version your standards allow and the maintenance windows for upgrades. Missing inputs are the most common reason a fixed-scope engagement slips, so agree the input list in writing before the work begins.

Can our internal platform team deploy Zabbix on Kubernetes without a partner?

A team with solid Kubernetes operations experience can build it alone, provided it has time to learn the Zabbix server, the database requirements and the chart's configuration. The work that tends to need specialist attention is the high availability design: Zabbix server nodes share one database, one node is active while the others stand by, and failover happens when the active node exceeds a configurable failover delay between 10 seconds and 15 minutes. Tuning that delay, testing failover, and planning database recovery are where mistakes are costly. Decide which parts your team will own after handover, and whether you want an outside review of the design before go-live.

When is a virtual machine a better choice than Kubernetes for Zabbix?

A virtual machine or package-based install is usually the better choice when your organization does not already run a production Kubernetes platform, or when the team that would operate the cluster is not staffed for it. The Zabbix server is a stateful application that depends on a database with its own backup and failover needs, so the cluster adds layers you must secure and upgrade. Kubernetes also brings its own maintenance load: the project maintains only the three most recent minor releases, and kubelets may lag the API server by up to three minor versions under the version skew policy. If your cluster operations are mature, Kubernetes can be reasonable, but compare the total operating effort with a VM design before deciding.

Which database do we need for Zabbix on Kubernetes, and how does it affect risk?

Zabbix 7.4 supports MySQL or Percona, MariaDB, PostgreSQL and the TimescaleDB extension, and the supported version ranges are listed in the Zabbix requirements. PostgreSQL 14 is supported until November 12, 2026, while 15 is supported until November 11, 2027, so pick a version that stays inside its support window for the life of the deployment. Running the database outside the cluster as a managed or separately operated service is common and keeps the stateful layer easier to back up and recover. Confirm the database choice with the Zabbix requirements for your release before the design is fixed.

How DeployOpen scopes and delivers Zabbix on Kubernetes

DeployOpen is a Chainscore Labs company that plans, implements, hardens, backs up, documents and supports self-hosted open-source platforms inside the client's own infrastructure, including the cloud accounts, data centers or air-gapped networks where the Zabbix server, its database and the Kubernetes cluster run. For a Zabbix server on Kubernetes, that work covers the scope decisions that matter most before anything is deployed: which Helm chart version is adopted and how it is pinned, whether the PostgreSQL or TimescaleDB database runs inside or outside the cluster, how server HA pods and their shared database are laid out, and how secrets, backups and upgrades are handled. Engagements are fixed-scope, so these decisions, the deliverables and the timeline are agreed in writing before work starts. DeployOpen does not publish a price list. A quote follows from that written scope.

When you ask for a quote, ask for each component to be listed separately so you can compare it with your own team's effort: discovery and architecture, chart configuration and values review, database provisioning and tuning, HA and failover testing, backup and restore verification, hardening, documentation and handover. Ask which items are one-time and which recur. Ongoing support, Zabbix and Kubernetes upgrades and continuous testing are available as retainers, and the retainer scope should state which Zabbix release line and which Kubernetes minor versions it covers, since both have their own support windows. Ask the provider to confirm in writing how Helm chart upgrades, database major version moves and Kubernetes version skew are handled, and who performs the restore test before go-live.

DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies perform those assessments. If your organization needs evidence for an assessment, agree in the written scope which artifacts will be produced, such as configuration baselines, access records and backup test results, and confirm with your assessor beforehand that those artifacts meet their requirements. Scope and deliverables are the points where most disputes start, so settle them in writing before the first deployment.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.