kuboard-press
kuboard-press copied to clipboard
kuboard / kube-state-metrics报错导致不断收到警报
尝试了一下创建cronjob v1beta1 了一下3.5.2 它不支持 ,只支持v1 所以就算想手动创一个v1beta1负载也是不现实的,也尝试了自动伸缩也是一样的结果
日志报错截图
邮件也有收到一些警报
E1020 05:49:43.528292 1 reflector.go:138] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:167: Failed to watch *v1beta1.CronJob: failed to list *v1beta1.CronJob: the server could not find the requested resource
E1020 05:49:49.084712 1 reflector.go:138] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:167: Failed to watch *v1beta1.PodDisruptionBudget: failed to list *v1beta1.PodDisruptionBudget: the server could not find the requested resource
E1020 05:50:10.315970 1 reflector.go:138] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:167: Failed to watch *v2beta1.HorizontalPodAutoscaler: failed to list *v2beta1.HorizontalPodAutoscaler: the server could not find the requested resource
每天会收到几次这个报警邮件影响还蛮大的
告警详情
字段 | 内容 |
---|---|
description | kube-state-metrics 不能正常地查询 Kubernetes 对象的 list 操作,这将导致其不能正常地提供 Kubernetes 对象的监控指标。 |
summary | kube-state-metrics 不能查询 Kubernetes 对象的 list 操作。 |