Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

Haproxy ingress with sticky-session

$
0
0

I have researched about setting up kubernetes ingress controller in ingress resource having sticky session / session peristance , but not able to implement , any one can guide me ??

below is my ingress file

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: rtns-ingress
  namespace: default
  annotations:
    haproxy.org/cookie-persistence: "rtns-cookie"
    haproxy.com/backend-config-snippet: |
      cookie SERVERID insert indirect nocache
      http-send-name-header x-dst-server

spec:
  rules:
    - host: "rtns"
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: rtns
                port:
                  number: 5007

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>