get info

list all warning events

$ kubectl get events --field-selector type=Warning --all-namespaces --sort-by='{.lastTimestamp}'

list particular events

$ kubectl get event --field-selector=involvedObject.name =foo -w

list events for pods

$ kubectl -n monitoring events --for pods/prometheus-stack-prometheus-node-exporter-9764m --watch
Copyright © marslo 2020-2024 all right reserved,powered by GitbookLast Modified: 2024-10-30 04:30:30

results matching ""

    No results matching ""