Autoscaler: VPA 'no pods found'

Created on 22 Sep 2020  路  5Comments  路  Source: kubernetes/autoscaler

We are running a vpa for Prometheus Operator instances on GKE 1.18.6-gke.3504. We thought after the issue #2159 got fixed, this should be working. But we now we get No recommendation provided from the recommendation engine: No pods found.

Other vpa configurations, with non operator resources are working as expected. Is this possible again related to the CRDs of the Prometheus Operator?

apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
spec:
  targetRef:
    apiVersion: apps/v1
    kind: StatefulSet
    name: prometheus-example
  updatePolicy:
    updateMode: Auto
status:
  conditions:
  - lastTransitionTime: "2020-09-22T06:14:30Z"
    message: 'No recommendation provided from the recommendation engine: No pods found.'
    reason: 'No recommendation provided from the recommendation engine: No pods found.'
    status: "False"
    type: RecommendationProvided
  recommendation: {}
apiVersion: apps/v1
kind: StatefulSet
  name: prometheus-example
  namespace: prometheus-example
  ownerReferences:
  - apiVersion: monitoring.coreos.com/v1
    blockOwnerDeletion: true
    controller: true
    kind: Prometheus
    name: prometheus-example
    uid: 857262d5-e10a-4eff-8d9f-d84696821b5f
spec:
...
kinbug vertical-pod-autoscaler

All 5 comments

@jbartosik can you check if the fix for #2159 is included in GKE 1.18.6-gke.3504?

I've checked and the mentioned fix will be available starting from version 1.18.6-gke.5600 which means it's not yet available. Would it be possible for you to check back with the newer version when it comes out?

Thanks @bskiba for checking that. I'll wait until 1.18.6-gke.5600 and will report back.

@bskiba After upgrading GKE to 1.18.9-gke.801 the vpa config for the Prometheus Operator resources are working as expected. Thank you for helping :-)

Thanks for confirming! Glad it helped.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

adamrp picture adamrp  路  7Comments

davidquarles picture davidquarles  路  7Comments

clamoriniere picture clamoriniere  路  5Comments

hjkatz picture hjkatz  路  4Comments

pkelleratwork picture pkelleratwork  路  5Comments