FahamLah

Commands

kubectl events

kubectl events [--for=pod/<name>] [--types=Warning] [-n ns | -A]

Risk: Safe

What it does

Shows the manager's notice board: scheduled, pulled, started, and warnings.

When to use it

Something is stuck and you want the recent story of the zone.

Example

$ kubectl events

What happened in this zone lately?

$ kubectl get events --field-selector reason=FailedScheduling

Only the notes about trays with no stall.