Your clusters, live and read-only

Read the clusters in your kubeconfig as they change: what needs a look first, any object described, and every pod’s logs followed live, merged or side by side. Nothing in a cluster is ever changed.

2 min read

Before you start

  • A kubeconfig on this Mac: KUBECONFIG’s first file, else ~/.kube/config. For EKS, an AWS profile that reaches the cluster.
  • Read access in the cluster. Kubernetes’ built-in view role is the best fit.
  • No model to browse. The cloud agent answers questions about it if you have one.

Open a cluster#

  1. Open Kubernetes.

    Open Cloud (the bar at the right edge, or Open Cloud in the command palette) and choose the Kubernetes tab. Your kubeconfig’s contexts are listed; pick one.

  2. Read the pulse.

    Cluster pulse counts the pods, deployments and nodes that are healthy, and Needs a look lists what isn’t: a pod in a wrong state, one restarted five times or more, a node not ready, and the latest warnings.

  3. Browse by kind.

    Pick a kind (pods, deployments, services and the rest) on the left. Each list is filtered by health with counts and can be sorted; a pod’s state reads the way kubectl and k9s say it, CrashLoopBackOff before Running.

Describe an object#

Select any object to describe it beside the list:

PartShows
ContainersState, when and how each last ended with its exit code, requests and limits. Logs reads a container’s log; Previous run reads the one before a restart: why it last stopped.
Conditions and eventsWhat the cluster says about it, newest first.
PodsFor a workload, the pods it selects, each one click away.
Labels and manifestIts labels, what owns it, and its YAML.

Follow logs, merged or side by side#

Follow logs on a pod follows each of its containers; on a Deployment or another workload, Follow logs of 3 pods follows every pod it selects. The lines arrive live in the panel along the tab’s bottom, tagged and coloured by pod.

  • Merged timeline reads every pod as one story; Swimlanes gives each its own column.
  • Follow several things at once; each is listed under Followed, and Stop all ends them.

It is the same idea as reading your app as one on your Mac: a workload of ten replicas speaks as one service.

Traces, where the cluster runs Jaeger or Tempo, shows a workload’s requests and their spans.

EKS clusters#

An EKS cluster signs in as one of your AWS profiles: the cluster’s account, the profile its kubeconfig names, a live session. The best is used without asking and another is one click away. When the cluster refuses, it says which identity it turned away and which profiles to try.

An EKS cluster your AWS connections reach but your kubeconfig lacks: Add cluster, then Add to kubeconfig. It runs aws eks update-kubeconfig, so this tab and kubectl both reach it. Set up with the agent asks the cloud agent to do it with you.

Read-only, by construction#

Only get, list, watch and pods’ logs are used: never exec, attach, cp or a write. A list on screen is watched, so it changes as the cluster does, with no polling, and the watch closes when you leave it.

Two exceptions, both on your click: Add to kubeconfig writes your kubeconfig, and starting a trace capture opens a port-forward to the cluster’s trace backend, on loopback, until you stop it.

Current limits#

  • No keyboard commands yet for the Kubernetes tab.
  • The cloud agent doesn’t read pods yet. Ask about the cluster’s account in Cloud; read pods here.

Next steps#

Something unclear or out of date? Tell us; a person on the team reads every note.

Search every guide: features, settings, keys and troubleshooting.

Try