1
0
Fork 0

add liveness probes

This commit is contained in:
sido 2018-09-10 15:21:10 +02:00
parent 5eea95cfbc
commit 4de20d9bd6
1 changed files with 8 additions and 8 deletions

View File

@ -49,14 +49,14 @@ spec:
value: {{ .javaOpts }}
ports:
- containerPort: 8080
# livenessProbe:
# httpGet:
# path: /
# port: 8080
# readinessProbe:
# httpGet:
# path: /api/v2/version
# port: 8080
livenessProbe:
httpGet:
path: /
port: 8080
readinessProbe:
httpGet:
path: /api/v2/version
port: 8080
resources:
{{ toYaml .resources | indent 12 }}
{{- end }}