Skip to content

Commit 52e1237

Browse files
committed
feat: set the preemptible priority to -5
-10 is exactly the default cluster-autoscaler expendable-pods-priority-cutoff. -5 keeps preemptible pods below placeholders and sessions, with a margin above the cutoff so they still trigger a scale-up.
1 parent 0d01c2a commit 52e1237

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • components/renku_data_services/crc

‎components/renku_data_services/crc/db.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1912,7 +1912,7 @@ async def delete(self, api_user: base_models.APIUser, cluster_id: ULID) -> None:
19121912

19131913

19141914
SESSION_PRIORITY_VALUE = 100
1915-
PREEMPTIBLE_PRIORITY_VALUE = -10
1915+
PREEMPTIBLE_PRIORITY_VALUE = -5
19161916

19171917

19181918
@dataclass

0 commit comments

Comments
 (0)