Browse Source

Added probes to zeoserver container

master
Fábio Kaiser Rauber 4 years ago
parent
commit
7b0759a646
  1. 16
      charts/portalmodelo/v0.5.0/templates/zeoserver-deployment.yaml

16
charts/portalmodelo/v0.5.0/templates/zeoserver-deployment.yaml

@ -65,6 +65,22 @@ spec:
volumeMounts: volumeMounts:
- mountPath: /data - mountPath: /data
name: data name: data
livenessProbe:
tcpSocket:
port: 8100
initialDelaySeconds: 30
periodSeconds: 10
failureThreshold: 5
successThreshold: 1
timeoutSeconds: 5
readinessProbe:
tcpSocket:
port: 8100
initialDelaySeconds: 15
periodSeconds: 5
failureThreshold: 5
successThreshold: 1
timeoutSeconds: 3
resources: resources:
{{- toYaml .Values.resources.zeo | nindent 12 }} {{- toYaml .Values.resources.zeo | nindent 12 }}
restartPolicy: Always restartPolicy: Always

Loading…
Cancel
Save