update tob mysql

main
ycz 2025-03-13 13:08:18 +08:00
parent 10fc0f69b3
commit a006c632bb
1 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ spec:
ports:
- containerPort: 3306
volumeMounts:
- name: tcs-mysql
- name: training-mysql
mountPath: /var/lib/mysql
env:
- name: MYSQL_ROOT_PASSWORD
@ -45,9 +45,9 @@ spec:
- name: MYSQL_PASSWORD
value: "beaconfire@123"
volumes:
- name: tcs-mysql
- name: training-mysql
hostPath:
path: /data/tcs/mysql
path: /data/training/mysql
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution: