Smart Filter Syntax
Krust includes a powerful structured filter engine across its supported Kubernetes resource views. Type filters directly in the toolbar search — autocomplete suggestions appear as you type. Each tab keeps its own filter, and the search field shows it again when you come back to the tab.
Basics
These filters belong to the toolbar search, not the sidebar filter. The sidebar filter at the top of the sidebar narrows navigation entries independently. See search scopes and focus behavior →
New in 1.7: the toolbar search does one thing at a time, chosen by the first character you type:
| Type | Does |
|---|---|
| Plain text or key:value | Filters the current list |
| > | Goes to a tab (Cmd+K opens the search with >) |
| @ | Switches cluster |
| ? | Lists the prefixes |
Cmd+F focuses the filter.
| Type | Syntax | Example |
|---|---|---|
| Freetext | Any word (Pods: name only) | nginx |
| Key:Value | key:value | status:running |
| Comparison | field>N / field<N | restarts>5 |
| Negation | key:!value | status:!running |
| Combine | Space = AND | status:crash ns:prod |
Shared Filters
These work on every resource type except Nodes, which have their own filters:
| Filter | Example | Description |
|---|---|---|
| name: | name:nginx | Name contains value |
| ns: | ns:production | Namespace contains value |
| label: | label:app=nginx | Label exact match (key=value) |
| label: | label:app | Has label with key |
| annotation: | annotation:prometheus | Has annotation with key (or key=value for an exact match) |
| age> | age>7d | Older than 7 days |
| age< | age<2h | Younger than 2 hours |
Duration units: m (minutes), h (hours), d (days); a number without a unit is seconds. Pods also accept s (seconds).
Plain text matches Pod names only on the Pods tab; use ns:, status:, node:, or image: for other fields. On other tabs, plain text matches the name and some visible columns, such as image and status for Deployments, or type and cluster IP for Services.
Pod Filters
Status
| Filter | Description |
|---|---|
| status:running | Phase = Running |
| status:pending | Phase = Pending |
| status:succeeded | Phase = Succeeded |
| status:crash | CrashLoopBackOff |
| status:oom | OOMKilled |
| status:error | Failed / Unknown / Waiting |
| status:unhealthy | All non-healthy states combined |
| status:failing | Failing (CrashLoopBackOff, ImagePullBackOff, Error, Failed, Unknown, …) |
| status:starting | Starting (Pending, ContainerCreating, PodInitializing, Terminating) |
| status:completed | Completed (Succeeded, Completed) |
failing, starting, and completed match the status groups in the Cluster Overview; running matches the Running phase. Any other value matches the Pod's phase or container state text, for example status:imagepullbackoff.
Resource-specific
| Filter | Example | Description |
|---|---|---|
| node: | node:worker-1 | Pods on a specific node |
| image: | image:nginx | Image contains value |
| restarts> | restarts>5 | More than N restarts |
| cpu> | cpu>80 | CPU usage above N% of the limit (or request) |
| mem> | mem>60 | Memory usage above N% of the limit (or request) |
Pods without a CPU or memory limit or request never match cpu> or mem>. restarts, cpu, and mem also accept <.
Workload Filters
For Deployments, StatefulSets, and DaemonSets:
| Filter | Description |
|---|---|
| status:running | ready ≥ desired, and desired > 0 |
| status:degraded | ready < desired |
| status:progressing | 0 < ready < desired |
| status:unhealthy | ready < desired |
| replicas>3 | Desired replicas above threshold |
Job Filters
| Filter | Description |
|---|---|
| status:active | Currently running |
| status:complete | Succeeded, none active |
| status:failed | Has failed Pods |
CronJob Filters
| Filter | Description |
|---|---|
| status:scheduled | Not suspended |
| status:suspended | Suspended |
Service Filters
| Filter | Description |
|---|---|
| type:lb | LoadBalancer |
| type:np | NodePort |
| type:cluster | ClusterIP |
Node Filters
Nodes use their own filter keys. Values match when the field contains the text.
| Filter | Description |
|---|---|
| name: | Node name |
| status: | Node status, for example status:notready |
| role: | Node roles |
| version: | Kubelet version |
| capacity: / type: | Capacity type |
| compute: / gpu: | Accelerators |
| label: / annotation: | Any label or annotation containing the text |
Nodes don't support ns: or comparisons such as age>, cpu>, and mem>; sort the CPU and memory columns instead. Plain text matches name, status, roles, version, capacity type, and accelerators.
Negation
Prefix any value with ! to negate the match:
| Filter | Description |
|---|---|
| status:!running | All pods NOT in Running phase |
| ns:!kube-system | Resources NOT in kube-system |
| label:!app | Resources WITHOUT the "app" label |
| type:!lb | Services that are NOT LoadBalancer |
Combining Filters
Separate filters with spaces — all conditions must match (AND logic):
status:crash ns:production # Crashing pods in production
status:degraded label:app=api # Degraded deployments with app=api
name:api age>7d restarts>10 # Old API pods with many restarts
status:!running ns:!kube-system cpu>50 # Non-running pods outside kube-systemAutocomplete
As you type, Krust suggests matching filter keys and values:
- Type st → suggests status:
- Type status: → suggests all available status values for the current resource
- Type status:! → suggests negated values
Choose a suggestion to accept it.
Tips
- Filters are case-insensitive
- Unknown keys don't cause errors, but they match nothing — if a filter empties the list, check the key for typos
- Pod and Node filters run in Rust, in the Krust core
- Press ? outside a text field to open the built-in Help, which has a Filter Syntax tab. In the toolbar search, ? lists the search prefixes instead.