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