I install the latest version (1.24.5) of stable/nginx-ingress
with autoscaling: true
on a GKE cluster.
After finish deploying, HPA said that unable to read all metrics
.
Can you help me to debug and fix it? If there is any more detail/log do you need, please kindly ask and I will provide it!
Thank you
Update:
- I can run other HPA perfectly
kubectl get hpa
returnsunknown/100m for CPU
unknown/100Mi for RAM
I cannot comment yet. As marandall said in the GitHub issue Jackie linked above, this can be fixed by define resources limit and add
--set controller.useComponentLabel=true --set defaultBackend.useComponentLabel=true
to helm command.