-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Getting Error While Running Kube-Bench on AWS from local machine #136
Comments
Hello @abhinavwwefan kube-bench must be run on your infrastructure. You can use the following to run on your infrastructure: Run the master check
Run the node check
|
There isn't a set of tests defined by the CIS for 1.10 and at the moment we require you to specify the version (with the @ttousai I think it would be better if we automatically defaulted to 1.8 tests if the version number is higher (for now - there should be a new CIS spec coming out soon for 1.11). Wdyt? |
@lizrice I think that will work. What do you think about making it the latest kube-bench supported CIS version. |
@ttousai the logic should be to pick the tests for the highest version that is less than or equal to the currently running kubernetes version. So for example:
If you specify the tests explicitly with the --version flag, that should take precedence. Sound right to you? |
@lizrice the flow sounds right. |
Hi All, I am facing a similar issue for the OpenShift Container Platform version 3.10. Issue 1: Issue 2: need proxy executable but none of the candidates are running I tried checking for apiserver and response is: Then I tried getting all the pods namespaces and response is: Then oc status returns me: https://docker-registry-default.router.default.svc.cluster.local (passthrough) (svc/docker-registry) svc/kubernetes - XXX.XX.X.X ports 443->8443, 53->8053, 53->8053 https://registry-console-default.router.default.svc.cluster.local (passthrough) (svc/registry-console) svc/router - YYY.YY.YY.Y ports 80, 443, 1936 pod/master runs aquasec/kube-bench:latest pod/kube-bench-master runs aquasec/kube-bench:latest Then checked kubectl up and running Please let me know how to proceed in resolving this issue. |
@skam-github for OpenShift at the moment you'll need to explicitly specify |
I have a cluster configured in the AWS environment. Running the Kubernetes Infrastructure
Now i am connecting to pods and nods through the kubectl using the kube-conf file
I have installed Kube-bench on my local machine and trying to execute it on master and nodes but getting the below response.
Can you help me how i can run the kube-bench on the infrastructure from my local machine
or if i have to setup with a Kubernetes infra or on my EC2 instance
The text was updated successfully, but these errors were encountered: