Skip to content

Commit

Permalink
wip(thredds): added readiness/liveness probes #281 [pack]
Browse files Browse the repository at this point in the history
  • Loading branch information
cnouguier committed Feb 7, 2022
1 parent f590196 commit ca6b2f7
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion charts/thredds/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,22 @@ spec:
{{- include "common.environment.render" (dict "env" .Values.env "context" $) | indent 12 }}
ports:
- name: {{ include "common.names.name" . }}
containerPort: 8080
readinessProbe:
tcpSocket:
port: {{ include "common.names.name" . }}
initialDelaySeconds: 10
periodSeconds: 10
livenessProbe:
httpGet:
path: thredds/catalog.html
port: {{ include "common.names.name" . }}
initialDelaySeconds: 60
periodSeconds: 30
resources:
{{- toYaml .Values.resources | nindent 12 }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
containerPort: 8080
volumeMounts:
{{- if and .Values.tomcatConfigMapName }}
- mountPath: /usr/local/tomcat/conf/web.xml
Expand Down

0 comments on commit ca6b2f7

Please sign in to comment.