From b03b2f48bd5a29f48ef08d4aee03621dc0fa7acc Mon Sep 17 00:00:00 2001 From: ycz008 Date: Fri, 18 Aug 2023 15:30:10 +0800 Subject: [PATCH] update: argo mysql --- prod-upgrade/mysql/mysql.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/prod-upgrade/mysql/mysql.yaml b/prod-upgrade/mysql/mysql.yaml index b9810b5..9d57e03 100644 --- a/prod-upgrade/mysql/mysql.yaml +++ b/prod-upgrade/mysql/mysql.yaml @@ -8,13 +8,6 @@ spec: replicas: 1 selector: name: mysql - nodeAffinity: - required: - nodeSelectorTerms: - - key: kubernetes.io/hostname - operator: In - values: - - bfs-k8snode-10-2-2-6.hetzner.base.beaconfireinc.com template: metadata: labels: @@ -41,6 +34,13 @@ spec: - name: mysql-data-prod hostPath: path: /data/prod/mysql + nodeAffinity: + required: + nodeSelectorTerms: + - key: kubernetes.io/hostname + operator: In + values: + - bfs-k8snode-10-2-2-6.hetzner.base.beaconfireinc.com --- apiVersion: v1 kind: Service