apache / apache/apisix-helm-chart

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
Dominant language
Go Template
Stars
289
Forks
282
Avg merge
15h 55m
Merged PRs (30d)
3

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?

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.