Skip to content

Commit

Permalink
read from primary sql
Browse files Browse the repository at this point in the history
  • Loading branch information
deer-wmde committed Sep 2, 2024
1 parent 1f5e975 commit aed6c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k8s/jobs/singleWikiBackup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
- 'bash'
- '-c'
- |
mysqldump --host sql-mariadb-secondary.default.svc.cluster.local ${DATABASE_NAME} > /backup/${DATABASE_NAME}.sql
mysqldump --host sql-mariadb-primary.default.svc.cluster.local ${DATABASE_NAME} > /backup/${DATABASE_NAME}.sql
volumeMounts:
- name: temporary-backup-pvc
mountPath: "/backup/"
Expand Down

0 comments on commit aed6c71

Please sign in to comment.