From e1284996fc0436fe1ef49adc6d0d4127d72e8819 Mon Sep 17 00:00:00 2001 From: Daniel Panzella Date: Wed, 11 Dec 2024 10:08:18 -0800 Subject: [PATCH] chore: try probes using tcp connect --- charts/wandb/templates/mysql.yaml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/charts/wandb/templates/mysql.yaml b/charts/wandb/templates/mysql.yaml index 3efc5b96..f4067559 100644 --- a/charts/wandb/templates/mysql.yaml +++ b/charts/wandb/templates/mysql.yaml @@ -87,18 +87,11 @@ spec: containerPort: 3306 protocol: TCP livenessProbe: - exec: - command: - - sh - - -c - - "mysqladmin ping -u root -p${MYSQL_ROOT_PASSWORD}" - initialDelaySeconds: 30 + tcpSocket: + port: 3306 readinessProbe: - exec: - command: - - sh - - -c - - "mysqladmin ping -u root -p${MYSQL_ROOT_PASSWORD}" + tcpSocket: + port: 3306 volumeMounts: - name: data mountPath: /var/lib/mysql