fabric8io / kubernetes-client

Java client for Kubernetes & OpenShift
http://fabric8.io
Apache License 2.0
3.41k stars 1.46k forks source link

Add support for VPA (vertical pod autoscaler) #3430

Closed matthyx closed 2 years ago

matthyx commented 3 years ago

Do you think it would make sense to add support for https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler or is it just enough to let people use the Resource Typed API and create their POJOs?

matthyx commented 3 years ago

@rohanKanojia what do you think?

rohanKanojia commented 3 years ago

@matthyx : Sorry I was on PTO yesterday. I'm not able to find VerticalPodAutoscaler on fresh minikube based kubernetes setup

kubernetes-repos : $ kubectl api-resources | grep VerticalPodAutoscaler
kubernetes-repos : $

In the repository you linked, I see vpa-crd.yaml looks like it's a CustomResource.

Do you know if in the future these are going to be moved to kubernetes/api/autoscaling ? If not, I think we can add an extension just like cert-manager.

matthyx commented 3 years ago

Indeed it's still an external CR... but documented in OpenShift so an extension it would be. If nobody else is interested, I can take a look.

matthyx commented 3 years ago

btw I have started... you can assign me