From 05e76883ebb6392bac0a277780a860034a37632d Mon Sep 17 00:00:00 2001 From: hriships Date: Thu, 30 Aug 2018 00:09:47 +0530 Subject: [PATCH] added liveness probes to mysql deployment --- mysql-wordpress-pd/mysql-deployment.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mysql-wordpress-pd/mysql-deployment.yaml b/mysql-wordpress-pd/mysql-deployment.yaml index 122021cee..e55f3a374 100644 --- a/mysql-wordpress-pd/mysql-deployment.yaml +++ b/mysql-wordpress-pd/mysql-deployment.yaml @@ -53,6 +53,9 @@ spec: secretKeyRef: name: mysql-pass key: password + livenessProbe: + tcpSocket: + port: 3306 ports: - containerPort: 3306 name: mysql