Skip to content

Commit 633a5b5

Browse files
committed
Release 1.3.0 kubernetes-ingress chart due to replicaCount now being
optional. Update documentation accordigly (see README for example). Add corresponding CI test. Signed-off-by: Dinko Korunic <[email protected]>
1 parent 9d84f3b commit 633a5b5

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

kubernetes-ingress/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
apiVersion: v1
1616
name: kubernetes-ingress
17-
version: 1.2.3
17+
version: 1.3.0
1818
kubeVersion: ">=1.12.0-0"
1919
description: A Helm chart for HAProxy Kubernetes Ingress Controller
2020
keywords:

kubernetes-ingress/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,16 @@ helm install my-ingress3 haproxytech/kubernetes-ingress \
113113

114114
***NOTE***: With helm `--set` it is needed to put quotes and escape dots in the annotation key and commas in the value string.
115115

116+
### Installing with Horizontal Pod Autoscaler
117+
118+
[HPA](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/) automatically scales number of replicas in Deployment or Replication Controller and adjusts replica count. Therefore we want to unset default replicaCount for controller and defaultBackend by setting corresponding key values to null:
119+
120+
```console
121+
helm install my-ingress4 haproxytech/kubernetes-ingress \
122+
--set controller.replicaCount=null \
123+
--set defaultBackend.replicaCount=null
124+
```
125+
116126
### Using values from YAML file
117127

118128
As opposed to using many `--set` invocations, much simpler approach is to define value overrides in a separate YAML file and specify them when invoking Helm:
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
controller:
2+
replicaCount: null
3+
4+
defaultBackend:
5+
replicaCount: null

0 commit comments

Comments
 (0)