I added resources to dind and gc containers, otherwise I am not able to get HPA to work. Problem is that without requests information inside these containers metrics showed unknown and threw errors, like this:
Metrics: ( current / target )
resource memory on pods (as a percentage of request): Unknown / 60%
resource cpu on pods (as a percentage of request): Unknown / 60%
After adding resources to all pods, I was able to horizontal scale:
Metrics: ( current / target )
resource memory on pods (as a percentage of request): 42% (113977344) / 60%
resource cpu on pods (as a percentage of request): 4% (19m) / 60%
Min replicas: 1
Max replicas: 3
Deployment pods: 2 current / 2 desired
I added resources to
dind
andgc
containers, otherwise I am not able to get HPA to work. Problem is that without requests information inside these containers metrics showedunknown
and threw errors, like this:After adding resources to all pods, I was able to horizontal scale:
BR, panda