Skip to content

Commit

Permalink
Add default healthchecks to service-policy
Browse files Browse the repository at this point in the history
  • Loading branch information
chintan8saaras committed Dec 28, 2021
1 parent 4bda244 commit 9b5ba7c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,11 @@ spec:
services:
- name: {{ .Values.service.name }}
port: {{ .Values.service.port }}
healthCheck:
healthyThresholdCount: 3
intervalSeconds: 5
path: /
host: hc
timeoutSeconds: 3
unhealthyThresholdCount: 3
{{- end }}
7 changes: 7 additions & 0 deletions helm-chart/service-policy/templates/service-gatewayhost.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,12 @@ spec:
services:
- name: {{ .Values.service.name }}
port: {{ .Values.service.port }}
healthCheck:
healthyThresholdCount: 3
intervalSeconds: 5
path: /
host: hc
timeoutSeconds: 3
unhealthyThresholdCount: 3
---
{{- end }}

0 comments on commit 9b5ba7c

Please sign in to comment.