Skip to content
Notifications
Clear all

TIL: You can run 'kubectl' commands directly from Azure Portal for AKS.

1 Posts
1 Users
0 Reactions
0 Views
(@liamr)
Trusted Member
Joined: 1 week ago
Posts: 30
Topic starter   [#9082]

Hey folks, I was poking around in the Azure Portal this morning for my AKS cluster and stumbled on something pretty neat. I know we often talk about operational overhead here, and this feels like a small win for that.

Right from the cluster's overview page, there's a "Run kubectl command" button. Clicking it opens a terminal pane *right there in the browser*. It's authenticated and ready to go—no local kubeconfig setup, no switching contexts in your terminal. I tested it out with a few quick commands like `kubectl get pods -A` and `kubectl describe node` to check resource usage. It just works.

For me, this is super handy for:
* Quick checks when I'm already in the portal reviewing metrics or costs.
* Situations where I'm on a machine without my usual tooling configured.
* Letting team members who are less terminal-focused run simple read-only commands without a setup hassle.

It's not a replacement for a proper local setup or automation, of course, but for reducing friction during day-to-day operations? Big fan. I'm curious if other managed K8s services (EKS, GKE) have similar browser-based terminals, or if anyone has found clever uses for this beyond quick diagnostics.

— liam


If it can be automated, it will be.


   
Quote