robscott/kube-capacity

pull vpa recommendations (?)

joe-carpenter opened this issue · 2 comments

just an idea, but vpa-recommender could be used to generate some extra info (if the user is running it in their cluster) for pods... the output might be something like this

NODE                                          NAMESPACE       POD                                                      CPU REQUESTS    CPU LIMITS     CPU UTIL     CPU RECOMMENDATION      MEMORY REQUESTS   MEMORY LIMITS    MEMORY UTIL    MEMORY RECOMMENDATION
...
ip-12-34-567-89.eu-west-2.compute.internal   my-namespace     my-pod-7d95ccc554-2ltsq                                  600m (3%)       0m (0%)        4m (0%)      123m                    1024Mi (1%)       1024Mi (1%)      431Mi (0%)     789Mi

.. although come to think of it the user would have to have VPA objects for all their pod controllers, which is probably a significant minority of users 😆

That's an interesting idea, thanks for filing this issue! I'm not quite sure if/when I'll have time to implement something like that, but open to any contributions. As an alternative, I really like what @sudermanjr and the Fairwinds team have done with Goldilocks to help with VPAs.