From dd10fdfc0794b84fa92c8108b432fc0065f9ff7a Mon Sep 17 00:00:00 2001 From: ycz008 Date: Mon, 6 Nov 2023 11:41:56 +0800 Subject: [PATCH] update dev mysql --- dev-upgrade/mysql/mysql-dev.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dev-upgrade/mysql/mysql-dev.yaml b/dev-upgrade/mysql/mysql-dev.yaml index df07a70..a198c6b 100644 --- a/dev-upgrade/mysql/mysql-dev.yaml +++ b/dev-upgrade/mysql/mysql-dev.yaml @@ -49,6 +49,15 @@ spec: - name: mysql-data-dev hostPath: 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 kind: Service