Skip to content

Commit

Permalink
Merge pull request #12 from WyriHaximusNet/add-startup-probes
Browse files Browse the repository at this point in the history
Add start up probes
  • Loading branch information
WyriHaximus authored Jul 10, 2020
2 parents 42f02b8 + b9d65fd commit e808749
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/docker-hub-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Docker Hub exporter
home: https://github.com/jessestuart/docker-hub-exporter
icon: https://helm.wyrihaximus.net/images/charts/docker-hub-exporter.png
type: application
version: 0.2.1
version: 0.2.2
appVersion: d05df48
maintainers:
- name: WyriHaximus
Expand Down
8 changes: 6 additions & 2 deletions charts/docker-hub-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,16 @@ spec:
containerPort: 9170
protocol: TCP
livenessProbe:
initialDelaySeconds: 5
httpGet:
path: /
port: metrics
readinessProbe:
initialDelaySeconds: 5
httpGet:
path: /
port: metrics
startupProbe:
failureThreshold: 33
periodSeconds: 1
httpGet:
path: /
port: metrics
Expand Down
2 changes: 1 addition & 1 deletion charts/redirect/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application

# 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: 0.1.1
version: 0.1.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
6 changes: 6 additions & 0 deletions charts/redirect/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ spec:
httpGet:
path: /ping
port: http-metrics
startupProbe:
failureThreshold: 33
periodSeconds: 1
httpGet:
path: /ping
port: http-metrics
volumeMounts:
- name: {{ include ".helm.fullname" . }}-volume
mountPath: /etc/redirect/
Expand Down

0 comments on commit e808749

Please sign in to comment.