Install Custom Metrcis API addon in kubernetes for horizontal pod autoscaling

We are planning to use Kubernetes horizontal pod scheduler and for that need to install Custom Metrics API addon. Can someone please tell different ways to install Custom Metrics API on kubernetes cluster?

WHen i ran this command,i don’t see it listed.

kubectl get apiservice | grep

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:

Kubernetes version:1.17
Cloud being used: AWS
Installation method:
Host OS:
CNI and version:
CRI and version:

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.