update mysql

main
ycz008 2023-11-06 11:40:03 +08:00
parent e0ea65c6b2
commit 795be41ce6
1 changed files with 9 additions and 0 deletions

View File

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