how to install heapster or metric server to get pod metrics in kubernetes.
I need those pod metrics for using it to horizontal pod auto-scaling. I'm using Digital Ocean cloud cluster.
deployment file is in the screenshot below
install heapster or metric server in kubernetes for horizontal pod autoscaling
1.1k Views Asked by AATHITH RAJENDRAN At
2
You need to first download the following files:
Then create the following service instance of grafana, influxdb and heapster:
Follow this tutorial for test your autoscaling pods:
https://developer.ibm.com/tutorials/autoscale-application-on-kubernetes-cluster/
Hope this helps.
EDIT: Resource request in your deployment file:
resources and request should be there in your deployment files so that HPA can access it to autoscale.