Skip to content

Commit 449e423

Browse files
committed
Make Store liveness probe more configurable
Adds configuration for failure threshold and period seconds. Signed-off-by: Douglas Camata <[email protected]>
1 parent 7361d93 commit 449e423

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

jsonnet/kube-thanos/kube-thanos-store-default-params.libsonnet

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
},
2525
livenessProbe: {
2626
timeoutSeconds: 1,
27+
failureThreshold: 8,
28+
periodSeconds: 30,
2729
},
2830
tracing: {},
2931
minTime: '',

jsonnet/kube-thanos/kube-thanos-store.libsonnet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ function(params) {
136136
] else []
137137
),
138138
livenessProbe: {
139-
failureThreshold: 8,
140-
periodSeconds: 30,
139+
failureThreshold: ts.config.livenessProbe.failureThreshold,
140+
periodSeconds: ts.config.livenessProbe.periodSeconds,
141141
timeoutSeconds: ts.config.livenessProbe.timeoutSeconds,
142142
httpGet: {
143143
scheme: 'HTTP',

0 commit comments

Comments
 (0)