I am using this k8s deployment. And this tutorial for the deployment. I can now scan the /host file. But I don't know how I could scan another pod.
How would I give the rights to the k8s deployment to access another pod and how would I then get the filesystem to scan it?
How can I use ClamAV in Kubernetes to scan another pod?
4.4k Views Asked by MTom At
1
There are 1 best solutions below
Related Questions in KUBERNETES
- How to know a Pod's own IP address from inside a container in the Pod?
- Who will decide the "specified number of pods" for replication controller in kubernetes?
- Access other containers of a pod in Kubernetes
- Kubernetes cluster using Vagrant not working after restart
- kubectl not installed with gcloud SDK
- How do I access the Kubernetes api from within a pod container?
- Exposing several services with Vagrant and Kubernetes on my own server
- Does Kubernetes provision new VMs for pods on my cloud platform?
- Any suggestion for running Aerospike on Kubernetes on CoreOS on GCE?
- Kubernetes - kubectl exec bash - session drop and line width
- Google Container Engine (GKE): "Hello Wordpress" tutorial not working (ERR_CONNECTION_REFUSED)
- Kubernetes Pod Creation Speed
- How can i set max count of pods for replication-controller per node?
- Is there a way to tell kubernetes to update your containers?
- Postgres with Kubernetes and persistentDisk
Related Questions in KUBECTL
- How to create users/groups restricted to namespace in Kubernetes using RBAC API?
- NodePort services not working as expected on AWS, possibly due to IAM ELB permissions
- How to authenticate kubectl using environment variables?
- kubectl jsonpath expression for named path
- kubectl behind a proxy
- Finding the reason for pods being killed by Minikube
- How to configure kubernetes to allow for long running interactive sessions?
- Can I get or delete a pod/resource by UID?
- Define size for /dev/shm on container engine
- What is the jsonpath for Kubernetes POD status?
- Restart container within pod
- Sharing a persistent volume between pods in Kubernetes
- Does HPA(Horizontal pod autoscaling) considers the mean of CPU utilization of multiple containers(in a pod) to scale the pods?
- Flannel fails in kubernetes cluster due to failure of subnet manager
- Kubernetes create Service in deployment+rbd mode, also same configured to succeed in default namespace, fail under non default namespace?
Related Questions in CLAMAV
- freshclam: symbol lookup error: freshclam: undefined symbol: print_version, version FRESHCLAM_PRIVATE
- Clamav receives modified file for scanning from C-ICAP proxy
- NodeClamError: No valid & active virus scanning binaries are active and available and no host/socket option provided
- HEALTH CHECK not resolving for ClamAV hosted in GKE cluster
- clamav is throwing error while upgrading lambda runtimeversion to 3.11
- python: determine file type by its content (not only by its magic)
- local server takes time to update clamav db
- How kill a process using powershell without getting errors when the process does not exist
- Database load failed: Malformed database
- is there any solution to download a file from aws s3 bucket with aws lambda but file size should be 1gb or more?
- How to use ClamAV Antivirus in AWS EC2 for scanning S3 Bucket object when any file uploaded to s3 bucket?
- How to schedule clamdscan weekly (cron jobs on GKE)?
- How can I use ClamAV in Kubernetes to scan another pod?
- how do I perform healthchecks on clamav using docker
- find -ctime -1 finds all my files, not only the recently changed ones
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Those examples are both showing how to scan the host OS, which kind of includes everything running. If you want to scan containers in particular you would probably use something totally different, like an image policy webhook and some custom glue code. If you mean something more like you have a service that accepts user uploads and you want to scan those, you would probably integrate ClamAV directly into the app as a sidecar and your app would talk to the daemon (or just run clamscan itself on demand maybe).