Run a temporary debug pod

Learning Kubernetes · 2:41

Listen on 93

Lyrics

[Verse 1]
When your cluster's acting strange and you need to peek inside
There's a pod that comes to help you, like a debugger by your side
Kubectl run debug with an image that's called busybox
Interactive terminal, temporary as the clock ticks

[Chorus]
Run it temp, run it clean, debug pod upon the scene
Interactive flag and remove when done, restart never is the theme
Shell access to your cluster, troubleshoot what you can't see
Temporary debug pod, sets your applications free

[Verse 2]
Sometimes you need to test a curl, reach out across the net
Kubectl run curl-test, with the curl image all set
Interactive and remove it, restart never once again
Pass the URL you're testing, watch the network traffic begin

[Chorus]
Run it temp, run it clean, debug pod upon the scene
Interactive flag and remove when done, restart never is the theme
Shell access to your cluster, troubleshoot what you can't see
Temporary debug pod, sets your applications free

[Bridge]
No persistent storage needed, just a moment in the light
Check your services and endpoints, make sure everything's all right
When you exit from the session, pod will vanish from the node
Kubectl run with dash dash rm, temporary debug mode

[Chorus]
Run it temp, run it clean, debug pod upon the scene
Interactive flag and remove when done, restart never is the theme
Shell access to your cluster, troubleshoot what you can't see
Temporary debug pod, sets your applications free

[Outro]
Debug and curl-test waiting, whenever you're in need
Temporary pods for testing, kubernetes guaranteed

← Expose a deployment as a service | Create a headless service (for StatefulSets) →