[Verse 1] When you're working with your cluster every day Need to see what spaces hold your workloads at play Kubernetes divides resources nice and clean Namespaces keep things organized, know what I mean [Chorus] kubectl get namespaces, list them all See every space from big to small Get namespaces, one command will show All the divisions where your apps can go kubectl get namespaces, that's the way To see your cluster's layout every day [Verse 2] Default namespace is where most things live Kube-system holds what the cluster has to give Public space for all to see and share Node lease tracks the nodes with care [Chorus] kubectl get namespaces, list them all See every space from big to small Get namespaces, one command will show All the divisions where your apps can go kubectl get namespaces, that's the way To see your cluster's layout every day [Bridge] Some are system spaces, some are yours to claim Each one has a purpose, each one has a name Age and status columns tell the story true Active namespaces working hard for you [Verse 3] You can make your own for teams and environments Dev and prod and staging, all with different intents Isolation matters when you scale up high Namespaces help you organize and keep things dry [Chorus] kubectl get namespaces, list them all See every space from big to small Get namespaces, one command will show All the divisions where your apps can go kubectl get namespaces, that's the way To see your cluster's layout every day [Outro] One simple command to rule them all kubectl get namespaces answers the call
← Delete a namespace (WARNING: deletes ALL resources inside) | Run any command in a specific namespace →