update: mysql

main
ycz008 2023-08-18 15:31:20 +08:00
parent b03b2f48bd
commit 7188328616
1 changed files with 8 additions and 6 deletions

View File

@ -34,10 +34,12 @@ spec:
- name: mysql-data-prod - name: mysql-data-prod
hostPath: hostPath:
path: /data/prod/mysql path: /data/prod/mysql
affinity:
nodeAffinity: nodeAffinity:
required: requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms: nodeSelectorTerms:
- key: kubernetes.io/hostname - matchExpressions:
- key: "kubernetes.io/hostname"
operator: In operator: In
values: values:
- bfs-k8snode-10-2-2-6.hetzner.base.beaconfireinc.com - bfs-k8snode-10-2-2-6.hetzner.base.beaconfireinc.com