Skip to content

mechpen/toolbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Toolbox Image

I use this image to troubleshoot Kubernetes. The image has the following tools:

  • git
  • kubectl
  • tcpdump
  • nmap
  • dig
  • socat
  • aws-cli
  • curl
  • bcc
  • bpftrace
  • and etc.

An example pod spec is in toolbox.yaml.

bpftrace

To run bpftrace:

docker run --rm -it --privileged -v /sys:/sys mechpen/toolbox /bin/bash

bcc

To run bcc:

docker run --rm -it --privileged -v /sys:/sys -v /dev:/dev -v /lib/modules:/lib/modules -v /usr/src:/usr/src mechpen/toolbox /bin/bash

The docker commands can be replaced with a k8s pod with the privileged security context and the necessary volume mounts.

About

Toolbox image for kubernetes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published