Skip to content

Commit

Permalink
rethinkdb: Add startup probe to rethinkdb cluster/proxy/admin containers
Browse files Browse the repository at this point in the history
  • Loading branch information
maeb committed Nov 2, 2020
1 parent 11ed0d8 commit 81573d0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
7 changes: 5 additions & 2 deletions bases/rethinkdb/admin/admin-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,20 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.name
startupProbe:
exec:
command:
- /rethinkdb-probe
failureThreshold: 10
livenessProbe:
exec:
command:
- /rethinkdb-probe
initialDelaySeconds: 5
timeoutSeconds: 5
readinessProbe:
exec:
command:
- /rethinkdb-probe
initialDelaySeconds: 10
timeoutSeconds: 5
volumes:
- name: secrets
Expand Down
7 changes: 5 additions & 2 deletions bases/rethinkdb/cluster/cluster-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,20 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.name
startupProbe:
exec:
command:
- /rethinkdb-probe
failureThreshold: 10
livenessProbe:
exec:
command:
- /rethinkdb-probe
initialDelaySeconds: 10
timeoutSeconds: 5
readinessProbe:
exec:
command:
- /rethinkdb-probe
initialDelaySeconds: 10
timeoutSeconds: 5
volumes:
- name: datadir
Expand Down
7 changes: 5 additions & 2 deletions bases/rethinkdb/proxy/proxy-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,20 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.name
startupProbe:
exec:
command:
- /rethinkdb-probe
failureThreshold: 10
livenessProbe:
exec:
command:
- /rethinkdb-probe
initialDelaySeconds: 15
timeoutSeconds: 5
readinessProbe:
exec:
command:
- /rethinkdb-probe
initialDelaySeconds: 10
timeoutSeconds: 5
volumes:
- name: secrets
Expand Down

0 comments on commit 81573d0

Please sign in to comment.