[英]GKE pod health status in Google Cloud GCP
Are there any metrics I can use to know if pods are in the running state or errored-out, crashloopbackoff state etc in GKE Google Cloud?我是否可以使用任何指标来了解 Pod 在 GKE Google Cloud 中是处于运行状态还是错误输出、崩溃循环回退状态等?
Basically I want a metric I can export to Stackdriver that can tell if my jobs are running healthy pods or pods have errors and no pods are running( Evicted, crashloopbackoff etc. )基本上我想要一个可以导出到 Stackdriver 的指标,它可以判断我的作业是否正在运行健康的 pod 或 pod 有错误并且没有 pod 正在运行(Evicted、crashloopbackoff 等)
According to the official documentation Cloud Monitoring supports the following metric types from Google Kubernetes Engine:根据官方文档,Cloud Monitoring 支持来自 Google Kubernetes Engine 的以下指标类型:
Kubernetes metrics Kubernetes 指标
I believe you can use for your case:我相信您可以用于您的案例:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.