kubernetes의 prometheus에서 수집된 메트릭 데이터를 prometheus-adapter를 통해서 custom metric api 구성
HorizontalPodAutoscaler에서 사용할 수 있는 메트릭에는 custom metric이 존재한다.
prometheus에서 수집된 메트릭 데이터로 custom metric을 구성하는 방법을 정리한다.
/apis/custom.metrics.k8s.io/v1beta1/
https://github.com/kubernetes-sigs/prometheus-adapter/blob/master/docs/config.md (레퍼런스)