Prometheus: Add session affinity to ingress
This adds session affinity to Prometheus's ingress. This allows for the use of cookies for Prometheus's session affinity Change-Id: I2e7e1d1b5120c1fb3ddecb5883845e46d61273de
This commit is contained in:
parent
8e369d2c9c
commit
71c1a16758
@ -204,6 +204,9 @@ network:
|
||||
cluster: "nginx-cluster"
|
||||
annotations:
|
||||
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:
|
||||
enabled: false
|
||||
port: 30900
|
||||
|
Loading…
Reference in New Issue
Block a user