Skip to content

Commit

Permalink
Merge pull request #10 from alexandrud/api-chart
Browse files Browse the repository at this point in the history
change healthcheck defaults to allow the pod to start
  • Loading branch information
alexandrud authored Jan 23, 2021
2 parents 3c14ac8 + 8f5b5f1 commit cbd2002
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/routing/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: routing
description: Helm chart for routing app
type: application
version: 0.0.3
version: 0.0.4
appVersion: "1.11.1"
keywords:
- routing
Expand Down
4 changes: 4 additions & 0 deletions charts/routing/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,14 @@ spec:
httpGet:
path: {{ .Values.healthCheckPath }}
port: http
timeoutSeconds: {{ .Values.healthCheckTimeout }}
initialDelaySeconds: {{ .Values.healthCheckDelay }}
readinessProbe:
httpGet:
path: {{ .Values.healthCheckPath }}
port: http
timeoutSeconds: {{ .Values.healthCheckTimeout }}
initialDelaySeconds: {{ .Values.healthCheckDelay }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down
2 changes: 2 additions & 0 deletions charts/routing/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ env: {}

containerPort: 3001
healthCheck: ""
healthCheckTimeout: 3
healthCheckDelay: 10

service:
type: ClusterIP
Expand Down

0 comments on commit cbd2002

Please sign in to comment.