kubernetes-client / java

Official Java client library for kubernetes
http://kubernetes.io/
Apache License 2.0
3.57k stars 1.9k forks source link

How to use client create VerticalPodAutoscaler resource? #2226

Closed qhh0205 closed 2 years ago

qhh0205 commented 2 years ago

hi, guys, does anyone know how to use this client create VerticalPodAutoscaler resource? At present, the client doesn't seem to support it, but that support HPA creation. Do you have any suggestions on the creation of VPA? thx!

brendandburns commented 2 years ago

Vertical Pod Autoscaling is an extension to the Kubernetes API, you will need to generate the client objects yourself using the instructions here:

https://github.com/kubernetes-client/java/wiki/5.-Generate-Java-CRD-Model