Monitoring and alerting on pod status or restart with Google Container Engine (GKE) and Stackdriver

前端 未结 4 2148
伪装坚强ぢ
伪装坚强ぢ 2021-02-05 09:53

Is there a way to monitor the pod status and restart count of pods running in a GKE cluster with Stackdriver?

While I can see CPU, memory and disk usage metrics for all

4条回答
  •  庸人自扰
    2021-02-05 10:29

    There is a built in metric now, so it's easy to dashboard and/or alert on it without setting up custom metrics

    Metric: kubernetes.io/container/restart_count
    Resource type: k8s_container
    

提交回复
热议问题