Specification for a Docker image to be used as a jump pod in Kubernetes
This is a jump pod, intended to act from within a Kubernetes cluster.
docker build -t brainlounge/jumppod:ubuntu-18.04 -f Dockerfile .
docker push brainlounge/jumpod
Usage is described in detail in this blog post. Especially, see section "Bonus track #2" at the end of the post.
The following architecture from the blog post gives an overview where the jump pod fits in:
The essence of how to start the jump pod is this command line, given you fill in appropriate namespace and service account names:
kubectl run jumppod-1 -n <MYNAMESPACE> --image=brainlounge/jumppod:ubuntu-18.04 --serviceaccount='<MYSERVICEACCOUNT' -ti