Skip to content

Commit

Permalink
chore: try probes using tcp connect
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpanzella committed Dec 11, 2024
1 parent 96b7467 commit e128499
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions charts/wandb/templates/mysql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e128499

Please sign in to comment.