hpa fuction you need put this comand for HPA finaly fuction kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml