Commit 050349f
Reconcile PodClique TopologyConstraints (#302)
* Changes for setting Topology aware scheduling constraints in PodGangs.
* Renamed ClusterTopologyConfiguration to TopologyAwareSchedulingConfiguration in operator config.
* Introduced a new condition TopologyLevelsUnavailable on PCS
* PackDomain field in corev1alpha1 TopologyConstraint is now required.
* When creating ClusterTopology, if host topology level is not defined in TopologyAwareSchedulingConfiguration then the operator will set this level in ClusterTopology as this is a required level.
* Adapted PodGang component to set pack constraints at all hierarchy levels.
* Introduced Conditions in PCS status.
* Introduced a new condition TopologyLevelsUnavailable in PCS status.
* Added reconciliation code to update the PCS status condition.
* feat: implement topology-aware scheduling and add annotations for PodGangs
* Added constants for TopologyLevelsUnavailable condition reason
* Added code to update or remove the condition on PCS.
* Create utility function for cluster topology with unit test
* Made PodCliqueSetStatus.Conditions optional
* Upgraded KAI scheduler version dependency for e2e test to v0.12.0
* Changed polling timeout for e2e tests to 4 mins due to repeated timeouts on GHA
* Removed NVIDIA GPU operator to be installed as its not required.
* Fixed constant values for condition reasons and reduced the no of control plane servers for e2e from 3 to 1
* Moved `synchronizeTopology` in main to clustertopology package.
* Added restartPolicy to Always for Grove operator deployment.
* Removed defaulting preferred constraint to Host topology domain. This will be set later after requirements are clear.
* Moved GetClusterTopologyLevels to clustertopology package.
* Added docstrings to computeTopologyLevelsUnavailableCondition and
mutateTopologyLevelUnavailableConditions functions.
* Changed the docstring for TopologyPackConstraint Preferred and
Required fields.
* Reworded docstring for PodGang TopologyConstraint.
Signed-off-by: Madhav Bhargava <madhav.bhargava@sap.com>
---------
Signed-off-by: Madhav Bhargava <madhav.bhargava@sap.com>
Signed-off-by: Ron Kahn <rkahn@nvidia.com>
Co-authored-by: Ron Kahn <rkahn@nvidia.com>1 parent 907000e commit 050349f
File tree
41 files changed
+2002
-848
lines changed- docs/api-reference
- operator
- api
- common/constants
- config
- v1alpha1
- validation
- core/v1alpha1
- crds
- charts
- templates
- cmd
- e2e
- setup
- tests
- internal
- clustertopology
- controller
- common/component/utils
- podcliquescalinggroup
- components/podclique
- podcliqueset
- components
- podcliquesetreplica
- podgang
- samples/clustertopology
- scheduler/api/core/v1alpha1
- crds
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
41 files changed
+2002
-848
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
| 427 | + | |
427 | 428 | | |
428 | 429 | | |
429 | 430 | | |
| |||
638 | 639 | | |
639 | 640 | | |
640 | 641 | | |
641 | | - | |
642 | 642 | | |
| 643 | + | |
643 | 644 | | |
644 | 645 | | |
645 | 646 | | |
| |||
689 | 690 | | |
690 | 691 | | |
691 | 692 | | |
692 | | - | |
693 | | - | |
694 | | - | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | 693 | | |
710 | 694 | | |
711 | 695 | | |
| |||
883 | 867 | | |
884 | 868 | | |
885 | 869 | | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
886 | 887 | | |
887 | 888 | | |
888 | 889 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| 172 | + | |
172 | 173 | | |
173 | 174 | | |
174 | 175 | | |
| |||
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
180 | | - | |
181 | | - | |
| 181 | + | |
| 182 | + | |
182 | 183 | | |
183 | 184 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
90 | 95 | | |
91 | 96 | | |
92 | 97 | | |
| |||
107 | 112 | | |
108 | 113 | | |
109 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
110 | 123 | | |
111 | 124 | | |
112 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
195 | | - | |
| 194 | + | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
0 commit comments