Closed brian-provenzano closed 1 year ago
OR is this just emitting information from metrics server that are being added to the vpa model in vpa recommender regarding events on the cluster (the deleting pod
event`)? in other words these are just cluster events being captured?
that is exactly what it is doing:
Scale down deployment:
kc scale deployment testresources --replicas=0
deployment.apps/testresources scaled
vpa recommender emits this in logs (based on metrics server I assume) to update the model
I0605 18:20:52.625855 1 cluster_feeder.go:423] Deleting Pod {brianprovenzano testresources-84b79c8d4f-dbrtf}
I0605 18:20:52.625880 1 cluster_feeder.go:423] Deleting Pod {brianprovenzano testresources-84b79c8d4f-l7c92}
So this is a case of stupid user :)
I'll close this and leave it here in case someone else needs this info
This may be just misunderstanding the functionality, but we have goldilocks installed in recommendation mode only (using chart with only recommender enabled) and with this configuration we are seeing log entires in the recommender logs like this
kdp-core-vpa-goldilocks-recommender-7d68656bc6-bb994 vpa I0605 17:06:48.130341 1 cluster_feeder.go:423] Deleting Pod {cema distancecalc-7b78f6c4fd-m2tmk}
even though the vpa updatePolicy for this deployment is set toOff
. Are these actually deleting pods?The deployments/pods running for goldilocks (no updater only recommender):
The VPA for the above log:
I can provide more information if needed but generally the question is do these log entries indicate that the recommender is deleting pods.