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]] events --sort-by=.metadata.creationTimestamp</code> | * <code>[[kubectl get]] events --sort-by=.metadata.creationTimestamp</code> | ||
* <code>[[kubectl get]] events --sort-by=.metadata.creationTimestamp -A</code> | * <code>[[kubectl get]] events --sort-by=.metadata.creationTimestamp -A</code> | ||
* <code>[[kubectl get]] events --sort-by='.lastTimestamp</code> | * <code>[[kubectl get]] events --sort-by='.lastTimestamp</code> | ||
+ | |||
* <code>[[kubectl -n gitlab-runner get events --field-selector type!=Normal]]</code> | * <code>[[kubectl -n gitlab-runner get events --field-selector type!=Normal]]</code> | ||
− | kubectl get events -A | grep | + | kubectl get events -A | grep Warning |
− | + | [[kubectl get events -A]] | grep Normal | |
− | [[kubectl get events -A]] | grep | ||
== Events examples == | == Events examples == | ||
− | |||
− | |||
=== Warning === | === Warning === | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
your_namespace 4m53s Warning [[ProbeWarning]] [[pod]]/[[metabase]]-prod-f8f4b765b-h4pgs Readiness probe warning: | your_namespace 4m53s Warning [[ProbeWarning]] [[pod]]/[[metabase]]-prod-f8f4b765b-h4pgs Readiness probe warning: | ||
Line 44: | Line 22: | ||
your_namespace 26m Warning [[Unhealthy]] pod/elasticsearch-master-1 [[Readiness probe failed]]: Waiting for elasticsearch cluster to become ready (request params: "wait_for_status=green&timeout=1s" )... | your_namespace 26m Warning [[Unhealthy]] pod/elasticsearch-master-1 [[Readiness probe failed]]: Waiting for elasticsearch cluster to become ready (request params: "wait_for_status=green&timeout=1s" )... | ||
+ | |||
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 | ||
Line 59: | Line 38: | ||
default 107s Warning [[ProvisioningFailed]] persistentvolumeclaim/myprometheus-server (combined from similar events): failed to provision volume with StorageClass "[[gp2]]": rpc error: code = Internal desc = [[Could not create volume]] "pvc-4e14416c-c9c2-4d39-b749-9ce0fa98d597": could not create volume in EC2: [[UnauthorizedOperation]]: [[You are not authorized to perform this operation]]. Encoded authorization failure message: Goz6E3qExxxxx.../... | default 107s Warning [[ProvisioningFailed]] persistentvolumeclaim/myprometheus-server (combined from similar events): failed to provision volume with StorageClass "[[gp2]]": rpc error: code = Internal desc = [[Could not create volume]] "pvc-4e14416c-c9c2-4d39-b749-9ce0fa98d597": could not create volume in EC2: [[UnauthorizedOperation]]: [[You are not authorized to perform this operation]]. Encoded authorization failure message: Goz6E3qExxxxx.../... | ||
− | + | === Normal === | |
+ | default 4s Normal [[Provisioning]] persistentvolumeclaim/myprometheus-alertmanager External provisioner is provisioning volume for claim "default/myprometheus-alertmanager" | ||
+ | |||
+ | Related: <code>[[kubectl get pvc]]</code> | ||
− | + | == Events == | |
− | + | [[BackOff]] | |
− | [[ | + | [[Completed]] |
− | [[ | + | [[Created]] |
− | + | [[FailedMount]] | |
− | + | [[FailedScheduling]] | |
− | + | [[Generated]] | |
− | + | [[PresentError]] | |
− | + | [[Pulled]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Pulling]] | [[Pulling]] | ||
+ | [[Requested]] | ||
+ | [[SawCompletedJob]] | ||
[[Scheduled]] | [[Scheduled]] | ||
− | [[ | + | [[Started]] |
− | + | [[SuccessfulCreate]] | |
− | |||
− | [[SuccessfulCreate | ||
[[SuccessfulDelete]] | [[SuccessfulDelete]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | [[FailedKillPod]] | ||
+ | [[NoPods]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | [[NodeHasNoDiskPressure] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== 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]] | ||
* <code>[[gcloud logging read]] projects/yourproject/logs/[[kubelet]]</code> | * <code>[[gcloud logging read]] projects/yourproject/logs/[[kubelet]]</code> | ||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
* {{kubectl events}} | * {{kubectl events}} | ||
+ | * {{kubectl info}} | ||
* {{K8s troubleshooting}} | * {{K8s troubleshooting}} | ||
− | |||
[[Category:K8s]] | [[Category:K8s]] |
Advertising: