kube-bench
kubectx
Our great sponsors
kube-bench | kubectx | |
---|---|---|
23 | 40 | |
6,649 | 16,894 | |
1.8% | - | |
8.4 | 3.3 | |
4 days ago | 11 days ago | |
Go | Go | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kube-bench
-
Evaluating and securing your Kubernetes infrastructure with kube-bench
However, no matter how well our applications are secured, the security of our entire IT environment ultimately depends on the security of our infrastructure. Therefore, in the lab to follow, we will shift our focus away from Kubernetes workloads and instead explore how we can evaluate and improve upon the security of our Kubernetes clusters with kube-bench, the industry-leading Kubernetes benchmarking solution developed by Aqua.
-
Kube-bench and Popeye: A Power Duo for AKS Security Compliance
The official repository can be found here with detailed installation instructions.
-
Quickstart - Aqua Security Kube-Bench
curl -L [https://github.com/aquasecurity/kube-bench/releases/download/v0.6.10/kube-bench_0.6.10_linux_amd64.deb](https://github.com/aquasecurity/kube-bench/releases/download/v0.6.2/kube-bench_0.6.2_linux_amd64.deb) -o kube-bench_0.6.10_linux_amd64.deb
- Looking for Tips on Open Sourcing a kubernetes security tool
-
Kubernetes Security: 10 Best Practices from the Industry and Community
I haven't used Kubernetes for a while, but shouldn't kube-bench (1) be enough? Do you have to check anything manually?
(1) https://github.com/aquasecurity/kube-bench
-
Implement DevSecOps to Secure your CI/CD pipeline
kube-bench checks whether Kubernetes is deployed securely by running the checks documented in the CIS Kubernetes Benchmark. We can deploy kube-bench as a Job that runs daily and consume its report in CI/CD to pass or fail the pipeline based on the level of severity.
-
Securing Kubernetes Cluster using Kubescape and kube-bench
kube-bench can be executed as a simple command on the host, as a container on the host using Docker command, or as a job inside Kubernetes Cluster. In case it is run inside a container/pod, it will need access to the PID namespace of the host system. The methods to run kube-bench in AKS, EKS, GKE, On-prem cluster, Openshift and ACK (Alibaba Cloud Container Service For Kubernetes) are different but well documented.
-
What are some fundamental security practices for the self hosted k8s cluster?
Check this out: kube-bench - CIS Benchmark
-
Top 6 Kubernetes Security Tools
Kube-bench, written as a Go application, is deployable as a container. Ready-made job.yaml files make it easy to run Kube-bench inside a Kubernetes cluster or on a managed Kubernetes service, such as Azure Kubernetes Service (AKS), Amazon Elastic Kubernetes Service (EKS), Google Kubernetes Engine (GKE), or OpenShift. Here's a link to Kube-Bench on Github
-
Introduction to Kubernetes Pentesting
kube-bench - Checks whether Kubernetes is deployed securely by running CIS Kubernetes Benchmark
kubectx
-
Building a Kubernetes Operator with the Operator Framework
kubectx: brew install kubectx
-
Jenkins Agents On Kubernetes
default is where any actions which require a namespace will go into if one is not explicitly defined in a default setup (tools such as kubens can alter this behavior). In the context of Jenkins, namespaces are a useful way to allow isolation of individual Jenkins instances that want to utilize the same Kubernetes cluster. Creation of a namespace is a simple option to kubectl:
-
Tool to manage kubeconfig configurations
Here you go: https://github.com/ahmetb/kubectx and https://kubecm.cloud/
-
Setting kubectl context via env var
check out kubectx/kubens https://github.com/ahmetb/kubectx very handy tool to permanently switch context/namespace
- Minikube broke my Kubectl config
- Managing local cluster config
-
How to Deploy and Scale Strapi on a Kubernetes Cluster 1/2
kubectx + kubens v0.9.4
-
[ANN] Kele: Snappy Kubernetes cluster management in Emacs
For a peek at what's currently possible, visit the documentation site, in particular the Usage section. For this initial release, it has feature parity with kubectx and kubens and that's about it, but there's lots of room for growth.
-
Injecting secrets from Vault into Helm charts with ArgoCD
I also encourage you to install kubectx + kubens to navigate Kubernetes easily.
- What daily terminal based tools are you using for cluster management?
What are some alternatives?
trivy - Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more
fzf-tab - Replace zsh's default completion selection menu with fzf!
kubesec - Security risk analysis for Kubernetes resources
kubie - A more powerful alternative to kubectx and kubens
kubeaudit - kubeaudit helps you audit your Kubernetes clusters against common security controls
kubeswitch - The kubectx for operators.
kube-hunter - Hunt for security weaknesses in Kubernetes clusters
kubecm - Manage your kubeconfig more easily.
falco - Cloud Native Runtime Security
kubectl-neat - Clean up Kubernetes yaml and json output to make it readable
docker-bench-security - The Docker Bench for Security is a script that checks for dozens of common best-practices around deploying Docker containers in production.
kubectl-trace - Schedule bpftrace programs on your kubernetes cluster using the kubectl