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