Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

[BUG] vpaWeight=1 instead of 0 or 100 #94

Open
vlerenc opened this issue Apr 12, 2022 · 0 comments
Open

[BUG] vpaWeight=1 instead of 0 or 100 #94

vlerenc opened this issue Apr 12, 2022 · 0 comments
Labels
kind/bug Bug lifecycle/rotten Nobody worked on this for 12 months (final aging stage)

Comments

@vlerenc
Copy link

vlerenc commented Apr 12, 2022

Describe the bug:
We run HVPAv1 and it should only have vpa weights of either 0 (while still scaling horizontally) or 100 (when reaching max replicas). Still, I sometimes observe a weight of 1, which is strange.

Expected behaviour:
Either 0 or 100, nothing in between.

How To Reproduce (as minimally and precisely as possible):
n/a

Logs:
From our aws-us1 seed:

2022-04-09T05:57:31.272255897Z: minutes after last scaling\\\"=122.67120271645 \\\"target cpu\\\"=\\\"3908m\\\" \\\"target mem\\\"=\\\"11838448275\\\" \\\"vpaWeight\\\"=0\"
2022-04-09T05:57:31.272346973Z: vpa recommends changes?\\\"=false\"
2022-04-09T05:57:54.985066890Z: minutes after last scaling\\\"=123.06641621076666 \\\"target cpu\\\"=\\\"3908m\\\" \\\"target mem\\\"=\\\"11838448275\\\" \\\"vpaWeight\\\"=1\"
2022-04-09T05:57:54.985153913Z: vpa recommends changes?\\\"=false\"
2022-04-09T05:58:04.138571023Z: minutes after last scaling\\\"=123.2189739776 \\\"target cpu\\\"=\\\"3908m\\\" \\\"target mem\\\"=\\\"11838448275\\\" \\\"vpaWeight\\\"=1\"
2022-04-09T05:58:04.138675928Z: vpa recommends changes?\\\"=false\"
2022-04-09T05:58:34.263609886Z: minutes after last scaling\\\"=123.7210577163 \\\"target cpu\\\"=\\\"3908m\\\" \\\"target mem\\\"=\\\"11838448275\\\" \\\"vpaWeight\\\"=100\"
2022-04-09T05:58:34.263735055Z: Scaling down\\\"=\\\"memory\\\" \\\"hvpa\\\"=\\\"shoot-garden-aws-us1/kube-apiserver\\\"\"
2022-04-09T05:58:34.263787984Z: vpa recommends changes?\\\"=true\"
2022-04-09T05:58:34.340543031Z: Operation cannot be fulfilled on deployments.apps \\\"kube-apiserver\\\": the object has been modified; please apply your changes to the latest version and try again\\\" \\\"controller\\\"=\\\"hvpa\\\" \\\"name\\\"=\\\"kube-apiserver\\\" \\\"namespace\\\"=\\\"shoot-garden-aws-us1\\\" \\\"reconcilerGroup\\\"=\\\"autoscaling.k8s.io\\\" \\\"reconcilerKind\\\"=\\\"Hvpa\\\" \"
2022-04-09T05:58:35.382916927Z: minutes after last scaling\\\"=123.73971377975 \\\"target cpu\\\"=\\\"3908m\\\" \\\"target mem\\\"=\\\"11838448275\\\" \\\"vpaWeight\\\"=100\"
2022-04-09T05:58:35.383044004Z: Scaling down\\\"=\\\"memory\\\" \\\"hvpa\\\"=\\\"shoot-garden-aws-us1/kube-apiserver\\\"\"
2022-04-09T05:58:35.383102893Z: vpa recommends changes?\\\"=true\"
2022-04-09T05:58:35.611365079Z: minutes after last scaling\\\"=0.010185814083333333 \\\"target cpu\\\"=\\\"3908m\\\" \\\"target mem\\\"=\\\"11838448275\\\" \\\"vpaWeight\\\"=100\"
2022-04-09T05:58:35.611531019Z: vpa recommends changes?\\\"=false\"
2022-04-09T05:58:35.634959936Z: minutes after last scaling\\\"=0.010581090133333334 \\\"target cpu\\\"=\\\"3908m\\\" \\\"target mem\\\"=\\\"11838448275\\\" \\\"vpaWeight\\\"=100\"
@vlerenc vlerenc added the kind/bug Bug label Apr 12, 2022
@gardener-robot gardener-robot added the lifecycle/stale Nobody worked on this for 6 months (will further age) label Oct 10, 2022
@gardener-robot gardener-robot added lifecycle/rotten Nobody worked on this for 12 months (final aging stage) and removed lifecycle/stale Nobody worked on this for 6 months (will further age) labels Jun 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Bug lifecycle/rotten Nobody worked on this for 12 months (final aging stage)
Projects
None yet
Development

No branches or pull requests

2 participants