Skip to content

Commit

Permalink
feat(helm): adding liveness and readiness probes customizations (#4116)
Browse files Browse the repository at this point in the history
* feat(helm): adding liveness and readiness probes customizations

* chore(helm): bump chart version to 2.2.0

***NO_CI***
  • Loading branch information
larueli committed Jun 24, 2021
1 parent b3612b6 commit 826e6d4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dev/helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: wiki
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 2.1.0
version: 2.2.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
AppVersion: latest
Expand Down
8 changes: 2 additions & 6 deletions dev/helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,9 @@ spec:
containerPort: 3000
protocol: TCP
livenessProbe:
httpGet:
path: /healthz
port: http
{{- toYaml .Values.livenessProbe | nindent 12 }}
readinessProbe:
httpGet:
path: /healthz
port: http
{{- toYaml .Values.readinessProbe | nindent 12 }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down
10 changes: 10 additions & 0 deletions dev/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ serviceAccount:
# If not set and create is true, a name is generated using the fullname template
name:

livenessProbe:
httpGet:
path: /healthz
port: http

readinessProbe:
httpGet:
path: /healthz
port: http

podSecurityContext: {}
# fsGroup: 2000

Expand Down

0 comments on commit 826e6d4

Please sign in to comment.