Skip to content

Commit

Permalink
Merge pull request #1633 from consideRatio/3-autohttps-readinessprobe
Browse files Browse the repository at this point in the history
Feat: autohttps readinessProbe for quicker shutdowns
  • Loading branch information
consideRatio authored Apr 19, 2020
2 parents cddceec + 46e39bb commit 20b2412
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions jupyterhub/templates/proxy/autohttps/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ spec:
mountPath: /etc/traefik
- name: certificates
mountPath: /etc/acme
readinessProbe:
tcpSocket:
port: http
initialDelaySeconds: 1
periodSeconds: 1
failureThreshold: 3
- name: secret-sync
image: "{{ .Values.proxy.secretSync.image.name }}:{{ .Values.proxy.secretSync.image.tag }}"
{{- with .Values.proxy.secretSync.image.pullPolicy }}
Expand Down

0 comments on commit 20b2412

Please sign in to comment.