a step by step guide with docker-desktop here: https://danielw.cn/hpa-with-custom-and-external-metrics-in-k8s