From cf33b9504b41d543f1973628c92244a965666ce7 Mon Sep 17 00:00:00 2001 From: ycz008 Date: Mon, 10 Jul 2023 16:23:28 +0800 Subject: [PATCH] optimize axons --- dev-upgrade/axons/axons.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/dev-upgrade/axons/axons.yaml b/dev-upgrade/axons/axons.yaml index ea5a548..143d168 100644 --- a/dev-upgrade/axons/axons.yaml +++ b/dev-upgrade/axons/axons.yaml @@ -27,15 +27,6 @@ metadata: labels: app: axons spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: app.kubernetes.io/name - operator: In - values: - - trainer serviceName: axons replicas: 1 selector: @@ -46,6 +37,15 @@ spec: labels: app: axons spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: app.kubernetes.io/name + operator: In + values: + - trainer containers: - name: axons image: axoniq/axonserver