K8s-Sherlock is an open-source Kubernetes pod designed for debugging and diagnostics. As a swiss-army knife for your Kubernetes cluster, it comes pre-loaded with a host of tools to help you diagnose issues with network, containers, and more. Developed to expedite the troubleshooting process, K8s-Sherlock is your go-to pod for resolving complex orchestration issues.
- Networking Tools: Comes with
iproute2
,iputils-ping
,traceroute
,netcat
,dnsutils
, andtelnet
. - HTTP Tools:
curl
andwget
pre-installed for HTTP requests. - AWS Integration: AWS CLI is installed for interacting with AWS services.
- Docker CLI: Perform Docker operations without leaving the pod.
- A Kubernetes cluster up and running
- kubectl installed and configured
bash
kubectl apply -f pod/sherlock.yaml --namespace=<namespace_name>
bash
kubectl annotate service shelock-sa eks.amazonaws.com/role-arn=<YOUR_IAM_ROLE_ARN> --namespace=<namespace_name>
Once the K8s-Sherlock pod is up and running, you can exec
into it to use the tools.
bash
kubectl exec -it <pod-name> -- /bin/bash
We love contributions! Please read the Contributing Guidelines for more information on how to get involved.
This project is licensed under the MIT License. See the LICENSE file for details.