VPA does not scale the pods as per the recommendation
Issue
- Whenever we try to scale a Pod managed by a CR which doesn't support the scale sub-resource and cannot be scaled when it receives the recommendation on the limits.
- Running on OpenShift 4.6.1 with VerticalPodAutoscaler Operator 1.0.0 and verticalpodautoscaler.4.6.0-202010311441.p0, we get the following error on a new autoscaler and then no pods match this VPA object
Error checking if target is a topmost well-known or scalable controller: Unhandled targetRef xyz.com/v1beta1 / QueueManager / quickstart, last error queuemanagers.xyz.com "quickstart" is forbidden: User "system:serviceaccount:openshift-vertical-pod-autoscaler:vpa-recommender" cannot get resource "queuemanagers/scale" in API group "xyz.com" in the namespace "vpa-test"
- When the VPA Operator is authorized to see the resource, it isn't doing anything?
Environment
- Red Hat OpenShift Container Platform
- 4.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.