Skip to content

Admission-controller E0320 Failed to get parent controller for pod alloy-receiver #9400

@ceastman-r7

Description

@ceastman-r7

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions