diff --git a/incubator/mean/templates/deployment.yaml b/incubator/mean/templates/deployment.yaml index 5784a6981..b5e401b3d 100644 --- a/incubator/mean/templates/deployment.yaml +++ b/incubator/mean/templates/deployment.yaml @@ -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 diff --git a/incubator/mean/templates/svc.yaml b/incubator/mean/templates/svc.yaml index bca1b2aae..cf77abe82 100644 --- a/incubator/mean/templates/svc.yaml +++ b/incubator/mean/templates/svc.yaml @@ -12,6 +12,6 @@ spec: ports: - name: http port: 80 - targetPort: 8080 + targetPort: http selector: app: {{ template "fullname" . }}