Skip to content

HPA (Horizontal Pod Autoscaler) does not work #17

@mackgorski

Description

@mackgorski

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions