From dafa93d3667af99e7b9215516b1db1c9bebd730f Mon Sep 17 00:00:00 2001 From: Olivier Tardieu Date: Thu, 19 Dec 2024 15:27:48 -0500 Subject: [PATCH] Increase coscheduler default permitWaitingTimeSeconds --- setup.RHOAI-v2.10/CLUSTER-SETUP.md | 2 +- setup.RHOAI-v2.13/CLUSTER-SETUP.md | 2 +- setup.RHOAI-v2.15/CLUSTER-SETUP.md | 2 +- setup.RHOAI-v2.16/CLUSTER-SETUP.md | 2 +- setup.k8s-v1.27/CLUSTER-SETUP.md | 2 +- setup.k8s-v1.30/CLUSTER-SETUP.md | 2 +- setup.tmpl/CLUSTER-SETUP.md.tmpl | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/setup.RHOAI-v2.10/CLUSTER-SETUP.md b/setup.RHOAI-v2.10/CLUSTER-SETUP.md index 97c9168..63fce15 100644 --- a/setup.RHOAI-v2.10/CLUSTER-SETUP.md +++ b/setup.RHOAI-v2.10/CLUSTER-SETUP.md @@ -31,7 +31,7 @@ Install Coscheduler v0.28.9 as a secondary scheduler and configure packing: ```sh helm install scheduler-plugins --namespace scheduler-plugins --create-namespace \ scheduler-plugins/manifests/install/charts/as-a-second-scheduler/ \ - --set-json pluginConfig='[{"args":{"scoringStrategy":{"resources":[{"name":"nvidia.com/gpu","weight":1}],"requestedToCapacityRatio":{"shape":[{"utilization":0,"score":0},{"utilization":100,"score":10}]},"type":"RequestedToCapacityRatio"}},"name":"NodeResourcesFit"}]' + --set-json pluginConfig='[{"args":{"scoringStrategy":{"resources":[{"name":"nvidia.com/gpu","weight":1}],"requestedToCapacityRatio":{"shape":[{"utilization":0,"score":0},{"utilization":100,"score":10}]},"type":"RequestedToCapacityRatio"}},"name":"NodeResourcesFit"},{"args":{"permitWaitingTimeSeconds":300},"name":"Coscheduling"}]' ``` Patch Coscheduler pod priorities: ```sh diff --git a/setup.RHOAI-v2.13/CLUSTER-SETUP.md b/setup.RHOAI-v2.13/CLUSTER-SETUP.md index 4f6275e..0f2fd35 100644 --- a/setup.RHOAI-v2.13/CLUSTER-SETUP.md +++ b/setup.RHOAI-v2.13/CLUSTER-SETUP.md @@ -31,7 +31,7 @@ Install Coscheduler v0.28.9 as a secondary scheduler and configure packing: ```sh helm install scheduler-plugins --namespace scheduler-plugins --create-namespace \ scheduler-plugins/manifests/install/charts/as-a-second-scheduler/ \ - --set-json pluginConfig='[{"args":{"scoringStrategy":{"resources":[{"name":"nvidia.com/gpu","weight":1}],"requestedToCapacityRatio":{"shape":[{"utilization":0,"score":0},{"utilization":100,"score":10}]},"type":"RequestedToCapacityRatio"}},"name":"NodeResourcesFit"}]' + --set-json pluginConfig='[{"args":{"scoringStrategy":{"resources":[{"name":"nvidia.com/gpu","weight":1}],"requestedToCapacityRatio":{"shape":[{"utilization":0,"score":0},{"utilization":100,"score":10}]},"type":"RequestedToCapacityRatio"}},"name":"NodeResourcesFit"},{"args":{"permitWaitingTimeSeconds":300},"name":"Coscheduling"}]' ``` Patch Coscheduler pod priorities: ```sh diff --git a/setup.RHOAI-v2.15/CLUSTER-SETUP.md b/setup.RHOAI-v2.15/CLUSTER-SETUP.md index aa89f81..071305e 100644 --- a/setup.RHOAI-v2.15/CLUSTER-SETUP.md +++ b/setup.RHOAI-v2.15/CLUSTER-SETUP.md @@ -31,7 +31,7 @@ Install Coscheduler v0.28.9 as a secondary scheduler and configure packing: ```sh helm install scheduler-plugins --namespace scheduler-plugins --create-namespace \ scheduler-plugins/manifests/install/charts/as-a-second-scheduler/ \ - --set-json pluginConfig='[{"args":{"scoringStrategy":{"resources":[{"name":"nvidia.com/gpu","weight":1}],"requestedToCapacityRatio":{"shape":[{"utilization":0,"score":0},{"utilization":100,"score":10}]},"type":"RequestedToCapacityRatio"}},"name":"NodeResourcesFit"}]' + --set-json pluginConfig='[{"args":{"scoringStrategy":{"resources":[{"name":"nvidia.com/gpu","weight":1}],"requestedToCapacityRatio":{"shape":[{"utilization":0,"score":0},{"utilization":100,"score":10}]},"type":"RequestedToCapacityRatio"}},"name":"NodeResourcesFit"},{"args":{"permitWaitingTimeSeconds":300},"name":"Coscheduling"}]' ``` Patch Coscheduler pod priorities: ```sh diff --git a/setup.RHOAI-v2.16/CLUSTER-SETUP.md b/setup.RHOAI-v2.16/CLUSTER-SETUP.md index 166c66c..5dfb109 100644 --- a/setup.RHOAI-v2.16/CLUSTER-SETUP.md +++ b/setup.RHOAI-v2.16/CLUSTER-SETUP.md @@ -31,7 +31,7 @@ Install Coscheduler v0.28.9 as a secondary scheduler and configure packing: ```sh helm install scheduler-plugins --namespace scheduler-plugins --create-namespace \ scheduler-plugins/manifests/install/charts/as-a-second-scheduler/ \ - --set-json pluginConfig='[{"args":{"scoringStrategy":{"resources":[{"name":"nvidia.com/gpu","weight":1}],"requestedToCapacityRatio":{"shape":[{"utilization":0,"score":0},{"utilization":100,"score":10}]},"type":"RequestedToCapacityRatio"}},"name":"NodeResourcesFit"}]' + --set-json pluginConfig='[{"args":{"scoringStrategy":{"resources":[{"name":"nvidia.com/gpu","weight":1}],"requestedToCapacityRatio":{"shape":[{"utilization":0,"score":0},{"utilization":100,"score":10}]},"type":"RequestedToCapacityRatio"}},"name":"NodeResourcesFit"},{"args":{"permitWaitingTimeSeconds":300},"name":"Coscheduling"}]' ``` Patch Coscheduler pod priorities: ```sh diff --git a/setup.k8s-v1.27/CLUSTER-SETUP.md b/setup.k8s-v1.27/CLUSTER-SETUP.md index 05585ca..d8e2e49 100644 --- a/setup.k8s-v1.27/CLUSTER-SETUP.md +++ b/setup.k8s-v1.27/CLUSTER-SETUP.md @@ -36,7 +36,7 @@ Install Coscheduler v0.28.9 as a secondary scheduler and configure packing: ```sh helm install scheduler-plugins --namespace scheduler-plugins --create-namespace \ scheduler-plugins/manifests/install/charts/as-a-second-scheduler/ \ - --set-json pluginConfig='[{"args":{"scoringStrategy":{"resources":[{"name":"nvidia.com/gpu","weight":1}],"requestedToCapacityRatio":{"shape":[{"utilization":0,"score":0},{"utilization":100,"score":10}]},"type":"RequestedToCapacityRatio"}},"name":"NodeResourcesFit"}]' + --set-json pluginConfig='[{"args":{"scoringStrategy":{"resources":[{"name":"nvidia.com/gpu","weight":1}],"requestedToCapacityRatio":{"shape":[{"utilization":0,"score":0},{"utilization":100,"score":10}]},"type":"RequestedToCapacityRatio"}},"name":"NodeResourcesFit"},{"args":{"permitWaitingTimeSeconds":300},"name":"Coscheduling"}]' ``` Patch Coscheduler pod priorities: ```sh diff --git a/setup.k8s-v1.30/CLUSTER-SETUP.md b/setup.k8s-v1.30/CLUSTER-SETUP.md index ee20570..742da1d 100644 --- a/setup.k8s-v1.30/CLUSTER-SETUP.md +++ b/setup.k8s-v1.30/CLUSTER-SETUP.md @@ -36,7 +36,7 @@ Install Coscheduler v0.28.9 as a secondary scheduler and configure packing: ```sh helm install scheduler-plugins --namespace scheduler-plugins --create-namespace \ scheduler-plugins/manifests/install/charts/as-a-second-scheduler/ \ - --set-json pluginConfig='[{"args":{"scoringStrategy":{"resources":[{"name":"nvidia.com/gpu","weight":1}],"requestedToCapacityRatio":{"shape":[{"utilization":0,"score":0},{"utilization":100,"score":10}]},"type":"RequestedToCapacityRatio"}},"name":"NodeResourcesFit"}]' + --set-json pluginConfig='[{"args":{"scoringStrategy":{"resources":[{"name":"nvidia.com/gpu","weight":1}],"requestedToCapacityRatio":{"shape":[{"utilization":0,"score":0},{"utilization":100,"score":10}]},"type":"RequestedToCapacityRatio"}},"name":"NodeResourcesFit"},{"args":{"permitWaitingTimeSeconds":300},"name":"Coscheduling"}]' ``` Patch Coscheduler pod priorities: ```sh diff --git a/setup.tmpl/CLUSTER-SETUP.md.tmpl b/setup.tmpl/CLUSTER-SETUP.md.tmpl index e8e8679..7329c32 100644 --- a/setup.tmpl/CLUSTER-SETUP.md.tmpl +++ b/setup.tmpl/CLUSTER-SETUP.md.tmpl @@ -56,7 +56,7 @@ Install Coscheduler v0.28.9 as a secondary scheduler and configure packing: ```sh helm install scheduler-plugins --namespace scheduler-plugins --create-namespace \ scheduler-plugins/manifests/install/charts/as-a-second-scheduler/ \ - --set-json pluginConfig='[{"args":{"scoringStrategy":{"resources":[{"name":"nvidia.com/gpu","weight":1}],"requestedToCapacityRatio":{"shape":[{"utilization":0,"score":0},{"utilization":100,"score":10}]},"type":"RequestedToCapacityRatio"}},"name":"NodeResourcesFit"}]' + --set-json pluginConfig='[{"args":{"scoringStrategy":{"resources":[{"name":"nvidia.com/gpu","weight":1}],"requestedToCapacityRatio":{"shape":[{"utilization":0,"score":0},{"utilization":100,"score":10}]},"type":"RequestedToCapacityRatio"}},"name":"NodeResourcesFit"},{"args":{"permitWaitingTimeSeconds":300},"name":"Coscheduling"}]' ``` Patch Coscheduler pod priorities: ```sh