Skip to content

Commit b68e9c9

Browse files
author
Ryan Miller
committed
Cross platform shell liveness probe
1 parent 0fda44e commit b68e9c9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

deploy/kubernetes/fluentd-sumologic.yaml.tmpl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -326,17 +326,17 @@ spec:
326326
livenessProbe:
327327
exec:
328328
command:
329-
- "/bin/bash"
329+
- "/bin/sh"
330330
- "-c"
331-
- "[[ $( pgrep ruby | wc -l) > 0 ]]"
331+
- "[ $(pgrep ruby | wc -l) -gt 0 ]"
332332
initialDelaySeconds: 300
333333
periodSeconds: 20
334334
readinessProbe:
335335
exec:
336336
command:
337-
- "/bin/bash"
337+
- "/bin/sh"
338338
- "-c"
339-
- "[[ $( pgrep ruby | wc -l) > 0 ]]"
339+
- "[ $(pgrep ruby | wc -l) -gt 0 ]"
340340
initialDelaySeconds: 30
341341
periodSeconds: 5
342342
volumeMounts:
@@ -511,17 +511,17 @@ spec:
511511
livenessProbe:
512512
exec:
513513
command:
514-
- "/bin/bash"
514+
- "/bin/sh"
515515
- "-c"
516-
- "[[ $( pgrep ruby | wc -l) > 0 ]]"
516+
- "[ $(pgrep ruby | wc -l) -gt 0 ]"
517517
initialDelaySeconds: 300
518518
periodSeconds: 20
519519
readinessProbe:
520520
exec:
521521
command:
522-
- "/bin/bash"
522+
- "/bin/sh"
523523
- "-c"
524-
- "[[ $( pgrep ruby | wc -l) > 0 ]]"
524+
- "[ $(pgrep ruby | wc -l) -gt 0 ]"
525525
initialDelaySeconds: 30
526526
periodSeconds: 5
527527
env:

0 commit comments

Comments
 (0)