Skip to content

Commit c8253d6

Browse files
committed
Add session affinity to Alertmanager service
1 parent a1c53b4 commit c8253d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

prometheus-ksonnet/lib/alertmanager.libsonnet

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,5 +169,6 @@
169169
port=80,
170170
targetPort=$._config.alertmanager_port,
171171
),
172-
]),
172+
]) +
173+
service.spec.withSessionAffinity('ClientIP'),
173174
}

0 commit comments

Comments
 (0)