Apisix-ingress-controller chart missing HPA template — autoscaling values have no effect

Open Beginner friendly
#977 0 comments 11 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
helm, kubernetes
Domain
devops

Research direction

Start with charts/apisix-ingress-controller/values.yaml and inspect the existing apisix chart templates/hpa.yaml as the reference. Render the ingress-controller chart with autoscaling enabled and verify that it produces a HorizontalPodAutoscaler using the configured replica and utilization values.

Written by the indexing model from the issue text.

Description

Chart version: apisix-ingress-controller v1.2.0
Controller version: 2.1.0

The chart's values.yaml documents an autoscaling block:

autoscaling:
    enabled: true
    minReplicas: 2
    maxReplicas: 3
    targetCPUUtilizationPercentage: 80
    targetMemoryUtilizationPercentage: 80

However, there is no corresponding hpa.yaml template in charts/apisix-ingress-controller/templates/. As a result, enabling autoscaling has no effect — no HorizontalPodAutoscaler is created and the deployment stays at deployment.replicas (default 1).

The apisix chart (same repo) does include templates/hpa.yaml and renders an HPA correctly. Could the same template be added for the ingress controller chart?

Dominant language
Go Template
Stars
289
Forks
284
Avg merge
4d 22h
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/apisix-helm-chart

All issues in apache/apisix-helm-chart

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.