Skip to content

Commit

Permalink
Make Store liveness probe more configurable
Browse files Browse the repository at this point in the history
Adds configuration for failure threshold and period seconds.

Signed-off-by: Douglas Camata <[email protected]>
  • Loading branch information
douglascamata committed Oct 11, 2022
1 parent 7361d93 commit 449e423
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
},
livenessProbe: {
timeoutSeconds: 1,
failureThreshold: 8,
periodSeconds: 30,
},
tracing: {},
minTime: '',
Expand Down
4 changes: 2 additions & 2 deletions jsonnet/kube-thanos/kube-thanos-store.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ function(params) {
] else []
),
livenessProbe: {
failureThreshold: 8,
periodSeconds: 30,
failureThreshold: ts.config.livenessProbe.failureThreshold,
periodSeconds: ts.config.livenessProbe.periodSeconds,
timeoutSeconds: ts.config.livenessProbe.timeoutSeconds,
httpGet: {
scheme: 'HTTP',
Expand Down

0 comments on commit 449e423

Please sign in to comment.