In Kubernetes version 1.27.8, using kube-prometheus deployment, it has been observed that increasing the replica count of kubeStateMetrics from 1 to 2 results in Lens displaying doubled resource limits for Pods. However, the actual YAML files for Pods remain unchanged. Reverting the replica count back to 1 restores the normal behavior of Pod resource limits.
Steps to Reproduce
Deploy kube-prometheus using Kubernetes version 1.27.8.
Increase the replica count of kubeStateMetrics from 1 to 2.
Observe the resource limits for Pods in Lens.
Expected Behavior
The resource limits for Pods in Lens should be reflective of the configuration in the YAML files, not influenced by the replica count of kubeStateMetrics.
Actual Behavior
Lens displays doubled resource limits for Pods seemingly influenced by the replica count of kubeStateMetrics.
Deployment Environment
Kubernetes Version: 1.27.8
Deployment Method: kube-prometheus
kubeStateMetrics Replica Count: 1 to 2
Additional Information
Reverting the kubeStateMetrics replica count to 1 restores the normal behavior of Pod resource limits. Please verify and address this issue. If additional information or testing is required, please let me know.
Description
In Kubernetes version 1.27.8, using kube-prometheus deployment, it has been observed that increasing the replica count of kubeStateMetrics from 1 to 2 results in Lens displaying doubled resource limits for Pods. However, the actual YAML files for Pods remain unchanged. Reverting the replica count back to 1 restores the normal behavior of Pod resource limits.
Steps to Reproduce
Expected Behavior
The resource limits for Pods in Lens should be reflective of the configuration in the YAML files, not influenced by the replica count of kubeStateMetrics.
Actual Behavior
Lens displays doubled resource limits for Pods seemingly influenced by the replica count of kubeStateMetrics.
Deployment Environment
Additional Information
Reverting the kubeStateMetrics replica count to 1 restores the normal behavior of Pod resource limits. Please verify and address this issue. If additional information or testing is required, please let me know.
Thank you!