diff --git a/tcs-upgrade/mysql/mysql.yaml b/tcs-upgrade/mysql/mysql.yaml index 9a287ec..46f8eda 100644 --- a/tcs-upgrade/mysql/mysql.yaml +++ b/tcs-upgrade/mysql/mysql.yaml @@ -48,6 +48,15 @@ spec: - name: tcs-mysql hostPath: 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 kind: Service