From 8f206ba677c472665f66ada56ef7502e6018d021 Mon Sep 17 00:00:00 2001 From: Paul Walko Date: Sat, 7 Nov 2020 09:41:19 -0500 Subject: [PATCH] change replica count to 2 to allow proper updates + simple nc rewrite --- fogcutter/k8s/haproxy.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fogcutter/k8s/haproxy.yml b/fogcutter/k8s/haproxy.yml index d52c109..ac4cefa 100644 --- a/fogcutter/k8s/haproxy.yml +++ b/fogcutter/k8s/haproxy.yml @@ -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