autoscaler
autoscaler copied to clipboard
Error adding metric sample for container
Which component are you using?:
VPA
What version of the component are you using?:
Component version: 1.2.0
What k8s version are you using (kubectl version
)?:
kubectl version
Output
OKD: 4.12.0-0.okd-2023-02-04-212953 Kubernetes Version: v1.25.0-2653+a34b9e9499e6c3-dirty
What environment is this in?:
On Premise in OpenStack
What did you expect to happen?:
No errors in logs every minute
What happened instead?:
We are getting a error something like this: W0822 08:38:08.999233 1 cluster_feeder.go:443] Error adding metric sample for container {{openshift-multus multus-additional-cni-plugins-ql9hs} POD}: KeyError: {{openshift-multus multus-additional-cni-plugins-ql9hs} POD}
in recommender
pod every minute on all system NS (openshift*, kube*, calico*, tigera-operator and etc) in OKD
cluster, in these NS there's no VPA objects created and I cannot understand why VPA trying to get metrics from pods.
I'm added new arg --ignored-vpa-object-namespaces=tigera-operator,openshift,openshift-apiserver,...,argocd-operator
but this not resolving the issue
How to reproduce it (as minimally and precisely as possible):
Just install VPA
Anything else we need to know?: