Skip to content

Commit 6acbe71

Browse files
remove use of schedulingSpec
1 parent ca9ca8c commit 6acbe71

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/codeflare_sdk/utils/generate_yaml.py

-7
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,6 @@ def update_priority(yaml, item, workers, dispatch_priority):
9595
worker = item.get("generictemplate").get("spec").get("workerGroupSpecs")[0]
9696
head["template"]["spec"]["priorityClassName"] = dispatch_priority
9797
worker["template"]["spec"]["priorityClassName"] = dispatch_priority
98-
update_scheduling_spec(yaml, workers)
99-
100-
101-
def update_scheduling_spec(yaml, workers):
102-
spec = yaml.get("spec")
103-
spec["schedulingSpec"] = {"minAvailable": ""}
104-
spec["schedulingSpec"]["minAvailable"] = workers + 1
10598

10699

107100
def update_custompodresources(

0 commit comments

Comments
 (0)