Difference between revisions of "Kubectl get events"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
[[kubectl get]] events --sort-by=.metadata.creationTimestamp | [[kubectl get]] events --sort-by=.metadata.creationTimestamp | ||
[[kubectl get]] events --sort-by=.metadata.creationTimestamp -A | [[kubectl get]] events --sort-by=.metadata.creationTimestamp -A | ||
+ | |||
+ | |||
+ | your_namespace 99s Warning [[BackOff]] pod/elasticsearch-master-0 Back-off restarting failed container | ||
+ | your_namespace 108s Warning [[BackOff]] pod/elasticsearch-master-1 ]]Back-off restarting failed container]] | ||
== Related == | == Related == |
Revision as of 10:05, 7 July 2022
kubectl get events kubectl get events -A kubectl get event -A
kubectl get events --sort-by=.metadata.creationTimestamp kubectl get events --sort-by=.metadata.creationTimestamp -A
your_namespace 99s Warning BackOff pod/elasticsearch-master-0 Back-off restarting failed container your_namespace 108s Warning BackOff pod/elasticsearch-master-1 ]]Back-off restarting failed container]]
Related
kubectl top kubectl logs FailedScheduling
See also
kubectl get
: [all
|componentstatus | pods | apiservices | events
|event
|nodes
|replicaset
|services
|svc
|namespaces
|hpa
|secret | deployments | serviceaccounts | endpoints | daemonset | networkpolicy
],kubectl get -h
- Kubectl information commands:
cluster-info
|view
|pods
|nodes
|services
|version
|describe | logs
- K8s troubleshooting:
kubectl logs, kubectl top, kubectl get events -A, kubectl describe pod
, Liveness, Readiness,Kubernetes events
, Pulling image, OOMKilled, ProbeWarning, Reason,FailedScheduling
,errImagePull, ImagePullBackOff
, Kubelet conditions:MemoryPressure, DiskPressure, KubeletHasSufficientPID, KubeletReady, kubectl [ debug | attach | exec ] kubectl cluster-info dump, SimKube, KWOK
Advertising: