Znuny on Docker vs Kubernetes vs VMs

Choose between Znuny on Docker, Kubernetes and virtual machines by weighing existing platform skills, availability targets, the upgrade routine and running cost. Confirm which container or cluster packaging Znuny supports before you commit to one.

On this page

Znuny on Docker vs Kubernetes vs VMs: which model fits your team

The hosting choice for Znuny turns on three things: the platform skills your team already has, the uptime target the service desk must meet, and how much operating work your people can carry after go-live. Start with what you already run well, because a model your team can patch, back up and restore will serve you better than a more elegant one that only one engineer understands. Virtual machines fit when you already operate a hypervisor and have Linux administrators. The Znuny README names Debian or Red Hat as the preferred Linux platforms, expects Perl 5.16.0 or higher, recommends Apache 2 with mod_perl2, and lists supported databases such as MySQL 8.0 or later, MariaDB 10.3 or later, and PostgreSQL 12.0 or later. A VM team can reuse existing images, patch routines and monitoring, and backups stay host-level work with a short runbook.

Docker fits a team that already builds images, keeps them in a registry and deploys them through a pipeline. Confirm with Znuny GmbH and the Znuny repository which container packaging is supported and who rebuilds the image when a patch lands, since the Perl, web server and database client requirements still apply inside the container. Kubernetes fits only when you already run a cluster and have people who operate stateful services: persistent volumes for attachments, a database with its own failover, and backups that someone has restored in a test. Without those skills, the cluster adds an operating layer that a single ticketing workload may not justify.

Whichever model you choose, decide the version line first. Pick between the feature line and the LTS line on the Znuny releases page, then follow the matching documentation on the Znuny documentation portal so your runbook describes the release you actually run. Write the uptime target as the amount of downtime the service desk can accept per month before you compare models, because that figure decides how many application nodes, database replicas and restore tests you need. Finally, ask whoever builds the setup to demonstrate a restore to a clean host, container or cluster namespace, since an untested backup is a risk that only shows up during an incident.

Znuny on Docker vs Kubernetes vs VMs side by side

This table compares running Znuny in a Docker container, on Kubernetes or on virtual machines across packaging, state, availability, upgrades, backups, skills, sizing and team fit. Read each cell as the condition under which that model is the better choice, then confirm the flagged items with Znuny before you commit. Teams without a cluster platform usually find a single Docker host or a VM easier to operate, while teams already running Kubernetes gain tooling they already know.

FactorDockerKubernetesVirtual machines
Host packagingContainer image run with Compose on one host. Choose it if Znuny publishes an official image; confirm the image and tag policy with Znuny.Helm chart with pods managed by a cluster. Choose it only if your platform team already runs clusters; confirm an official Helm chart exists.Packages installed on Debian or Red Hat with Perl 5.16.0 or higher and Apache 2 with mod_perl2. Fits standard IT operations; confirm the install guide for your OS version.
Where state livesDatabase on a separate server or container; attachments and config on mounted volumes. Confirm the storage paths with Znuny.Database and file storage in persistent volumes or external services. Confirm which storage class and shared file access the setup needs.Database, attachments and config on the VM or its attached disks, with the database on the same or a separate VM. Easiest to inspect directly.
Availability designRestart policies on one host. Suits teams that accept a short outage during host failure; multi-node failover needs your own design.Multiple replicas behind a load balancer if the app and session handling allow it. Confirm Znuny's supported multi-node setup with the vendor.Active-passive pair with database replication and file sync, built by your team. Confirm the supported HA pattern with Znuny.
Upgrade pathReplace the image tag, then run the upgrade steps in the release notes. Pin tags per release line and confirm the steps for 7.3.x and LTS 6.5.x.Rolling updates through chart versions, which suits frequent patching. Confirm chart upgrade notes and any schema steps with Znuny.In-place package or source upgrade in a maintenance window. Znuny LTS 6.5.26 is the current LTS line; confirm its support end date with Znuny.
Backup scopeDatabase dump plus volumes for attachments and config. Container images are not backups; confirm the full list of paths to save.Database, persistent volumes and chart values. Snapshot tooling must be tested for database consistency; confirm the approach with Znuny.Database, file system and Apache or Perl configuration. VM snapshots alone may miss database consistency, so test restores.
Skills neededLinux, container runtime and Compose, plus Znuny admin skills and Perl basics for custom code.Cluster operations, Helm, storage classes and monitoring, plus Znuny admin skills. Higher bar for a small team.Linux administration, Apache with mod_perl2, database administration and Znuny admin skills.
Sizing approachSize the host and database from agent count and attachment volume. Confirm sizing guidance with Znuny before you pick limits.Set requests and limits per pod and plan storage growth for attachments. Start from vendor guidance and load test before go-live.Size CPU, memory and disk for web workers, database and attachments. Load test before go-live and revisit after growth.
Fit by team sizeSmall to mid teams with one operations owner who want repeatable builds and do not run clusters.Larger platform teams already operating clusters, with Helm and monitoring in place.Teams with standard IT operations, existing VM tooling or strict change control on hosts.

How Znuny's application, database and file tiers map onto each model

Znuny's tiers are the same in every model: an application node, a database, shared file storage, scheduled work, and an HTTPS entry point. What changes is who runs each tier and how it is restarted, backed up and scaled. Each card ends with the points to confirm with Znuny before you size the platform.

Application node on Apache and Perl

The Znuny application node runs Apache 2 with mod_perl2 on Perl 5.16.0 or higher, on Linux, preferably Debian or Red Hat. On a VM, this is a package install that your team patches in place. In a container, the image must pin Perl, Apache and the Znuny release together, so every Znuny upgrade becomes a new image build. In a Kubernetes pod, the same image runs as a Deployment, but you must confirm which configuration is per instance before you add replicas. Check the Znuny releases page for the current release lines.

Znuny releases

Database kept outside the app

MySQL 8.0 or later, MariaDB 10.3 or later, PostgreSQL 12.0 or later, or Oracle 19c or later holds the ticket data, so the database stays outside the application node in every model. On a VM, it is usually a separate host or managed service with its own backup schedule. In Docker, a database container suits a test stack, but the data lives in a volume you must back up and restore. In Kubernetes, a StatefulSet or an external managed database needs storage classes, snapshots and a tested restore. Confirm the supported version for your release line with Znuny.

Znuny repository

Attachments and shared file storage

Ticket attachments and any file storage Znuny uses must survive a container restart or a pod reschedule. On a VM, this is a local or network-mounted directory that the backup job covers. In Docker, every node that writes files needs a named volume or bind mount. In Kubernetes, a ReadWriteMany volume is only safe if the storage class supports concurrent writers and your Znuny storage module allows a second node to write. If the storage module writes to the database, the question moves to the database tier. Confirm the storage module and write location with Znuny, and include an attachment in every restore test.

Background jobs and scheduled tasks

Scheduled work such as mail fetching and other periodic tasks runs outside the web request cycle, and in most designs it must not run twice on the same mailbox. On a VM, this is cron or a service unit on the application host. In Docker, run it as a separate service from the same image, so it has its own restart policy and logs. In Kubernetes, use a CronJob or a dedicated Deployment, and confirm that two replicas will not fetch the same mailbox or run the same job. Confirm with Znuny which daemon and cron entries your release requires and whether they are safe on more than one node. The Znuny documentation covers the admin procedures.

Znuny documentation

TLS termination and load balancing

The TLS reverse proxy or load balancer terminates HTTPS for agents and customers, and the Znuny node behind it must know the public host name and scheme to generate correct links. On a VM, this is usually Apache or a hardware or cloud balancer in front of the host. In Docker, a proxy container or a host-level proxy handles certificates, and the stack needs a fixed internal address. In Kubernetes, an Ingress controller takes this role, and the session behavior for long agent sessions needs load testing. Confirm with Znuny which settings control the public URL and how sessions behave when a request reaches a different node.

Trust boundary for helpdesk data

The platform team can reach the host, container runtime, database and storage, and in every model those paths expose ticket content, customer data and attachments. Helpdesk administrators work inside the application, while platform engineers may hold shell, database and volume access that sits outside ticket roles. Decide before go-live who can read database dumps, snapshots and attachment volumes, how those backups are encrypted, and who approves restores. Confirm with Znuny which admin roles and audit records exist at the application layer, and write the boundary into your own access model.

Where state sits when Znuny runs on a VM, a container or a cluster

This diagram is illustrative and pending confirmation from Znuny. Agents and customers send HTTPS requests to a TLS reverse proxy or load balancer, which forwards them to one or more Znuny application nodes. Those nodes run on one of three alternative host layers: a virtual machine, a Docker host or a Kubernetes cluster. The state sits on the right. Znuny reads and writes a database service, and it reads and writes attachments on shared storage. Both are what you back up and size, whichever host layer you choose. Before you pick a host layer, confirm with Znuny how application nodes share attachment storage and which database versions it supports for your release line.

Illustrative, pending Znuny confirmation: database and attachment storage hold state.

What drives the cost of each model beyond the Znuny license

Znuny carries no license fee because it is distributed under GNU GPL v3, so the money in each model goes to the platform around it. Recurring cost sits in four places: host or cluster capacity, the database and file storage behind tickets and attachments, backup retention, and the monitoring and staff time that keep the service patched and reachable. Professional services from Znuny GmbH in Berlin are a separate purchase, so they appear in your budget only if you buy them. Ask every vendor or partner to show which of these lines its figure includes and which it leaves out. A low quote that omits backups or monitoring is incomplete, and the gap usually shows up later as unplanned work.

Separate one-time costs from recurring ones before you compare totals. One-time work includes building the container image or VM template, migrating data and configuration, planning the cutover window, and, for Kubernetes, setting up the cluster itself. Recurring work includes patching the operating system, database, Perl and Apache stack and Znuny, applying upgrades, covering on-call for incidents, and paying for any support contract. A Kubernetes cluster is a shared platform cost. It only pays off if your team already runs one and can absorb Znuny as one more workload. If Znuny would be the first thing that team runs on a cluster, charge the full build and upkeep of that cluster to Znuny, and compare the result with a Docker host or VM on the same basis.

When you request quotes, ask these questions in writing. Who patches each layer: the host, container runtime or hypervisor, database, Perl stack, and Znuny itself? Who restores backups, how often is a restore test run, and who signs off on the result? Which release line is covered, the current feature version or the LTS line, and for how long? Znuny publishes separate documentation for each line in the Znuny documentation portal, so confirm which one the quote targets. Finally, ask for the response model: whether support runs in business hours or around the clock, how severity levels are defined, and what triggers a separate change order.

Upgrades, backups, monitoring and skills for each deployment model

This table compares how each deployment model handles release choice, upgrades, backups, restore testing, monitoring, patching, skills and ownership for Znuny. Read each row across the three columns to see where work falls to your application team, your platform team or your database owner. Whichever model you choose, test restores of the database and attachments on a separate instance before go-live and after every upgrade.

TaskDockerKubernetesVirtual machines
Release choicePin a Znuny 7.3.8 (feature) or 6.5.26 (LTS) image tag. Avoid floating tags.Pin the same tag in the manifest or Helm values. Choose the feature or LTS line before first deploy.Install either the 7.3.8 feature line or the 6.5.26 LTS line. Record the choice in your change log.
Upgrade pathBuild or pull the new tag, run the upgrade steps against a restored copy, then switch the container.Roll the deployment to the new tag in staging first, run the database upgrade steps as a job, then promote.Snapshot the VM, upgrade the package or source install, run the database upgrade steps, then test before users return.
Backup and restore scopeDatabase, attachment storage and the configuration volume. Include every mounted path in the backup plan.Database, persistent volumes for attachments and config, and any secrets stored outside the cluster.Database, attachment storage paths and the Znuny config directory. Back up the VM image or snapshot too.
Restore testRestore database and attachments to a separate host, start Znuny, then check ticket and attachment access.Restore into a separate namespace with its own volumes, then open tickets and attachments.Restore onto a clean VM, start Apache and Znuny, then open tickets and attachments.
Monitoring and logsContainer logs through your log driver, plus Apache and Znuny logs inside the container.Pod logs and cluster metrics shipped to your platform stack, plus Apache and Znuny logs.Apache, Perl and Znuny logs on the host, shipped to your log platform with host metrics.
Base image or OS patchingRebuild or pull patched base images and redeploy. Host OS patching stays with the Docker host owner.Node OS and cluster patching sit with the platform team. Image rebuilds follow each Znuny tag.Patch the OS, Perl, Apache and mod_perl2 on the VM's own cycle. Debian or Red Hat is the preferred OS.
Skills neededContainer builds, Linux, Perl and Apache basics, and database administration for the Znuny schema.Kubernetes operations, persistent volume handling, plus the Linux, Perl and database skills above.Linux administration, Apache with mod_perl2, Perl, and database administration.
Usually owned byPlatform or IT operations owns the host and image, the Znuny admin owns config and restores.Platform team owns the cluster, the Znuny admin owns the application, the database team owns the database.IT operations owns the VM and patching, the Znuny admin owns config, upgrades and restores.

Why upgrades follow the same gates whichever model you pick

The same six gates apply whether Znuny runs in containers, on Kubernetes or on virtual machines. The model changes who builds the application layer and how much of the work is scripted, while the checkpoints stay the same: a verified backup, a rehearsed upgrade and a tested rollback before cutover.

  1. Choose the release line first

    Decide whether to follow the feature line or the LTS line, then read the documentation for that exact version in the Znuny documentation portal. The portal keeps separate documentation for the current feature version and the latest LTS version, so confirm which version each page describes before you copy any setting. Note the upgrade notes, database changes and add-on compatibility items that apply to your target. This step is manual in all three models because no container, cluster or template can make that choice for you. Done when the change ticket names the target version and links the matching documentation.

  2. Back up database and file storage

    Take a consistent backup of the database and the file storage that holds attachments and configuration, then store a copy outside the system being upgraded. The tooling depends on the model: VM teams often use snapshots or a backup agent, Kubernetes teams use volume snapshots or their database operator's tools, and Docker hosts usually rely on scripts the team owns. Confirm with your database administrators which method gives a consistent point in time for your database engine. Done when a restore of that backup has been tested and the restore steps are written in the change ticket.

  3. Rebuild the application layer from one release

    Build the new application layer from the same Znuny release on every node: a new container image on Docker, a new pod spec or Helm values on Kubernetes, or a new template on virtual machines. Keep the image tag, template version and configuration files under version control so the build can be repeated. Pipelines often automate this build on Docker and Kubernetes, while VM templates are frequently built by hand unless your team has scripted them. Done when the rebuilt layer starts against a test database and every node reports the same Znuny release.

  4. Run the upgrade on a restored copy

    Restore the production backup into a separate environment that matches production's database engine and version, then run the upgrade on that copy. Upgrade commands come from the documentation for your chosen version, so copy them from there and record each one with its output. Scripts can handle the restore and the start order in any model, but the database migration and the Znuny upgrade commands should be run and watched by a person. Done when the upgrade finishes on the copy with no failed steps in the log and every command is recorded.

  5. Test agent and customer flows

    Test the flows people use every day on the upgraded copy: agent sign-in, single sign-on, ticket creation through the customer interface, inbound and outbound email, attachments, queue routing and scheduled jobs. Run the same written test list for each deployment model, and include every integration the service desk depends on. Smoke tests can be automated in all three models, but a person should confirm results because service desk failures often appear in customer email first. Done when every item on the agreed list passes or has a fix with a documented retest.

  6. Cut over with a tested rollback

    Freeze changes, take a final backup, switch traffic to the upgraded layer and watch the first live tickets. Rollback means returning to the previous image, template or pod spec and restoring the pre-upgrade backup if the schema has changed, so rehearse it on the restored copy before cutover. Docker and Kubernetes teams usually switch traffic through a load balancer or ingress change, while VM teams often switch a proxy, virtual IP or DNS entry. Done when the rollback has been rehearsed once and the service owner signs off on production running the new version.

How shared state decides high availability for Znuny in any model

Availability for Znuny depends on shared state, and that holds whether you run Docker, Kubernetes or virtual machines. Several application nodes can only serve the same tickets reliably if they share one database and one attachment store. If they do not, a second node cannot take the same load and may only work as a standby, depending on your design. Database failover also sits outside the Znuny package. The Znuny README lists MySQL 8.0 or later, MariaDB 10.3 or later, PostgreSQL 12.0 or later and Oracle 19c or later as supported databases, but replication, failover and its testing belong to your database team, so settle that platform decision early.

Start from the Znuny documentation and the database versions above, then put four questions to Znuny or Znuny GmbH in writing, and get the answers for the release line you plan to run, either 7.3.x or LTS 6.5.x. First, multi-node support: does the release support several application nodes against one database, and what configuration does that require? Second, session handling: are sessions stored in the database or on each node, and do you need sticky sessions at the load balancer? Third, attachment storage: do article attachments go to the database or to a file path, and must that path be shared by every node? Fourth, scheduled jobs: which node runs mail fetching, escalations and other cron-style tasks, and what happens if two nodes run them at once?

Illustrative example only: a team runs Znuny in several containers behind an ingress, with attachments on a volume mounted into a single container. An agent uploads a file through one node, and the next agent on another node cannot open it. Mail fetching also runs on every node, so customers receive duplicate replies. The fix is a design decision made before go-live: a shared attachment location, a session approach that survives a node change, and one designated node for scheduled jobs. Ask for the written answer on each point in your quote, and test a node restart and a database failover in staging before you rely on either.

Which team should pick Docker, Kubernetes or VMs for Znuny

A small IT team with Linux administrators and an existing hypervisor usually fits a virtual machine. The team already patches, snapshots and monitors VMs, so Znuny becomes one more Linux service managed with tools it already trusts. The Perl, Apache and database layers stay visible to the people who will troubleshoot them.

  • Skills presumed: Linux administration, Apache with mod_perl2 and enough Perl to read logs and follow Znuny's upgrade notes.
  • Database choice: Znuny supports MySQL 8.0 or later, MariaDB 10.3 or later, PostgreSQL 12.0 or later and Oracle 19c or later. Pick the engine your database administrators already back up and restore.
  • Backups: Hypervisor snapshots help with recovery but do not replace consistent database dumps and file backups. Test a full restore before go-live.
  • Condition that changes the choice: Frequent creation of short-lived environments or a requirement for automated scaling moves the decision toward containers and a team that runs a cluster.

Confirm with the vendor or partner how they recommend snapshot-based backups to be coordinated with database dumps, and how they handle the upgrade path inside a VM.

Znuny on Docker vs Kubernetes vs VMs: questions buyers ask

What drives the cost of hosting Znuny, and does the license add any?

Hosting Znuny carries no license fee for the software itself, because it is GPL-3.0 licensed, so the cost comes from what you run around it. Four components drive the total: the hosts (VMs, Docker hosts or a Kubernetes cluster), the database (MySQL, MariaDB, PostgreSQL or Oracle, each at the minimum versions Znuny lists), storage for ticket data and attachments, and the staff time to build, patch and back up the stack. Service scope adds the rest: you pay a partner for the work in the written scope, which is typically one-time, and for any ongoing support, while hosts, storage and operating time recur. Ask any quote to split one-time from recurring costs and to state which hosting option it assumes.

How long does a Znuny rebuild or migration take, and what sets the time?

The duration of a Znuny rebuild or migration depends on the written scope more than on the software, so no fixed timeline applies to every project. The main drivers are the scope agreed in writing, including which configuration, integrations, customizations and data sets move, the volume of ticket history and attachments to migrate and verify, and the cutover window the business allows for a final freeze and sync. Moves from older OTRS or Znuny lines add checks of configuration and add-ons against the target release. Ask any partner, including DeployOpen, which items sit inside the fixed scope, how the cutover window is planned, and how migrated data is tested before anyone commits to a date.

What does a Znuny deployment need from our team?

A Znuny deployment needs a team that can run a Linux server, a supported database and a Perl web stack. The software runs on Linux, preferably Debian or Red Hat, with Perl 5.16.0 or higher, and Apache 2 with mod_perl2 is the recommended web setup. Someone must own the database, backups and restore tests, certificates, mail routing and any directory or single sign-on link you configure, and must plan upgrades between the feature and LTS release lines. A platform team on Kubernetes may already cover part of the infrastructure, but the Znuny application still needs a named owner on any of the three options. Confirm the exact versions and prerequisites for your target release in the README and release notes before you size the team.

Can an internal team run Znuny on its own?

An internal team can run Znuny alone if it already operates Linux, databases and Perl-based web applications and has time for upgrades and restore tests. Whether that holds depends more on skills and on-call cover than on the container platform. The usual failure points are one person holding all the knowledge, upgrades that drift behind the release lines and restores that were never tested. Split the work in writing: who patches the operating system, who runs the database, who applies Znuny upgrades and who responds out of hours. The Znuny documentation portal keeps the current feature version and the latest LTS version apart, which helps staff follow the right guide. If the team lacks these skills, an implementation partner such as Znuny GmbH or DeployOpen can take on build, hardening, backup and upgrades under a written scope.

Is Docker or Kubernetes supported for running Znuny in production?

Only treat Docker or Kubernetes as production-ready for Znuny once the vendor confirms it in writing for your exact release. Check the Znuny repository, release notes and documentation, then ask Znuny GmbH which images, configurations and deployment methods it covers. Even where a container image exists, your team owns the image build, persistent storage for attachments, database connections, configuration files and patching. Docker is a packaging choice that can run on a single host, while Kubernetes adds an orchestration layer that also needs operating, monitoring and upgrades. Get the support position in writing before you commit to either platform, and make it part of the written scope for any partner work.

Does running Znuny on Kubernetes give better uptime?

Not by itself: Kubernetes does not raise Znuny's availability on its own, because uptime depends on the design around the application. The parts that decide it are database high availability, shared or replicated storage for attachments, load balancing across web nodes, session handling, tested backups and a safe upgrade path. Kubernetes can restart failed containers and reschedule them after node failures, but it cannot fix a single database instance, an unreplicated file store or a bad upgrade. A well-designed pair of VMs with a replicated database and tested failover can deliver similar availability, while a cluster that nobody can operate may be less available. Ask any design for its failure scenarios, the recovery time it has tested, and who runs the failover drill.

How DeployOpen scopes and runs Znuny on the model you choose

DeployOpen plans, implements, hardens, backs up, upgrades and documents self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For Znuny, the hosting model is settled during scoping, so the written scope reflects your container, cluster or virtual machine choice, your database and your upgrade plan. Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we scope

  • The written scope names the hosting model, database engine and Znuny release line before any work starts.
  • We confirm your Perl, Linux distribution and database versions against Znuny's README requirements for that release.
  • Deliverables, timelines and acceptance tests are agreed in writing, and ongoing support can follow as a retainer.

How we build

  • Sizing for Docker, Kubernetes or virtual machines starts from your agent count, ticket volume and attachment storage.
  • Database, web server and mod_perl2 configuration are built to the chosen model, with hardening applied inside your environment.
  • Identity, mail and monitoring integrations are scoped only after confirming Znuny supports them in your release line.

How we hand over

  • Handover documents the topology, upgrade path, backup and restore steps and the operating runbook for your team.
  • Backup and restore are demonstrated and recorded before go-live, so your team has evidence the process works.
  • Evidence for compliance reviews is prepared for independent auditors, who issue any report or certification.

How we support

  • Retainers cover ongoing support, upgrades and continuous testing once the platform is live.
  • Upgrades follow the line you choose: feature releases such as Znuny 7.3.8, or LTS such as Znuny LTS 6.5.26.
  • Retainer terms state which hosting model, release line and integrations are covered, so responsibilities stay clear.

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.