Skip to content

Commit

Permalink
Move liveness and readiness probe to values.yaml (helm#7982)
Browse files Browse the repository at this point in the history
* move readiness and liveness probe details to value.yaml

Signed-off-by: Shubham Jain <[email protected]>

* chart version bumped

Signed-off-by: Shubham Jain <[email protected]>

* Remove trailing spaces

Signed-off-by: Shubham Jain <[email protected]>

* Update Chart.yaml

Signed-off-by: Reinhard Nägele <[email protected]>
  • Loading branch information
slayerjain authored and k8s-ci-robot committed Oct 31, 2018
1 parent d7fe05b commit 761b676
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
2 changes: 1 addition & 1 deletion stable/rethinkdb/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: rethinkdb
description: The open-source database for the realtime web
version: 0.1.4
version: 0.2.0
appVersion: 0.1.0
keywords:
- rethinkdb
Expand Down
10 changes: 2 additions & 8 deletions stable/rethinkdb/templates/rethinkdb-cluster-stateful-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,9 @@ spec:
fieldRef:
fieldPath: metadata.name
livenessProbe:
exec:
command:
- /rethinkdb-probe
failureThreshold: 3
initialDelaySeconds: 15
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
{{ toYaml .Values.cluster.livenessProbe | indent 12 }}
readinessProbe:
{{ toYaml .Values.cluster.readinessProbe | indent 12 }}
exec:
command:
- /rethinkdb-probe
Expand Down
18 changes: 18 additions & 0 deletions stable/rethinkdb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,24 @@ cluster:
annotations: {}
# RethinkDB Cache Size in MB
rethinkCacheSize: 100
livenessProbe:
exec:
command:
- /rethinkdb-probe
failureThreshold: 3
initialDelaySeconds: 15
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
readinessProbe:
exec:
command:
- /rethinkdb-probe
failureThreshold: 3
initialDelaySeconds: 15
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5

# RethinkDB Proxy Config
proxy:
Expand Down

0 comments on commit 761b676

Please sign in to comment.