Commit 655d95a
committed
chore: unified way to manage spot related flags
Previously mapt supported several params to control spot allocation details, this commit ensures all params are managed in an unified way and taken into consideration
Signed-off-by: Adrian Riobo <[email protected]>1 parent 36ae7c7 commit 655d95a
File tree
35 files changed
+599
-724
lines changed- cmd/mapt/cmd
- aws
- hosts
- params
- services
- azure
- hosts
- params
- services
- params
- pkg
- manager/context
- provider
- api/spot
- aws
- action
- eks
- fedora
- kind
- openshift-snc
- rhel-ai
- rhel
- windows
- data
- modules
- allocation
- spot
- azure
- action
- aks
- linux
- rhel
- windows
- data
- modules/allocation
35 files changed
+599
-724
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | | - | |
7 | | - | |
8 | 5 | | |
9 | 6 | | |
10 | 7 | | |
| |||
52 | 49 | | |
53 | 50 | | |
54 | 51 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
83 | 60 | | |
84 | 61 | | |
85 | 62 | | |
| |||
89 | 66 | | |
90 | 67 | | |
91 | 68 | | |
92 | | - | |
93 | | - | |
| 69 | + | |
| 70 | + | |
94 | 71 | | |
95 | 72 | | |
96 | 73 | | |
| |||
104 | 81 | | |
105 | 82 | | |
106 | 83 | | |
107 | | - | |
108 | | - | |
109 | 84 | | |
110 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
111 | 88 | | |
112 | | - | |
113 | 89 | | |
114 | 90 | | |
115 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | 53 | | |
65 | 54 | | |
66 | 55 | | |
| |||
83 | 72 | | |
84 | 73 | | |
85 | 74 | | |
86 | | - | |
| 75 | + | |
87 | 76 | | |
88 | 77 | | |
89 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | | - | |
7 | | - | |
8 | 5 | | |
9 | 6 | | |
10 | 7 | | |
| |||
48 | 45 | | |
49 | 46 | | |
50 | 47 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
79 | 56 | | |
80 | 57 | | |
81 | 58 | | |
| |||
85 | 62 | | |
86 | 63 | | |
87 | 64 | | |
88 | | - | |
| 65 | + | |
89 | 66 | | |
90 | 67 | | |
91 | 68 | | |
92 | | - | |
| 69 | + | |
93 | 70 | | |
94 | 71 | | |
95 | 72 | | |
| |||
106 | 83 | | |
107 | 84 | | |
108 | 85 | | |
109 | | - | |
110 | | - | |
111 | 86 | | |
112 | 87 | | |
113 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
114 | 91 | | |
115 | | - | |
116 | 92 | | |
117 | 93 | | |
118 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
56 | 54 | | |
57 | 55 | | |
58 | 56 | | |
| |||
63 | 61 | | |
64 | 62 | | |
65 | 63 | | |
66 | | - | |
67 | | - | |
| 64 | + | |
| 65 | + | |
68 | 66 | | |
69 | 67 | | |
70 | 68 | | |
| |||
78 | 76 | | |
79 | 77 | | |
80 | 78 | | |
81 | | - | |
82 | | - | |
83 | 79 | | |
84 | | - | |
| 80 | + | |
| 81 | + | |
85 | 82 | | |
86 | 83 | | |
87 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | | - | |
7 | | - | |
8 | 5 | | |
9 | 6 | | |
10 | 7 | | |
| |||
61 | 58 | | |
62 | 59 | | |
63 | 60 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
91 | 69 | | |
92 | 70 | | |
93 | 71 | | |
| |||
100 | 78 | | |
101 | 79 | | |
102 | 80 | | |
103 | | - | |
| 81 | + | |
104 | 82 | | |
105 | 83 | | |
106 | 84 | | |
| |||
117 | 95 | | |
118 | 96 | | |
119 | 97 | | |
120 | | - | |
121 | | - | |
122 | 98 | | |
123 | 99 | | |
124 | | - | |
| 100 | + | |
| 101 | + | |
125 | 102 | | |
126 | 103 | | |
127 | 104 | | |
| |||
Lines changed: 1 addition & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
| |||
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | 23 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
0 commit comments