Kubernetes toolbox in a pod, with Sysdig and friends
kubectl apply -f https://raw.githubusercontent.com/codem8s/ergaleia/master/kubernetes/ergaleia.yaml
kubectl exec -n toolbox -it ergaleia-0
docker pull quay.io/codem8s/ergaleia:v0.0.4
docker run quay.io/codem8s/ergaleia:v0.0.4
To run csysdig
with a Kubernetes service token, here's an alias:
ksysdig
The command will get it's credentials from the service token, no special configuration needed:
kubectl version
The image is based on Debian, so if there's anything missing just use apt
.
Most important pre-installed commands:
sysdig
andcsysdig
kubectl
docker
Other selected pre-installed commands:
vim
curl
gcc
less
dig
andnslookup
telnet
tcpdump
traceroute