Which component are you using?:
vertical-pod-autoscaler-chart-0.8.1
/area vertical-pod-autoscaler
What version of the component are you using?:
0.8.1
Component version:
What k8s version are you using (kubectl version)?: EKS 1.33
kubectl version Output
$ kubectl version
What environment is this in?:
AWS EKS
What did you expect to happen?:
To not receive errors
What happened instead?:
Received the following error logs: for various grafana alloy components
k8s-vpa-admission-controller-7f7c55b6c9-ntplj admission-controller E0320 18:09:49.494195 1 matcher.go:57] "Failed to get parent controller for pod" err="unhandled targetRef collectors.grafana.com/v1alpha1 / Alloy / gkm-alloy-metrics, last error alloys.collectors.grafana.com "gkm-alloy-metrics" is forbidden: User "system:serviceaccount:platform-delivery:k8s-vpa-admission-controller" cannot get resource "alloys/scale" in API group "collectors.grafana.com" in the namespace "platform-delivery"" pod="platform-delivery/gkm-alloy-metrics-0"
We use https://github.com/grafana/k8s-monitoring-helm version 3 to deploy Grafana alloy to our kubernetes clusters
Which component are you using?:
vertical-pod-autoscaler-chart-0.8.1
/area vertical-pod-autoscaler
What version of the component are you using?:
0.8.1
Component version:
What k8s version are you using (
kubectl version)?: EKS 1.33kubectl versionOutputWhat environment is this in?:
AWS EKS
What did you expect to happen?:
To not receive errors
What happened instead?:
Received the following error logs: for various grafana alloy components
k8s-vpa-admission-controller-7f7c55b6c9-ntplj admission-controller E0320 18:09:49.494195 1 matcher.go:57] "Failed to get parent controller for pod" err="unhandled targetRef collectors.grafana.com/v1alpha1 / Alloy / gkm-alloy-metrics, last error alloys.collectors.grafana.com "gkm-alloy-metrics" is forbidden: User "system:serviceaccount:platform-delivery:k8s-vpa-admission-controller" cannot get resource "alloys/scale" in API group "collectors.grafana.com" in the namespace "platform-delivery"" pod="platform-delivery/gkm-alloy-metrics-0"
We use https://github.com/grafana/k8s-monitoring-helm version 3 to deploy Grafana alloy to our kubernetes clusters