update dev mysql

main
ycz008 2023-11-06 11:41:56 +08:00
parent 795be41ce6
commit dd10fdfc07
1 changed files with 9 additions and 0 deletions

View File

@ -49,6 +49,15 @@ spec:
- name: mysql-data-dev - name: mysql-data-dev
hostPath: hostPath:
path: /data/dev/mysql path: /data/dev/mysql
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "kubernetes.io/hostname"
operator: In
values:
- bfs-k8snode-10-2-0-11.hetzner.base.beaconfireinc.com
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service