正在显示
1 个修改的文件
包含
15 行增加
和
0 行删除
@@ -27,6 +27,21 @@ spec: | @@ -27,6 +27,21 @@ spec: | ||
27 | labels: | 27 | labels: |
28 | k8s-app: suplus-yhs | 28 | k8s-app: suplus-yhs |
29 | spec: | 29 | spec: |
30 | + affinity: | ||
31 | + nodeAffinity: | ||
32 | + preferredDuringSchedulingIgnoredDuringExecution: | ||
33 | + - preference: {} | ||
34 | + weight: 100 | ||
35 | + requiredDuringSchedulingIgnoredDuringExecution: | ||
36 | + nodeSelectorTerms: | ||
37 | + - matchExpressions: | ||
38 | + - key: kubernetes.io/hostname | ||
39 | + operator: In | ||
40 | + values: | ||
41 | + - cn-hangzhou.i-bp1djh1xn7taumbue1ze | ||
42 | + - cn-hangzhou.i-bp1djh1xn7taumbue1zd | ||
43 | + - cn-hangzhou.i-bp1euf5u1ph9kbhtndhb | ||
44 | + - cn-hangzhou.i-bp1hyp5oips9cdwxxgxy | ||
30 | containers: | 45 | containers: |
31 | - name: suplus-yhs | 46 | - name: suplus-yhs |
32 | image: 192.168.0.243:5000/mmm/suplus-yhs:prd | 47 | image: 192.168.0.243:5000/mmm/suplus-yhs:prd |
-
请 注册 或 登录 后发表评论