wI2L / kubectl-vpa-recommendation

kubectl plugin to compare VPA recommendations to actual resources requests
MIT License
35 stars 3 forks source link

Early custom CRD support #4

Open EraYaN opened 1 year ago

EraYaN commented 1 year ago

This is a dirty implementation of what the recommender does (so no need for any path options or something).

It does need to create a new Client cause I couldn't firgure out how to use the existing on in the scalemapper instance.

And that switch statement to test for wellKnownness should probably be different now. But at least this works for our case.

I grabbed the GetLabelSelectorFromResource from the recommender, maybe depending on the recommender is a better idea.

EraYaN commented 7 months ago

@wI2L Any chance you could still look at this?