From f0cbead23de86072140a2cb3d3b9e15ddd754c19 Mon Sep 17 00:00:00 2001 From: ycz008 Date: Fri, 18 Aug 2023 15:27:15 +0800 Subject: [PATCH] update: argo mysql --- prod-upgrade/mysql/mysql.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/prod-upgrade/mysql/mysql.yaml b/prod-upgrade/mysql/mysql.yaml index 465a9e0..b9810b5 100644 --- a/prod-upgrade/mysql/mysql.yaml +++ b/prod-upgrade/mysql/mysql.yaml @@ -8,6 +8,13 @@ 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: