Improve k8s probe settings.
Showing
1 changed file
with
9 additions
and
3 deletions
... | @@ -82,16 +82,22 @@ spec: | ... | @@ -82,16 +82,22 @@ spec: |
82 | 82 | ||
83 | ports: | 83 | ports: |
84 | - name: http-moqui | 84 | - name: http-moqui |
85 | containerPort: 80 | 85 | containerPort: 8080 |
86 | protocol: TCP | 86 | protocol: TCP |
87 | livenessProbe: | 87 | livenessProbe: |
88 | httpGet: | 88 | httpGet: |
89 | path: / | 89 | path: /status |
90 | port: http-moqui | 90 | port: http-moqui |
91 | readinessProbe: | 91 | readinessProbe: |
92 | httpGet: | 92 | httpGet: |
93 | path: / | 93 | path: /status |
94 | port: http-moqui | 94 | port: http-moqui |
95 | startupProbe: | ||
96 | httpGet: | ||
97 | path: /status | ||
98 | port: http-moqui | ||
99 | periodSeconds: 10 | ||
100 | failureThreshold: 3 | ||
95 | resources: | 101 | resources: |
96 | {{- toYaml .Values.resources | nindent 12 }} | 102 | {{- toYaml .Values.resources | nindent 12 }} |
97 | {{- with .Values.nodeSelector }} | 103 | {{- with .Values.nodeSelector }} | ... | ... |
-
Please register or sign in to post a comment