Questions tagged [kube-bench]
4 questions
1
vote
1 answer
kube-bench is not applying on k8s
I am trying to apply the kube-bench on k8s cluster on gcp environment. while creating the cluster it is failing with message:
Error: failed to generate container "" spec: failed to generate spec: failed to mkdir "/srv/kubernetes":…

Uday Chauhan
- 1,071
- 1
- 9
- 19
0
votes
0 answers
Should the kube-bench job/pod run on every node in a Cluster
I am currently in a doubt on how to properly run kube-bench in my cluster (AKS cluster to be specific).
I used of course the job definition file from github, and modified it to run it as a cronjob (it is maybe an overkill but it isn't relevant in my…

Luka Klarić
- 323
- 2
- 16
0
votes
0 answers
Installing kubebench on GKE
Overview
We are trying to install kube-bench on GKE. But we are getting read only file system error for /srv/kubernetes and /opt/cni volume mount directories. So instead of using the directory we are using emptyDir. How and what will be the effect…

Ajinkya16
- 227
- 2
- 11
0
votes
1 answer
Kubernetes Pod Security checks for InitContainer
Container must follow the Security best Practices from Kubernetes Community and developers and they need to apply alle the Recommendation from CIS Benchmark.
what about InitContainer ,should they also follow the same Practices?
and what if not ,…

almosaiki
- 71
- 5