Terminal & Exec

A native terminal emulator built into Krust — no web views, no Electron.

Native Terminal

Krust's terminal is a native AppKit view built on SwiftTerm — not a web-based emulator like xterm.js. This gives you:

Pod Exec

Right-click any running pod and select Shell, or select it and press s, to open an interactive shell session inside the container. The Pod inspector also has an Exec button. Krust uses a shell fallback chain — it tries bash first, then ash, then sh — so exec works on minimal container images out of the box.

For multi-container pods, Shell opens a submenu so you can choose which container to exec into. Pressing s uses the first container.

By default, pod shells open in the built-in terminal. To use Terminal.app instead, choose OS Terminal (Terminal.app) under Settings › General › Shell; this mode runs kubectl exec and requires kubectl in your PATH. Pod shells for GKE clusters added with Google sign-in always open in the built-in terminal, because kubectl outside Krust can't sign in to them.

Node Debug Shell

Right-click a Node and choose Debug Shell to open a debug shell on that node in its own window. Set the container image it uses (for example busybox, alpine, or ubuntu) under Settings › General › Node Debug.

Local Shell

Press Ctrl+` to toggle the terminal panel. This spawns your default shell ($SHELL) with full environment, history, and tab completion.

The kubectl context is automatically injected to match whichever Kubernetes context is active in Krust, so kubectl commands target the same cluster you're viewing in the GUI — no manual kubectl config use-context needed. For GKE clusters added with Google sign-in, kubectl gets its credentials from Krust through krust kube-credential, so no token is written to disk.

Multi-Tab

Open multiple terminal sessions in tabs. Use the + menu in the panel to open a Local Terminal or a new Claude Code session. Each tab can be a pod exec session, a local shell, or an agent session. Tabs are independent — closing one does not affect others. Click a tab to switch to it. Terminal tabs share the bottom panel with log and document tabs.

Font

Choose the terminal font and size under Settings › General › Terminal Font. Use a Nerd Font if your shell prompt uses special glyphs.