Skip to content

Commit f36750f

Browse files
author
Alan Christie
committed
fix: Sets new node and priority class
Jupyter instances now (by default) use application nodes and use the im-application-low priority class
1 parent c0c02eb commit f36750f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

operator/handlers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
# If set and JO_APPLY_POD_PRIORITY_CLASS is set
3737
# this value will be used if now alternative is available.
3838
_DEFAULT_POD_PRIORITY_CLASS: str = os.environ.get(
39-
"JO_DEFAULT_POD_PRIORITY_CLASS", "im-worker-medium"
39+
"JO_DEFAULT_POD_PRIORITY_CLASS", "im-application-low"
4040
)
4141

4242

@@ -46,7 +46,7 @@
4646

4747
# Application node selection
4848
_POD_NODE_SELECTOR_KEY: str = os.environ.get(
49-
"JO_POD_NODE_SELECTOR_KEY", "informaticsmatters.com/purpose-worker"
49+
"JO_POD_NODE_SELECTOR_KEY", "informaticsmatters.com/purpose-application"
5050
)
5151
_POD_NODE_SELECTOR_VALUE: str = os.environ.get("JO_POD_NODE_SELECTOR_VALUE", "yes")
5252

0 commit comments

Comments
 (0)