1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
| { "status": "firing", "groupLabels": { "alertname": "pod_container_restart" }, "groupKey": "{}:{alertname=\"pod_container_restart\"}", "commonAnnotations": { "description": "Pod coredns-6fc7b84544-58ff6 in namespace kube-system has a container resstart for more than 5 times" }, "alerts": [ { "status": "firing", "labels": { "k8s_app": "kube-state-metrics", "container": "coredns", "severity": "Warning", "kubernetes_namespace": "kube-system", "namespace": "kube-system", "instance": "192.168.171.25:8080", "job": "kube-state-metrics", "alertname": "pod_container_restart", "pod": "coredns-6fc7b84544-58ff6" }, "endsAt": "0001-01-01T00:00:00Z", "generatorURL": "http://k8s-master-71:9090/graph?g0.expr=kube_pod_container_status_restarts_total+%3E+5&g0.tab=1", "startsAt": "2019-08-27T19:22:54.730949237+08:00", "annotations": { "description": "Pod coredns-6fc7b84544-58ff6 in namespace kube-system has a container resstart for more than 5 times" } } ], "version": "4", "receiver": "phone_alert", "externalURL": "http://k8s-master-71:9093", "commonLabels": { "k8s_app": "kube-state-metrics", "container": "coredns", "severity": "Warning", "kubernetes_namespace": "kube-system", "namespace": "kube-system", "instance": "192.168.171.25:8080", "job": "kube-state-metrics", "alertname": "pod_container_restart", "pod": "coredns-6fc7b84544-58ff6" } }
|