@@ -26,6 +26,17 @@ Adding Volume Mounts:
26
26
metadata :
27
27
namespace : my - namespace
28
28
spec :
29
+ affinity :
30
+ nodeAffinity :
31
+ requiredDuringSchedulingIgnoredDuringExecution :
32
+ nodeSelectorTerms :
33
+ - matchExpressions :
34
+ - key : autopilot .ibm .com / gpuhealth
35
+ operator : NotIn
36
+ values :
37
+ - ERR
38
+ - TESTING
39
+ - EVICT
29
40
containers :
30
41
- command :
31
42
- sh
@@ -85,6 +96,17 @@ Adding Volume Mounts:
85
96
metadata :
86
97
namespace : my - namespace
87
98
spec :
99
+ affinity :
100
+ nodeAffinity :
101
+ requiredDuringSchedulingIgnoredDuringExecution :
102
+ nodeSelectorTerms :
103
+ - matchExpressions :
104
+ - key : autopilot .ibm .com / gpuhealth
105
+ operator : NotIn
106
+ values :
107
+ - ERR
108
+ - TESTING
109
+ - EVICT
88
110
containers :
89
111
- command :
90
112
- sh
@@ -165,6 +187,17 @@ Adding initContainers:
165
187
metadata :
166
188
namespace : my - namespace
167
189
spec :
190
+ affinity :
191
+ nodeAffinity :
192
+ requiredDuringSchedulingIgnoredDuringExecution :
193
+ nodeSelectorTerms :
194
+ - matchExpressions :
195
+ - key : autopilot .ibm .com / gpuhealth
196
+ operator : NotIn
197
+ values :
198
+ - ERR
199
+ - TESTING
200
+ - EVICT
168
201
containers :
169
202
- command :
170
203
- sh
@@ -227,6 +260,17 @@ Adding initContainers:
227
260
metadata :
228
261
namespace : my - namespace
229
262
spec :
263
+ affinity :
264
+ nodeAffinity :
265
+ requiredDuringSchedulingIgnoredDuringExecution :
266
+ nodeSelectorTerms :
267
+ - matchExpressions :
268
+ - key : autopilot .ibm .com / gpuhealth
269
+ operator : NotIn
270
+ values :
271
+ - ERR
272
+ - TESTING
273
+ - EVICT
230
274
containers :
231
275
- command :
232
276
- sh
@@ -310,6 +354,17 @@ AppWrapper metadata should match snapshot:
310
354
metadata :
311
355
namespace : my - namespace
312
356
spec :
357
+ affinity :
358
+ nodeAffinity :
359
+ requiredDuringSchedulingIgnoredDuringExecution :
360
+ nodeSelectorTerms :
361
+ - matchExpressions :
362
+ - key : autopilot .ibm .com / gpuhealth
363
+ operator : NotIn
364
+ values :
365
+ - ERR
366
+ - TESTING
367
+ - EVICT
313
368
containers :
314
369
- command :
315
370
- sh
@@ -359,6 +414,17 @@ AppWrapper metadata should match snapshot:
359
414
metadata :
360
415
namespace : my - namespace
361
416
spec :
417
+ affinity :
418
+ nodeAffinity :
419
+ requiredDuringSchedulingIgnoredDuringExecution :
420
+ nodeSelectorTerms :
421
+ - matchExpressions :
422
+ - key : autopilot .ibm .com / gpuhealth
423
+ operator : NotIn
424
+ values :
425
+ - ERR
426
+ - TESTING
427
+ - EVICT
362
428
containers :
363
429
- command :
364
430
- sh
@@ -429,6 +495,17 @@ AppWrapper spec should match snapshot:
429
495
metadata :
430
496
namespace : my - namespace
431
497
spec :
498
+ affinity :
499
+ nodeAffinity :
500
+ requiredDuringSchedulingIgnoredDuringExecution :
501
+ nodeSelectorTerms :
502
+ - matchExpressions :
503
+ - key : autopilot .ibm .com / gpuhealth
504
+ operator : NotIn
505
+ values :
506
+ - ERR
507
+ - TESTING
508
+ - EVICT
432
509
containers :
433
510
- command :
434
511
- sh
@@ -478,6 +555,17 @@ AppWrapper spec should match snapshot:
478
555
metadata :
479
556
namespace : my - namespace
480
557
spec :
558
+ affinity :
559
+ nodeAffinity :
560
+ requiredDuringSchedulingIgnoredDuringExecution :
561
+ nodeSelectorTerms :
562
+ - matchExpressions :
563
+ - key : autopilot .ibm .com / gpuhealth
564
+ operator : NotIn
565
+ values :
566
+ - ERR
567
+ - TESTING
568
+ - EVICT
481
569
containers :
482
570
- command :
483
571
- sh
@@ -548,6 +636,17 @@ Enabling NVMe:
548
636
metadata :
549
637
namespace : my - namespace
550
638
spec :
639
+ affinity :
640
+ nodeAffinity :
641
+ requiredDuringSchedulingIgnoredDuringExecution :
642
+ nodeSelectorTerms :
643
+ - matchExpressions :
644
+ - key : autopilot .ibm .com / gpuhealth
645
+ operator : NotIn
646
+ values :
647
+ - ERR
648
+ - TESTING
649
+ - EVICT
551
650
containers :
552
651
- command :
553
652
- sh
@@ -612,6 +711,17 @@ Enabling NVMe:
612
711
metadata :
613
712
namespace : my - namespace
614
713
spec :
714
+ affinity :
715
+ nodeAffinity :
716
+ requiredDuringSchedulingIgnoredDuringExecution :
717
+ nodeSelectorTerms :
718
+ - matchExpressions :
719
+ - key : autopilot .ibm .com / gpuhealth
720
+ operator : NotIn
721
+ values :
722
+ - ERR
723
+ - TESTING
724
+ - EVICT
615
725
containers :
616
726
- command :
617
727
- sh
@@ -699,6 +809,17 @@ Enabling RoCE GDR:
699
809
k8s .v1 .cni .cncf .io / networks : multi - nic - cni - operator - ipvlanl3
700
810
namespace : my - namespace
701
811
spec :
812
+ affinity :
813
+ nodeAffinity :
814
+ requiredDuringSchedulingIgnoredDuringExecution :
815
+ nodeSelectorTerms :
816
+ - matchExpressions :
817
+ - key : autopilot .ibm .com / gpuhealth
818
+ operator : NotIn
819
+ values :
820
+ - ERR
821
+ - TESTING
822
+ - EVICT
702
823
containers :
703
824
- command :
704
825
- sh
@@ -764,6 +885,17 @@ Enabling RoCE GDR:
764
885
k8s .v1 .cni .cncf .io / networks : multi - nic - cni - operator - ipvlanl3
765
886
namespace : my - namespace
766
887
spec :
888
+ affinity :
889
+ nodeAffinity :
890
+ requiredDuringSchedulingIgnoredDuringExecution :
891
+ nodeSelectorTerms :
892
+ - matchExpressions :
893
+ - key : autopilot .ibm .com / gpuhealth
894
+ operator : NotIn
895
+ values :
896
+ - ERR
897
+ - TESTING
898
+ - EVICT
767
899
containers :
768
900
- command :
769
901
- sh
@@ -850,6 +982,17 @@ Enabling all advanced features at once:
850
982
k8s .v1 .cni .cncf .io / networks : multi - nic - cni - operator - ipvlanl3
851
983
namespace : my - namespace
852
984
spec :
985
+ affinity :
986
+ nodeAffinity :
987
+ requiredDuringSchedulingIgnoredDuringExecution :
988
+ nodeSelectorTerms :
989
+ - matchExpressions :
990
+ - key : autopilot .ibm .com / gpuhealth
991
+ operator : NotIn
992
+ values :
993
+ - ERR
994
+ - TESTING
995
+ - EVICT
853
996
containers :
854
997
- command :
855
998
- sh
@@ -967,6 +1110,17 @@ Enabling all advanced features at once:
967
1110
k8s .v1 .cni .cncf .io / networks : multi - nic - cni - operator - ipvlanl3
968
1111
namespace : my - namespace
969
1112
spec :
1113
+ affinity :
1114
+ nodeAffinity :
1115
+ requiredDuringSchedulingIgnoredDuringExecution :
1116
+ nodeSelectorTerms :
1117
+ - matchExpressions :
1118
+ - key : autopilot .ibm .com / gpuhealth
1119
+ operator : NotIn
1120
+ values :
1121
+ - ERR
1122
+ - TESTING
1123
+ - EVICT
970
1124
containers :
971
1125
- command :
972
1126
- sh
@@ -1103,6 +1257,17 @@ Enabling sshGitConfig injects the envvars, volumes, and volumeMounts:
1103
1257
metadata :
1104
1258
namespace : my - namespace
1105
1259
spec :
1260
+ affinity :
1261
+ nodeAffinity :
1262
+ requiredDuringSchedulingIgnoredDuringExecution :
1263
+ nodeSelectorTerms :
1264
+ - matchExpressions :
1265
+ - key : autopilot .ibm .com / gpuhealth
1266
+ operator : NotIn
1267
+ values :
1268
+ - ERR
1269
+ - TESTING
1270
+ - EVICT
1106
1271
containers :
1107
1272
- command :
1108
1273
- sh
@@ -1166,6 +1331,17 @@ Enabling sshGitConfig injects the envvars, volumes, and volumeMounts:
1166
1331
metadata :
1167
1332
namespace : my - namespace
1168
1333
spec :
1334
+ affinity :
1335
+ nodeAffinity :
1336
+ requiredDuringSchedulingIgnoredDuringExecution :
1337
+ nodeSelectorTerms :
1338
+ - matchExpressions :
1339
+ - key : autopilot .ibm .com / gpuhealth
1340
+ operator : NotIn
1341
+ values :
1342
+ - ERR
1343
+ - TESTING
1344
+ - EVICT
1169
1345
containers :
1170
1346
- command :
1171
1347
- sh
0 commit comments