added liveness probes to mysql deployment

This commit is contained in:
hriships 2018-08-30 00:09:47 +05:30
parent 2f69166cb6
commit 05e76883eb
1 changed files with 3 additions and 0 deletions

View File

@ -53,6 +53,9 @@ spec:
secretKeyRef:
name: mysql-pass
key: password
livenessProbe:
tcpSocket:
port: 3306
ports:
- containerPort: 3306
name: mysql