optimize axons

main
ycz008 2023-07-10 16:23:28 +08:00
parent 6acba9b0f8
commit cf33b9504b
1 changed files with 9 additions and 9 deletions

View File

@ -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