Skip to content

SimonTheLeg/debug-pod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Debug-Pod

Simple pod equipped with networking tools, for debugging purposes. Image can be found on Dockerhub.

Running inside Kubernetes

Can be done in a single (albeit long) shell cmd:

kubectl create deploy debug-pod --image=simontheleg/debug-pod:latest && \
kubectl wait --for=condition=ready pod -l app=debug-pod && \
kubectl exec -it $(kubectl get pods -o jsonpath="{.items[?(@.metadata.labels.app=='debug-pod')].metadata.name}") -- /bin/bash

clean up

kubectl delete deploy debug-pod

Building & publishing

IMG_NAME="docker.io/simontheleg/debug-pod:latest"
podman image rm $IMG_NAME
podman manifest create $IMG_NAME
podman build --platform linux/amd64,linux/arm64  --manifest $IMG_NAME .
podman manifest push $IMG_NAME

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published