View current cluster info

Kubernetes Commands & Best Practices Curriculum · 4:13

Listen on 93

Lyrics

[Verse 1]
When you're working with containers in the cloud
And your pods are running but you're not sure how
There's a command that shows you what you need to know
About the cluster where your workloads go

kubectl cluster dash info is the key
Shows the master and the API
Control plane endpoints clearly displayed
DNS and dashboard, all information laid

[Chorus]
Cluster info, cluster info
Shows you where your system flows
Master URL and DNS too
Everything you need to view
Cluster info, cluster info
kubectl makes it crystal clear
All the endpoints you hold dear
Your cluster's heart is right here

[Verse 2]
The control plane's the brain of your design
API server on the master's front line
CoreDNS handles name resolution
Every service finds its distribution

When you run the command you'll see URLs
Master endpoint where the magic dwells
Kubernetes dashboard if it's running there
All the pieces of your cluster's care

[Chorus]
Cluster info, cluster info
Shows you where your system flows
Master URL and DNS too
Everything you need to view
Cluster info, cluster info
kubectl makes it crystal clear
All the endpoints you hold dear
Your cluster's heart is right here

[Bridge]
No more guessing where components are
This command shows you near and far
Troubleshooting made so simple now
Just one line shows you what and how

[Verse 3]
If your cluster's healthy it will show
Green responses, good to go
If there's trouble with connectivity
You'll see the errors immediately

Add dump flag for detailed inspection
Every component's full reflection
But for basics just the simple call
Shows the cluster's core through it all

[Chorus]
Cluster info, cluster info
Shows you where your system flows
Master URL and DNS too
Everything you need to view
Cluster info, cluster info
kubectl makes it crystal clear
All the endpoints you hold dear
Your cluster's heart is right here

[Outro]
So remember when you need to see
Your cluster's architecture free
kubectl cluster dash info today
Shows your Kubernetes the easy way

← List all contexts (clusters you can connect to) | View just the current context →