update tob mysql
parent
10fc0f69b3
commit
a006c632bb
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue