Skip to content

Commit

Permalink
Merge pull request hashicorp#65 from hashicorp/bugfix/connect-readine…
Browse files Browse the repository at this point in the history
…ss-probe

Switch liveness probe to an http call
  • Loading branch information
Rebecca Zanzig authored Nov 20, 2018
2 parents 5daf413 + aab7a81 commit d0449fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/connect-inject-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ spec:
-tls-auto-hosts=${CONSUL_FULLNAME}-connect-injector-svc,${CONSUL_FULLNAME}-connect-injector-svc.${NAMESPACE},${CONSUL_FULLNAME}-connect-injector-svc.${NAMESPACE}.svc
{{- end }}
livenessProbe:
tcpSocket:
httpGet:
path: /health/ready
port: 8080
scheme: HTTPS
failureThreshold: 2
initialDelaySeconds: 1
periodSeconds: 2
Expand Down

0 comments on commit d0449fd

Please sign in to comment.