Merge branch 'mean-probes'

This commit is contained in:
Sameer Naik
2017-03-01 09:42:48 +05:30
2 changed files with 5 additions and 8 deletions
+4 -7
View File
@@ -100,18 +100,15 @@ spec:
livenessProbe:
httpGet:
path: /
port: 8080
port: http
initialDelaySeconds: 180
periodSeconds: 5
timeoutSeconds: 5
failureThreshold: 10
readinessProbe:
exec:
command:
- nc
- -zv
- {{ template "mongodb.fullname" . }}
- "27017"
httpGet:
path: /
port: http
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 1
+1 -1
View File
@@ -12,6 +12,6 @@ spec:
ports:
- name: http
port: 80
targetPort: 8080
targetPort: http
selector:
app: {{ template "fullname" . }}