The below screenshot shows the kubernetes document to enable API server flags, but no clear instructions were given on where to change these API server flags. I'm using kubernetes on digital ocean cloud. I can not use hpa. kubernetes version is:
3 Answers
1
votes
you can create a apiserver.conf file in master node & mount it in /etc/kubernetes/ directory of apiserver container. This will help you to customize your API server. here is the sample code for this.
1
votes
0
votes
I believe you need to get working HPA in your kubernetes cluster. I have written a step by step answer for that, how can you achieve it:
How to Enable KubeAPI server for HPA Autoscaling Metrics
Please have a look. Hope this helps