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:
kubectl get hpa
returns
unknown/100m for CPU
unknown/100Mi for RAM
It seems that since the HPA that is created by enabling the autoscaler on the ingress controller, it will apply the HPA on the label app=nginx-ingress
. The nginx-ingress default-backend
also has the same label, and thus also requires us to define the CPU/memory resource requests/limits as well.
You can find more info in this GitHub issue
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With