Skip to content

Commit

Permalink
Adding liveness and readiness tuning options to chart
Browse files Browse the repository at this point in the history
  • Loading branch information
sepulworld committed Apr 8, 2022
1 parent 8189ec7 commit 97daf23
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/dinghy-ping/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "v1.1.0"
description: A Helm chart for dinghy-ping
name: dinghy-ping
version: 0.4.12
version: 0.4.13
icon: https://user-images.githubusercontent.com/538171/64288240-732bef00-cf16-11e9-830a-7b08759bffad.jpg
maintainers:
- name: sepulworld
8 changes: 8 additions & 0 deletions charts/dinghy-ping/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,21 @@ spec:
containerPort: 8000
protocol: TCP
livenessProbe:
failureThreshold: 3
httpGet:
path: /
port: http
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
readinessProbe:
failureThreshold: 3
httpGet:
path: /
port: http
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
resources:
{{ toYaml .Values.resources | indent 12 }}
{{- with .Values.nodeSelector }}
Expand Down

0 comments on commit 97daf23

Please sign in to comment.