Merge "Prometheus: Add session affinity to ingress"

This commit is contained in:
Zuul 2018-11-26 18:21:14 +00:00 committed by Gerrit Code Review
commit 0730df5973

View File

@ -204,6 +204,9 @@ network:
cluster: "nginx-cluster" cluster: "nginx-cluster"
annotations: annotations:
nginx.ingress.kubernetes.io/rewrite-target: / nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/affinity: cookie
nginx.ingress.kubernetes.io/session-cookie-name: kube-ingress-session-prometheus
nginx.ingress.kubernetes.io/session-cookie-hash: sha1
node_port: node_port:
enabled: false enabled: false
port: 30900 port: 30900