-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error adding metric sample for container #7198
Comments
/area vertical-pod-autoscaler |
Are some of these containers sidecars? I'm wondering if this issue is a dupe of #6691 |
@adrianmoisey I'm checked two random pods and in first of these has 2 sidecars and 0 initcontainers, but second has not both sidecars and initcontainder, but i see this pod in log error too |
Sounds like the issue you're facing is this bug? #7229 |
@adrianmoisey We are not using native sidecars and we have an error in pod, that don't have any initContainer or sidecar in manifest |
Can you provide more details on reproducing this? |
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
OutputWhat 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}
inrecommender
pod every minute on all system NS (openshift*, kube*, calico*, tigera-operator and etc) inOKD
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 issueHow to reproduce it (as minimally and precisely as possible):
Just install VPA
Anything else we need to know?:
The text was updated successfully, but these errors were encountered: