Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

why kubernetes-event-exporter stop collect #190

Open
kong62 opened this issue Mar 30, 2022 · 0 comments
Open

why kubernetes-event-exporter stop collect #190

kong62 opened this issue Mar 30, 2022 · 0 comments

Comments

@kong62
Copy link

kong62 commented Mar 30, 2022

# kubectl get pod -n monitoring |grep event-exporter
event-exporter-585c6df544-4mggq        1/1     Running   0          27d

# kubectl get pod -n monitoring event-exporter-585c6df544-4mggq  -o yaml |grep image
    image: ***/kubernetes-event-exporter:0.10.0
    imagePullPolicy: IfNotPresent

latest log is 2022-03-03:

# kubectl logs -n -f monitoring event-exporter-585c6df544-4mggq --tail=2
{"metadata":{"name":"basketball-live-api-20220224201321-9b7083b-54989875d7-52xnl.16d8c37329152d6b","namespace":"prod","selfLink":"/api/v1/namespaces/prod/events/basketball-live-api-20220224201321-9b7083b-54989875d7-52xnl.16d8c37329152d6b","uid":"f1d9552e-d621-4dff-bd33-830b59408cab","resourceVersion":"1613015268","creationTimestamp":"2022-03-03T04:09:23Z"},"reason":"Unhealthy","message":"Readiness probe failed: Get http://10.41.180.10:8080/health: dial tcp 10.41.180.10:8080: connect: connection refused","source":{"component":"kubelet","host":"cn-hangzhou.10.41.129.225"},"firstTimestamp":"2022-03-03T04:09:23Z","lastTimestamp":"2022-03-03T04:10:08Z","count":4,"type":"Warning","eventTime":null,"reportingComponent":"","reportingInstance":"","involvedObject":{"kind":"Pod","namespace":"prod","name":"basketball-live-api-20220224201321-9b7083b-54989875d7-52xnl","uid":"7b651605-5c3f-4961-86f0-7585fb5c7788","apiVersion":"v1","resourceVersion":"1613011795","fieldPath":"spec.containers{basketball-live-api}","labels":{"app":"basketball-live-api","apptype":"java-msv","datetime":"2022-02-24-20-21-44-036497","env":"prod","pod-template-hash":"54989875d7","version":"basketball-live-api-20220224201321-9b7083b"}}}
{"metadata":{"name":"basketball-live-api-20220224201321-9b7083b-54989875d7-ls7rz.16d8c373768fc603","namespace":"prod","selfLink":"/api/v1/namespaces/prod/events/basketball-live-api-20220224201321-9b7083b-54989875d7-ls7rz.16d8c373768fc603","uid":"440a8e10-324d-45d7-ab77-947175108ca0","resourceVersion":"1613015343","creationTimestamp":"2022-03-03T04:09:24Z"},"reason":"Unhealthy","message":"Readiness probe failed: Get http://10.41.225.235:8080/health: dial tcp 10.41.225.235:8080: connect: connection refused","source":{"component":"kubelet","host":"cn-hangzhou.10.41.129.239"},"firstTimestamp":"2022-03-03T04:09:24Z","lastTimestamp":"2022-03-03T04:10:09Z","count":4,"type":"Warning","eventTime":null,"reportingComponent":"","reportingInstance":"","involvedObject":{"kind":"Pod","namespace":"prod","name":"basketball-live-api-20220224201321-9b7083b-54989875d7-ls7rz","uid":"f19a6bca-af32-4582-bfce-feffd82b3025","apiVersion":"v1","resourceVersion":"1613011793","fieldPath":"spec.containers{basketball-live-api}","labels":{"app":"basketball-live-api","apptype":"java-msv","datetime":"2022-02-24-20-21-44-036497","env":"prod","pod-template-hash":"54989875d7","version":"basketball-live-api-20220224201321-9b7083b"}}}

now is 2022-03-30

# date
Wed Mar 30 12:00:28 CST 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant