[Verse 1]
In the cluster where your pods all play
There's a boundary that keeps them safe
Called a namespace, like a room with walls
Where your services and secrets stay
But sometimes you need to clean house
Clear everything out, start fresh somehow
There's a command that's swift and clean
But dangerous too, if you know what I mean
[Chorus]
Delete namespace, wipe it all away
K-U-B-E-C-T-L the kubectl way
Everything inside will disappear
Pods and services, secrets and all, my dear
Delete namespace, think before you say
Warning warning, there's no undo today
[Verse 2]
First you type kubectl delete
Then namespace comes next, so neat
Add the name of what you want gone
Hit enter and it won't take long
All the deployments living there
ConfigMaps floating in the air
Persistent volumes, ingress rules
All your carefully crafted tools
[Chorus]
Delete namespace, wipe it all away
K-U-B-E-C-T-L the kubectl way
Everything inside will disappear
Pods and services, secrets and all, my dear
Delete namespace, think before you say
Warning warning, there's no undo today
[Bridge]
Like burning down the whole hotel
Not just checking out, but oh well
Every guest and every key
Gone for all eternity
Double check the name you type
Make sure the namespace is right
Production, staging, or just test
One wrong move, you'll lose the rest
[Chorus]
Delete namespace, wipe it all away
K-U-B-E-C-T-L the kubectl way
Everything inside will disappear
Pods and services, secrets and all, my dear
Delete namespace, think before you say
Warning warning, there's no undo today
[Outro]
When you need a fresh clean slate
This command will seal your fate
But remember what we've learned today
Check twice, delete once, the kubectl way