Browse Source
feat(helm): adding liveness and readiness probes customizations (#4116)
* feat(helm): adding liveness and readiness probes customizations
* chore(helm): bump chart version to 2.2.0
***NO_CI***
pull/4156/head
Ivann LARUELLE
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
13 additions and
7 deletions
-
dev/helm/Chart.yaml
-
dev/helm/templates/deployment.yaml
-
dev/helm/values.yaml
|
|
@ -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 |
|
|
|
|
|
@ -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 }} |
|
|
|
|
|
@ -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 |
|
|
|
|
|
|
|