Skip to content

Commit

Permalink
(update) add initContainer for app deployemnt to ensure mysql service…
Browse files Browse the repository at this point in the history
… is healthy
  • Loading branch information
stark275 committed Jun 4, 2024
1 parent 4612c2b commit 1d8a7d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/docker/4-kapend/myfirst/k8s/03-kapend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
- sh
- -c
- >
until nslookup mysql-service; do
until nslookup mysqlserver; do
echo 'Waiting for MySQL to be ready';
sleep 2;
done
Expand Down

0 comments on commit 1d8a7d3

Please sign in to comment.