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