- Version:
0.1.1
- License:
MIT
- Description:
A swiss-army-knife debug container image to aid troubleshooting Kubernetes issues
- Reference: K8s doc
- Folder: build
- You can deploy a standard nginx deployment for testing
kubectl apply -f usage/nginx-deployment.yaml
- Debug a running container by attaching kanivete to it as an ephemeral container:
kubectl debug -it nginx-deployment-6ddcfb665f-hcj4c --image=rod4n4m1/kanivete:0.1.1 --target=nginx
- Re-attach the ephemeral container if needed (to be implemented):
kubectl attach nginx-deployment-6ddcfb665f-hcj4c -c debugger-rpk9w -i -t
- Create a new pod based on the latest kanivete image:
kubectl run kanivete --image=rod4n4m1/kanivete:0.1.1 -- sleep 1d
- Open sh terminal on the kanivete container:
kubectl exec -it kanivete -- sh