1

I am using django-clamd (https://github.com/vstoykov/django-clamd) inside my django app. The scanning works fine on my local system while uploading files and virus containing files are detected. I want to achieve the same for my app pod in kubernetes environment. Any ideas how to setup clam antivirus as a single instance(one pod per node in the cluster) in k8s so that apps deployed in different namespaces can be scanned using the clamav? I do not want to setup a separate instance of clamav for every app deloyment as a single clam av instance needs around 1 GB of RAM.

devcloud
  • 391
  • 5
  • 18
  • 1
    Have you looked at `Daemonset`? They work by scheduling a pod per node if that's what you want. – Krishna Chaurasia Jan 20 '21 at 14:33
  • Are deploying app in different namespaces? It won't be possible to deploy one instance to cover all namespaces. – kool Jan 21 '21 at 11:18
  • Hi @MariuszK. Yes i am deploying app in different namespaces. What could be the other way around to implement the antivirus? – devcloud Jan 21 '21 at 13:03

0 Answers0