Skip to content

Commit

Permalink
Add mysql readiness probe
Browse files Browse the repository at this point in the history
  • Loading branch information
sttts committed Sep 8, 2016
1 parent bd8478f commit 2961bcc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions kubernetes/mysql-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ spec:
volumeMounts:
- mountPath: /var/lib/mysql
name: mysql-volume
livenessProbe:
tcpSocket:
port: 3306
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 10
restartPolicy: Always
volumes:
- name: mysql-volume
Expand Down

0 comments on commit 2961bcc

Please sign in to comment.