ETCD results not showing #921
Replies: 10 comments
-
@Richahasija The etcd is running on master, it looks like you should use |
Beta Was this translation helpful? Give feedback.
-
@mozillazg : I already did that as well and it's only checking for subsection1. One thing to note is my etcd has configuration file path /etc/etcd/etcd.conf. |
Beta Was this translation helpful? Give feedback.
-
@Richahasija What is the output when open the debug mode? |
Beta Was this translation helpful? Give feedback.
-
@mozillazg : I have ran the command. But not sure still, as to what is the issue. Attaching the log output for your kind reference. |
Beta Was this translation helpful? Give feedback.
-
@Richahasija you need to add the |
Beta Was this translation helpful? Give feedback.
-
@lizrice : Have ran it again as per mentioned above. It seems like it is taking default config as /etc/kubernetes/manifests/etcd.yaml instead of /etc/etcd/etcd.conf. |
Beta Was this translation helpful? Give feedback.
-
@lizrice & @mozillazg: Any update on the issue. |
Beta Was this translation helpful? Give feedback.
-
In the
The In the sample Please could you try modifying
and the corresponding volume like this:
|
Beta Was this translation helpful? Give feedback.
-
@lizrice : Thanks for updating. After updating the job-master.yaml configuration, it seems etcd new configuration is updated but still kubernetes logs are not showing etcd and Control Plane Configuration results(i.e. subsection 2 and 3 of CIS_Kubernetes_Benchmark_v1.5). |
Beta Was this translation helpful? Give feedback.
-
I've realised that the CIS benchmark assumes that etcd is running as a Kubernetes pod, and I don't think that's the case for you. I've raised a ticket about it on the benchmark spec. |
Beta Was this translation helpful? Give feedback.
-
I am running kubernetes version Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.3"
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.3", Platform:"linux/amd64"}
I am trying to run kube bench in a Kubernetes cluster via below command:
kubectl apply -f job.yaml
Kubernetes logs are not showing etcd and Control Plane Configuration results(i.e. subsection 2 and 3 of CIS_Kubernetes_Benchmark_v1.5). Not sure what could be the reason. Could you please help?
Beta Was this translation helpful? Give feedback.
All reactions