Skip to content

Pod logs viewer ​

Stream and inspect logs from Kubernetes pods directly inside VS Code. Logs are read through your local kubeconfig; nothing is sent to Alto9 servers.

Open the viewer ​

  1. Open the Kube9 view in the Activity Bar.
  2. Expand a cluster and namespace, then find a Pod.
  3. Right-click the pod and choose View Logs, or run Kube9: View Logs from the Command Palette (kube9.viewPodLogs).

For multi-container pods, choose a container or All containers when prompted.

Toolbar and controls ​

ControlPurpose
ContainerSwitch container, or view All containers (multiplexed streams).
Line limitHow many recent lines to fetch (e.g. 50–5000, All, or Custom).
TimestampsShow or hide API-provided timestamps on each line.
FollowWhen on, new log lines append as they arrive; turn off to freeze the view.
Previous logsShown only when a container has restarted; includes logs from the previous instance.

Header actions ​

  • Search — Filter and jump between matches in the current buffer (Ctrl+F / Cmd+F in the webview).
  • Help — Opens this documentation page in your browser.

Multiple viewers ​

You can open more than one pod log panel at a time (for example side‑by‑side). Each panel is tied to its kubectl context, namespace, pod, and container selection. Closing one panel stops only that stream.

Privacy ​

Log content and cluster access use your machine’s kubectl configuration and the Kubernetes API. The extension does not upload your logs to Alto9.

MIT License