We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b31899b commit dec0962Copy full SHA for dec0962
mysqlcluster/container/mysql.go
@@ -88,7 +88,11 @@ func (c *mysql) getLivenessProbe() *corev1.Probe {
88
return &corev1.Probe{
89
Handler: corev1.Handler{
90
Exec: &corev1.ExecAction{
91
- Command: []string{"pgrep", "mysqld"},
+ Command: []string{
92
+ "sh",
93
+ "-c",
94
+ "touch /var/lib/mysql/auto.cnf && pgrep mysqld",
95
+ },
96
},
97
98
InitialDelaySeconds: 30,
0 commit comments