Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HPA (Horizontal Pod Autoscaler) does not work #17

Open
mackgorski opened this issue Sep 28, 2020 · 0 comments
Open

HPA (Horizontal Pod Autoscaler) does not work #17

mackgorski opened this issue Sep 28, 2020 · 0 comments

Comments

@mackgorski
Copy link

Hi! First of all, thanks for this repo it is a very nice resource.
However, I'd like to get some guidance or advice. I followed your manual to deploy the cluster and in general, it works but I would like to employ HPA to autoscale the deployment I did set the flag:
enableResourceLimits: true
and uncommented the params:
requestsMemory: 128Mi requestsCpu: 250m limitsMemory: 256Mi limitsCpu: 250m

But every single time I am trying to create an HPA for my site deployment it cannot get metrics from it.
HPA is created but every time shows Unable to read all metrics I have the metrics-server deployed, so I don't know what's wrong 😢

Can you help, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant