change replica count to 2 to allow proper updates + simple nc rewrite

master
Paul Walko 2020-11-07 09:41:19 -05:00
parent 2a7cfeac59
commit 8f206ba677
1 changed files with 4 additions and 2 deletions

View File

@ -4,9 +4,11 @@
# helm repo add haproxytech https://haproxytech.github.io/helm-charts && helm repo update
# helm install haproxy haproxytech/kubernetes-ingress --namespace haproxy -f haproxy.yml
controller:
replicaCount: 1
replicaCount: 2
extraArgs:
- --configmap-tcp-services=haproxy/tcpservices
config:
path-rewrite: /s/(.*)/p /s/\1/preview
service:
type: NodePort
nodePorts:
@ -29,4 +31,4 @@ controller:
nodePort: 30565
defaultBackend:
replicaCount: 1
replicaCount: 2