Editing Kubectl get events
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | + | * <code>[[kubectl get]] events</code> | |
− | |||
− | * <code>[[kubectl get | ||
* <code>[[kubectl get events -A]]</code> | * <code>[[kubectl get events -A]]</code> | ||
− | * <code>[[kubectl get | + | * <code>[[kubectl get event -A]]</code> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | [[kubectl -n gitlab-runner get events --field-selector type!=Normal]] | ||
− | kubectl get events - | + | [[kubectl get]] events --sort-by=.metadata.creationTimestamp |
+ | [[kubectl get]] events --sort-by=.metadata.creationTimestamp -A | ||
− | |||
== Events examples == | == Events examples == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
your_namespace 99s Warning [[BackOff]] pod/elasticsearch-master-0 Back-off restarting failed container | 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]] | your_namespace 108s Warning [[BackOff]] pod/elasticsearch-master-1 [[Back-off restarting failed container]] | ||
Line 50: | Line 16: | ||
your_namespace 12m Warning [[PresentError]] [[challenge]]/prod-admin-tls-cert-dzmbt-2545 [[Error presenting challenge]]: error getting [[clouddns]] service account: secret "clouddns-dns01-solver-svc-acct" [[secret not found|not found]] | your_namespace 12m Warning [[PresentError]] [[challenge]]/prod-admin-tls-cert-dzmbt-2545 [[Error presenting challenge]]: error getting [[clouddns]] service account: secret "clouddns-dns01-solver-svc-acct" [[secret not found|not found]] | ||
− | + | 27m Warning [[OOMKilling]] node/gke-you-pool4 Memory [[cgroup]] out of memory: Killed process 2768158 (python) total-vm:5613088kB, anon-rss:3051580kB, file-rss:65400kB, shmem-rss:0kB, UID:0 pgtables:7028kB oom_score_adj:997 | |
− | |||
− | |||
− | |||
− | |||
− | + | [[BackOff]] | |
− | + | [[Completed]] | |
− | + | [[Created]] | |
− | + | [[FailedMount]] | |
− | + | [[FailedScheduling]] | |
− | + | [[Generated]] | |
− | [[ | + | [[PresentError]] |
− | [[ | + | [[Pulled]] |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Pulling]] | [[Pulling]] | ||
+ | [[Requested]] | ||
+ | [[SawCompletedJob]] | ||
[[Scheduled]] | [[Scheduled]] | ||
− | [[ | + | [[Started]] |
− | + | [[SuccessfulCreate]] | |
− | |||
− | [[SuccessfulCreate | ||
[[SuccessfulDelete]] | [[SuccessfulDelete]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | [[FailedKillPod]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Related == | == Related == | ||
− | |||
* <code>[[kubectl top]]</code> | * <code>[[kubectl top]]</code> | ||
* <code>[[kubectl logs]]</code> | * <code>[[kubectl logs]]</code> | ||
− | * <code>[[ | + | * <code>[[FailedScheduling]]</code> |
+ | * <code>[[kubectl get events --help]]</code> | ||
* [[job-controller]] | * [[job-controller]] | ||
+ | * [[kubelet]] | ||
* [[GCP Node logs]] | * [[GCP Node logs]] | ||
− | * | + | * [[Events]] |
− | + | [[gcloud logging read]] projects/yourproject/logs/[[kubelet]] | |
− | |||
− | |||
== See also == | == See also == | ||
* {{kubectl events}} | * {{kubectl events}} | ||
+ | * {{kubectl info}} | ||
* {{K8s troubleshooting}} | * {{K8s troubleshooting}} | ||
− | |||
[[Category:K8s]] | [[Category:K8s]] |
Advertising: