Choosing a single or distributed ClamAV for openDesk
In a production openDesk, malware scanning of uploaded files is served by ClamAV reached over ICAP, and you must decide which of three options provides it: a single-replica bundled ClamAV, a distributed bundled ClamAV, or an external scanning service that your organization runs or buys. The openDesk requirements list ClamAV over ICAP among the production services the operator provides, so this choice is yours to make and to document. The two bundled variants differ in replica count and storage. The exact chart settings for each variant must be confirmed in the openDesk deployment repository before you size the scanner, because those settings in your chosen release are the reference for your cluster.
This page helps with three decisions. The first is whether a single scanner replica is enough for your upload pattern, and how you would detect that the scanner has become the bottleneck. The second is whether the distributed variant is worth its extra requirements, chiefly shared storage with ReadWriteMany access. The openDesk requirements specify an RWO volume provisioner, so ask your platform team whether the storage class you plan to use also provides RWX before you choose the distributed option. The third is whether an external scanning service should replace both bundled variants, which depends on your data handling rules and on who keeps the virus signatures current.
Choose an external service when your organization already operates a scanning endpoint that meets your residency, logging and patching rules. Before you commit, confirm with the scanner owner the ICAP endpoint and its availability target, the behavior when the scanner is unreachable (whether uploads are blocked or passed through), and the maximum file size it will accept. Then test the path in a staging environment with a harmless, industry-standard test file so you can see the scan result reach the application. Whichever option you pick, record the choice and its failure behavior in your operating documentation, because it determines how a scanner outage shows up to users. The openDesk deployment README is the next place to check the current variant settings.
How an upload reaches the scanner and comes back
A file uploaded through the openDesk file service goes to a scanner over ICAP, and the scanner returns a verdict that decides what happens to the file next. In the bundled setup, the scanner runs inside the cluster. In the distributed variant, it also mounts a shared RWX volume. The external branch sends the file outside the cluster boundary, so the trust boundary applies to that hop. Before go-live, confirm which openDesk component calls the scanner in your release, which traffic your network policies allow, and that the external service speaks ICAP.
Upload path to the scanner and back, with the cluster and trust boundaries marked.
Which ClamAV option fits which deployment
This table compares three ways to run malware scanning for openDesk: the single-replica bundled ClamAV, the distributed bundled variant and an external ICAP scanning service. Read each row by asking what the option fits, what you must provide and what it costs in operations or resilience. Because production openDesk expects ClamAV over ICAP, confirm that whichever option you choose meets that expectation before you commit.
| Option | When it fits | What you must provide | Main trade-off |
|---|---|---|---|
| Single-replica bundled variant | Evaluation or lower-load environments where one scanner instance is acceptable and the setup should stay simple | The bundled scanner with its storage as set in the chart values; confirm the details in the deployment documentation | One instance is a single point of failure for scanning during restarts or node failures |
| Distributed bundled variant | Production-leaning setups that want the bundled scanner running with more than one replica | A storage class with ReadWriteMany (RWX) access; confirm the settings in the chart values and deployment documentation | Shared RWX storage adds a dependency that you must run, monitor and back up |
| External ICAP scanning service | Production setups that already run an ICAP scanning service or want scanning outside the cluster | An ICAP endpoint reachable from openDesk, plus its own availability, signature updates and sizing | Scanning depends on a service you run outside openDesk, so ownership, network paths and updates need agreement |
| Storage and replica settings | Before choosing a bundled variant, to see what each one expects | Confirm storage and replica values in the chart values and the deployment documentation | Switching variants later changes these settings, so the choice affects rework |
What the distributed variant asks of your storage
The distributed variant runs several scanner replicas that must read one shared virtual signature database, so the volume they mount has to be writable from more than one node at once. That is the ReadWriteMany (RWX) access mode. A ReadWriteOnce (RWO) volume attaches to one node at a time, so a cluster that offers only RWO volumes cannot give several replicas a shared database volume. The openDesk requirements list an RWO volume provisioner as mandatory. That confirms block storage for single-attached workloads, but it says nothing about shared storage. Before you choose the distributed variant, confirm whether an RWX provisioner is also installed, which product it is, and which team operates, patches and supports it.
Shared storage is a component in its own right. It has to be backed up, monitored and failed over, and each of those tasks needs a named owner and a tested restore path. The trade-off is concentration: a storage fault, such as a stalled mount, a full volume or a failed storage backend, can affect every scanner replica at the same time. A single replica has a smaller blast radius, although it is still a single point of failure. Ask who is paged for storage incidents, and whether that team understands what a stale signature database looks like from the scanner side. Also check that your storage class works with the ClamAV chart without custom changes, because the volume settings decide whether the claim binds at all.
Take the volume sizes, the access-mode setting and any storage class names from the chart documentation for the openDesk release you deploy, not from this page or from a general Kubernetes guide. Confirm them against the chart's own values before you order storage, and record the decision together with the signature database refresh schedule and the owner of the volume. Test the claim in a non-production cluster first, including a node drain, so you can see whether the replicas recover once the volume is remounted. Then compare that effort with an external scanning service behind ICAP, which the production expectations already list as an option for ClamAV.
Picking the variant by environment
An evaluation or test cluster is where either bundled variant is a reasonable starting point, because the goal is to learn how openDesk behaves before any production data arrives. The openDesk requirements list 12 x64 CPU cores (ARM is not supported yet), 32 GB of RAM and more than 10 GB of disk as the minimum for an evaluation deployment. Treat that minimum as a floor, since production sizing is a separate exercise.
- Start with the single-replica variant: It has fewer moving parts and suits a first install on a cluster that offers only an RWO volume provisioner.
- Check the minimum first: Confirm the cluster meets the core, memory and disk figures, because the scanner shares those resources with the rest of the suite.
- Confirm support for your release: Check the requirements and release notes for your openDesk version before assuming either variant works on your cluster.
- Test an upload end to end: Send a standard antivirus test file through Nextcloud and confirm the scan result and the handling you expect.
- Move only on evidence: Consider an external scanning service when a test shows the bundled scanner cannot meet your scan load, or when production policy requires one.
Before you reuse any evaluation values in production, confirm the variant for your production environment and repeat the upload test at the concurrency you expect.
On a provider that offers ReadWriteMany storage, the distributed variant is the natural starting point, because it needs RWX storage to share scanner data across its replicas. The single-replica variant can also run on that cluster, but the choice should follow from your load tests and your availability targets, not from the storage alone. Whichever variant you pick, the storage class and the rest of the cluster baseline have to be verified before anything is deployed.
- Start with the distributed variant: It is the default to evaluate where RWX storage is available, provided your openDesk release supports it in your environment.
- Verify the storage class: Confirm that the RWX class provisions volumes that several pods can mount at once, and test a write from one pod and a read from another.
- Confirm the cluster baseline: Check the Kubernetes version, ingress controller, cert-manager and RWO provisioner against the requirements, since RWX storage does not replace any of them.
- Check ICAP reachability: Confirm that the services sending files to the scanner can reach it across the cluster network, and that network policies allow that path.
- Move to an external service when: your security policy requires a central scanning platform, or load testing shows the bundled variant cannot keep up with expected scan volume.
Before go-live, confirm the storage performance and the variant's support status for your exact release, then run an upload test at expected concurrency.
Where the provider offers no RWX storage, or the cluster sits on an isolated network, the distributed variant is ruled out because it needs RWX storage. The single-replica variant is the candidate to evaluate first, but treat it as something to test, not as a settled choice. It runs one scanner instance, so a restart or node loss interrupts scanning until the instance is back, and your users and operators need to accept that behavior before go-live.
- Confirm the RWX absence: Check every storage class on the cluster, since RWX may be offered under a class name other than the default.
- Verify signature updates: Confirm how the scanner obtains its updates inside an isolated network and whether you need an internal mirror.
- Test restarts and node loss: Observe how uploads behave while the single scanner restarts, and record how long users would wait or retry.
- Check the single instance against peak load: Use load tests to see whether one instance keeps up at your busiest upload times.
- Move to an external service when: the isolated network can host a scanner reached over ICAP, or the single instance cannot meet your availability or throughput needs.
Before choosing this variant for production, document the interruption behavior and get your security team's agreement on the update path.
Setting up ClamAV in openDesk step by step
This sequence takes a test cluster from the openDesk release check to a verified ClamAV scan of uploaded files. It follows the order the bundled scanner depends on: versions, variant choice, storage, configuration, deployment and then an upload test. The last step covers the external ICAP path if you choose a scanning service you run yourself.
Confirm the release and cluster requirements
Identify the openDesk release you will deploy and check it against the requirements page. The latest release we checked was v1.19.1, published on 2026-10-06, and only the latest minor version is supported, so confirm your target against your change process. Check that the cluster runs Kubernetes v1.33 or later, that Helm is 3.17.3 or later below v4, that Helmfile is 1.0.0 or later and that an RWO volume provisioner is present. Done when
kubectl versionandhelm versionmeet those minimums and the release tag is recorded in your change record.Choose the ClamAV variant
Pick one of three paths before you touch configuration: the single-replica bundled ClamAV, the distributed bundled ClamAV or an external scanning service reached over ICAP. The distributed variant needs ReadWriteMany storage, so this choice sets the storage check in the next step. Record the decision with the expected upload volume and the named owner of the scanner. The external path adds an ICAP endpoint, network policy and TLS work that the bundled paths do not need. Done when the storage owner has confirmed which path applies and the decision is in your change record.
Check storage classes for RWO and RWX
Run
kubectl get storageclassand read the provisioner behind each class. The bundled ClamAV needs a class that provisions ReadWriteOnce volumes. If you chose the distributed variant, you also need a class that provisions ReadWriteMany volumes. Create a throwaway claim for each access mode you need, confirm it reaches Bound inkubectl get pvc, then delete it. Ask your storage team which backend serves the RWX class, because the provisioner name alone does not show replication or performance. Done when every required access mode has a class whose test claim shows Bound.Set the variant in environment configuration
In the deployment repository, open the environment configuration that your Helmfile setup loads for the test environment. Set the ClamAV variant there using the key names documented in the repository README for your release. Do not reuse keys from older examples, because names can change between releases. Render the manifests with
helmfile templatefor that environment and search the output for the ClamAV workloads and their volume claims. Done when the render completes without errors and the ClamAV resources match the variant you chose.Deploy to the test environment
Apply the release to the test environment with Helmfile, using the same environment file you rendered. Let the rollout finish, then check the ClamAV pods and their claims in the namespace the release uses. For the distributed variant, confirm that every replica is scheduled and its claim binds in ReadWriteMany mode. Done when
kubectl get podsshows every ClamAV pod Running and Ready andkubectl get pvcshows every claim Bound. If a claim stays Pending, read the storage class events before you change the variant.Verify scanning through the upload path
Upload a clean test file and then the standard EICAR test file through the file service upload path, the same route users take. The EICAR file is harmless and is built to trigger detection in antivirus engines, so it proves the scanner sees uploads without using real malware. Confirm how your release reports a detection, then check that the clean file is accepted and the EICAR file is blocked with a detection message. Read the ClamAV pod logs to confirm that each upload was scanned. Done when both results match and the logs show a scan for each file.
Connect an external ICAP scanner securely
Skip this step if you chose a bundled variant. Otherwise, point the file service at the external ICAP endpoint, then add a network policy that allows only the file service to reach the scanner on the ICAP port. Enable TLS on that path and validate the scanner certificate against your internal certificate authority. Confirm the port, TLS settings and policy syntax with the openDesk documentation for your release. Done when the file service connects over TLS, a test pod outside the file service cannot reach the scanner, and the EICAR upload is detected by the external scanner.
Security considerations for the scanner path
The scanner sits between user uploads and the rest of openDesk, so its network position, image trust, failure handling and credentials all shape what a file can reach. The cards below cover each decision point. Confirm every behavior against the chart values and the openDesk security documentation for your release before you write the policy.
Scanner reachability and network policy
Decide which pods can open a connection to the ClamAV service and on which port, then check that the network policies openDesk documents match that intent. If the bundled scanner is in use, the services that handle uploads are the workloads that need access, so a policy that allows broader ingress widens the set of pods that can submit files. With an external ICAP service, the firewall rules outside the cluster also decide reachability. Confirm the exact policy objects and selectors in the chart and security docs.
openDesk security docsVerifying signed and digest-pinned images
openDesk pins container images by tag and digest, and its security documentation describes cosign signatures for images it builds. Confirm whether the ClamAV image you run falls under that signing process or comes from an upstream source you must verify yourself. Before admitting an image into your registry, check that the digest in your values matches the release you deploy. A tag alone can move, so an upgrade that keeps the same tag still needs a digest check.
openDesk security docsHandling files that fail or time out
A scan that errors or runs past its timeout leaves an upload without a verdict, and the configured behavior decides whether that file is delivered, quarantined or rejected. Agree the policy with your security team before go-live. Failing open lets unscanned files through, and failing closed can block legitimate work during a scanner outage. Test both cases on a staging cluster using an oversized file and a deliberately slow one. Confirm which setting the chart exposes and its default in the security docs.
Scanner access to uploads and shared storage
The scanner must read each file it checks, either from a mounted volume or from a streamed copy of the upload. In the distributed variant, that access runs through RWX storage shared with other pods, so any pod that mounts the same volume can also read or change what the scanner sees. Confirm which volumes the scanner pods mount, which service accounts can reach them, and whether a read-only mount is possible in your release. Review the file handling controls in the security docs.
Credentials and TLS for external ICAP
An external ICAP service receives file content, so the connection needs its own trust decisions. Confirm whether the openDesk configuration supports TLS for the ICAP connection, which certificate authority bundle it trusts, and where any service credentials are stored. Keep those secrets in your secret store with a named rotation owner. The requirements list ClamAV over ICAP as an external production service, so the connection design belongs in your architecture review.
openDesk requirementsWho receives update and alert events
Signature update events and scan alerts reach only the recipients your configuration names, so the recipient list is a security decision you own. Assign one team to signature update failures, because stale signatures reduce detection without any visible outage. Send malware detections to a separate queue that someone reviews. Confirm which metrics, alerts and notification channels the chart exposes, and add the scanner to your patch intake so image and signature updates follow the same approval path.
Operating the scanner after go-live
After go-live, the operator's job is to notice when the scanner stops protecting uploads, and that can happen without any visible failure in the user interface. Watch four things in the bundled ClamAV: whether scanner pods are up and answering, how long uploads wait for a scan and whether scans time out, how old the virus signature database is, and whether replicas restart. Timeouts need a decision before go-live: confirm with the consuming service what happens to a file that could not be scanned. Signature freshness deserves its own alert, because a scanner can answer every request while detecting nothing new. Frequent restarts can look healthy from outside while uploads queue behind them.
The distributed variant adds a shared RWX volume, and that volume is the item most likely to fill quietly. Track free capacity on it and the growth of signature and working data, then set a threshold before users arrive. Next, read the openDesk operations and monitoring content, which covers the Prometheus metrics, dashboards and alerts for openDesk. Confirm which scanner metrics the bundled chart exposes in the version you deploy, and build alerts only on metrics you have verified. Restart counts and scan latency are good first candidates if the chart provides them.
Patching the bundled scanner follows the openDesk release and patch intake. openDesk plans minor releases monthly, publishes patch releases on demand and supports only the latest minor version, so schedule a regular window to move the scanner forward with each release. Read the release management guidance before scheduling, and test the new scanner version against your own upload path in a non-production environment first. If you replace the bundled scanner with an external scanning service, that provider takes on signature updates and patching for the service, while you keep the ICAP connection, timeout settings and evidence that scanning happened. Get that split of responsibility written into the contract.
Limits to confirm in your environment
The supplied material explains how the two bundled variants differ, but several values that decide the choice depend on your cluster, your scanner and the release you deploy. Each card below names one open item and the person who can answer it, so you can close them in order before you commit to a variant.
Replica and storage settings per variant
The single-replica and distributed bundled ClamAV variants set their replica count and storage in the openDesk chart values for the release you deploy. Read those values for your target version before you choose, because the project supports only the latest minor version. Record each replica count, volume claim size and access mode in your change record. If any value is unclear or undocumented, ask the openDesk maintainers at ZenDiS through the project channels.
openDesk deployment READMERWX provisioner on the cluster
The distributed variant needs shared read-write-many storage, while openDesk's documented baseline asks for a read-write-once volume provisioner. Confirm with your cluster provider whether a read-write-many storage class exists on the target cluster, which backend serves it and whether its performance and retention meet your needs. Ask for the storage class name and its access modes in writing. If no such class exists, the single-replica variant or an external scanning service becomes the practical path.
openDesk requirementsICAP support in the external scanner
openDesk expects ClamAV over ICAP for production, so any external scanning service must speak ICAP in the way the openDesk integration calls it. Confirm the ICAP methods, response headers and file size limits the service supports, and whether it returns verdicts in the format openDesk expects. Ask the scanning vendor for a test run against a non-production openDesk instance before you switch. Also confirm who holds the license and support contract for that service.
openDesk requirementsThroughput under your upload profile
Scanning throughput for either variant depends on your file size mix, upload concurrency and how many files each user sends, so the sizing figure must come from your own measurement. Describe your upload profile in those terms before you ask anyone for numbers. Ask ZenDiS through the project channels which load profile they tested against, and check the answer against your own test. During the test, watch the scanner pods and their queue in monitoring.
Changes in the Enterprise Edition
ZenDiS recommends the Enterprise Edition for production. It keeps the same open-source core but adds closed-source modules and SLA-backed support. Confirm with ZenDiS whether the ClamAV options, chart values or storage behavior differ in the Enterprise build before you commit to a variant. Get the answer in writing, because a variant chosen on the Community Edition may need rework if you move to the Enterprise build later.
Enterprise Edition docsScanner behavior on an air-gapped install
On an isolated network the cluster cannot pull images or fetch scanner updates from public sources, so image and definition updates must reach the scanner through a path you approve. Ask ZenDiS through the project channels how the bundled scanner gets its images and updates offline, and which registry or mirror it expects. Ask your scanning vendor the same question for an external service. Test the update path before go-live, because stale definitions can miss recent threats.
Questions buyers ask about ClamAV in openDesk
Should I choose the single or distributed ClamAV variant in openDesk?
Choose the variant that matches your measured scan load and your tolerance for scan downtime. The single-replica variant has less moving parts, so it is the simpler option to build and run. The distributed variant spreads scanning across more replicas but needs shared storage, which adds build, testing and operating effort. Base the decision on scan volumes from a pilot or load test, the failure behavior your processes can accept, and the number of users who upload files at peak times. Confirm in the openDesk documentation for your release which variants it supports and how each one is configured. Ask your partner to record the decision, the data behind it and the steps to switch to the other variant if the first choice proves wrong.
What does ReadWriteMany storage for ClamAV cost and take to set up?
ReadWriteMany (RWX) storage lets several pods mount the same volume at once. openDesk's base requirements call for an RWO volume provisioner, so the distributed variant usually means adding a second storage class that supports shared access. Cost comes from the storage product and who runs it: a managed file service in your cloud, a storage system your team already operates, or a new platform to build. Effort covers provisioning, access control, backup and restore of the shared volume, and performance testing under concurrent scans. Check the exact storage requirements in the openDesk requirements for your release. Ask for a quote that names the storage class, the sizing assumptions, who installs it and who operates it, and which restore tests are included.
Does an external ClamAV service remove the need for RWX storage in openDesk?
It can, but confirm it for the release you run. openDesk's production requirements expect you to provide several external services, and ClamAV over ICAP is one of them, so an external scanning service is a supported option in principle. Whether it also removes the RWX need depends on how your configuration wires the bundled components and whether any bundled ClamAV variant stays enabled. Verify this in the configuration documentation, then test upload and download paths with scanning turned on. An external service moves signature updates, capacity and monitoring to the platform's owners. It also adds a network dependency and a trust boundary, so confirm TLS, access control and whether uploads are blocked or passed when the scanner is unreachable.
How long does a ClamAV setup in openDesk take?
No duration is available for this work, so ask for a written scope with a timeline before you plan. The time depends on which variant you choose, whether shared storage already exists, whether an external scanning service must be integrated, and how many environments need testing, such as a staging cluster before production. Ask the partner to list each phase: storage check, configuration, integration tests, load and failure testing, handover and go-live. Also ask which steps depend on your change approvals, network access, DNS or identity work, because these often set the calendar more than the installation does. Compare proposals only when they cover the same written scope.
What does my team need to provide for a ClamAV build in openDesk?
Expect your team to provide access, decisions and people. The typical needs are a Kubernetes cluster that meets openDesk's requirements, including a CNCF-certified cluster at v1.33 or later and an RWO volume provisioner, a storage decision for shared volumes if you choose the distributed variant, network paths for scanning traffic, and a named owner for an external scanning service if you use one. You also need a test environment, change approvals, access to monitoring and a person who can sign off on failure behavior. Ask the partner to list these as customer responsibilities in the written scope, with the owner of each item and the date it is needed.
Can my own team set up distributed ClamAV in openDesk without a partner?
Yes, if your team already runs Kubernetes, Helm and Helmfile and has storage engineers who can add a shared-access volume. The openDesk deployment is Helmfile and Helm based and its documentation is public, so a capable internal team can work from it. The harder parts are usually the shared storage design, performance under concurrent scans, backup and restore of the volume, and testing of failure behavior. Estimate the engineering time for those tasks and compare it with a fixed-scope engagement that has a written scope and deliverables. Separate this decision from support: ZenDiS offers SLA-backed second and third level support for the Enterprise Edition, which is a different question from who builds the ClamAV setup.
What recurring ClamAV work remains after go-live in openDesk?
Recurring work falls into four groups: updates to the ClamAV image and signature content, monitoring of scan health and queue depth, capacity checks as upload volume grows, and maintenance of the shared storage if you run the distributed variant. openDesk's release management docs say only the latest minor version is supported and that upgrades between majors are not guaranteed, so plan a regular upgrade window and a patch intake. An external scanning service moves signature updates and availability to its owners, but your team still tests the integration after each change. Ask for these items as a recurring list in the scope, with the owner, frequency and evidence for each. DeployOpen also offers retainers for ongoing support, upgrades and continuous testing.
How is the cost of a fixed-scope ClamAV engagement determined?
The cost follows from the written scope. DeployOpen's engagements are usually fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. DeployOpen does not publish a price list, so a quote is built from that scope. The main drivers are the variant, the storage work, the number of environments, the external scanning integration, the depth of load and failure testing, and the handover material. Costs that recur, such as retainers for upgrades and monitoring, are separate from the one-time build. When you request a quote, ask for line items per deliverable, the assumptions behind each one, what the customer provides, what is excluded, and which items are one-time and which recur.
How DeployOpen scopes and delivers openDesk scanning
DeployOpen treats the choice between the single-replica and distributed bundled ClamAV variants as a decision made against your cluster, storage and scanning requirements. We plan the scanning path in openDesk's Kubernetes deployment, confirm the RWX storage the distributed variant needs, and document when an external scanning service over ICAP should replace both. Engagements are fixed-scope, with the scope agreed in writing before work starts.
How we scope
- We confirm your cluster, storage class and expected scanning load before choosing the single or distributed variant.
- The written scope names the ClamAV variant, RWX storage approach and any external ICAP service in scope.
- Fixed-scope agreements list deliverables and timelines, and ongoing support is available as a retainer.
How we build
- Deploy the chosen bundled variant through openDesk's Helmfile and Helm configuration in your cluster.
- Provision RWX-capable storage for the distributed variant and verify volume access before the scanners start.
- Wire ICAP or external scanning endpoints into openDesk components and test with benign and test samples end to end.
How we hand over
- Document the chosen variant, storage class, replica settings and the reason behind the decision.
- Provide a runbook covering scanner health, definition updates, failed scans and the rollback procedure.
- Walk your platform and security teams through the configuration so they can review it against their controls.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Confirm scanner resource use and storage growth in monitoring after go-live and adjust the layout if load shifts.
- Confirm with ZenDiS whether bundled ClamAV questions fall under the SLA-backed Enterprise Edition support.

