How to schedule "clamdscan" to run weekly on an GKE?
I am able to trigger the scan manually, but I am not able to find on a way how to schedule it?
How to schedule "clamdscan" to run weekly on an GKE?
I am able to trigger the scan manually, but I am not able to find on a way how to schedule it?
Have a Look at CronJobs on GKE:
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: hello
spec:
schedule: "*/1 * * * *"
jobTemplate:
spec:
template:
spec:
containers:
- name: hello
image: busybox
args:
- /bin/sh
- -c
- date; echo "Hello, World!"
kubectl apply -f filename