streamnative/function-mesh

Upgrade to autoscaling/v2

freeznet opened this issue · 4 comments

Since k8s 1.23 autoscaling/v2beta2 is deprecated, it will be great if function-mesh upgrades to autoscaling/v2

Hi guys, this is the only thing blocking us from an needed cluster upgrade. This should be very easy to fix. Thanks for your consideration!

Hi, just as info: We forked function mesh and did a "stupid" search and replace on "v2beta2" => "v2", rebuild and containerised the code and it works fine for us. So my comment above is still valid 😄 .

hi @MarkusNeuron, your solution should be okay according to https://kubernetes.io/docs/reference/using-api/deprecation-guide/#horizontalpodautoscaler-v126.
Would you mind opening a PR for the fix? thanks.

Hi @freeznet,
please have a look: #658