apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: centodiciotto-ingress
  namespace: centodiciotto-dev
  annotations:
    nginx.ingress.kubernetes.io/affinity: "cookie"
    nginx.ingress.kubernetes.io/session-cookie-name: "session"
    nginx.ingress.kubernetes.io/session-cookie-expires: "172800"
    nginx.ingress.kubernetes.io/session-cookie-max-age: "172800"
spec:
  rules:
    - http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: centodiciotto-ws
                port:
                  number: 8080
