Skip to content

Commit

Permalink
Enable sticky session cookie for AlertManager
Browse files Browse the repository at this point in the history
Add a session cookie to AlertManager to always route requests to the same instance
  • Loading branch information
jb3 committed Apr 9, 2024
1 parent f47a665 commit 17f2169
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ metadata:
nginx.ingress.kubernetes.io/auth-tls-verify-client: "on"
nginx.ingress.kubernetes.io/auth-tls-secret: "kube-system/mtls-client-crt-bundle"
nginx.ingress.kubernetes.io/auth-tls-error-page: "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
nginx.ingress.kubernetes.io/affinity: "cookie"
nginx.ingress.kubernetes.io/session-cookie-name: "AlertManager_LB"
nginx.ingress.kubernetes.io/session-cookie-domain: "alertmanager.pythondiscord.com"
nginx.ingress.kubernetes.io/session-cookie-samesite: "Strict"
nginx.ingress.kubernetes.io/session-cookie-expires: "3600"
name: alertmanager
namespace: monitoring
spec:
Expand Down

0 comments on commit 17f2169

Please sign in to comment.