Skip to content

Prometheus rule KubeletTooManyPods incorrect statistics #2558

Open
@jeffaryhe

Description

@jeffaryhe

1、When there are multiple pods in the resource type deployment, the statistics cover them and an alarm will be triggered. This is not the actual number limit of k8s nodes.
https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubelettoomanypods/

image
2、The current number of pods in my cluster is 73, which does not reach the pod number limit of the node node.
image

3、This is the threshold reached in the alarm. All alarms should be issued based on the total number of pods on the node and the actual number of pods.
image

4、kubelet_running_pods Reference change indicator

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions