Kubernetes autoscale

I can not set autoscale during kubernetes deployment. how can i do?

Hi,

If you want to create a Horizontal Pod Autoscaler, you can do this as part of the Deploy Kubernetes Containers step by configuring a Custom Resource. You will need to enable the Custom Resource feature:

I hope that helps! Please let me know if that hasn’t answered your question.

Hi again,

Thanks for the instructions however it led me to another problem I need support for. Here is my HPA yaml:

and the error I get at deployment time:

As suggested by the error log, I tried it with different kubectl versions (1.15.2-3-4-5,1.16.0,1.16.2) to no avail. The yaml file seems syntactically correct to me.

Thanks in advance for your help.