Skip to content

Commit

Permalink
Add FAQ entry about incoherent recommendations (100T memory / 100G CP…
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeek committed Mar 8, 2023
1 parent 3677990 commit 4118d8d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ We generate two different QoS classes of recommendation from this

This is entirely based on the underlying VPA project. However, in our experience Goldilocks has usually been a good _starting point_ for setting your resource requests and limits. Every environment will be different, and Goldilocks is not a replacement for tuning your applications for your specific use-case.

## I see incoherent recommendations for my limits like 100T for memory or 100G for CPU, what gives?

This situation can happen if you look at the recommendations very shortly after starting your workload.
Indeed, the statistical model used in the VPA recommender needs 8 days of historic data to produce recommendations and upper/lower boundaries with maximum accuracy. In the time between starting a workload for the first time and these 8 days, the boundaries will become more and more accurate. The lowerBound converges much quicker to maximum accuracy than the upperBound: the idea is that upscaling can be done much more liberally than downscaling.
If you see an upperBound value which is incredibly high, it is the maximum possible value for the VPA recommender's statistical model.
TL;DR: wait a little bit to have more accurate values.

## I don't see any VPA objects getting created, what gives?

There's two main possibilities here:
Expand Down

0 comments on commit 4118d8d

Please sign in to comment.