Skip to content
Snippets Groups Projects
Commit f9d5d7e8 authored by Dung Vu's avatar Dung Vu
Browse files

Update my_spawner.py

parent e1bb2664
No related branches found
No related tags found
No related merge requests found
Pipeline #45301 passed
......@@ -46,21 +46,21 @@ class MySpawner(KubeSpawner):
'values': formdata.get('gputype', [0])
})
tolerationsExpression = [{
'key': 'nautilus.io/nrp-testing',
'operator': 'Exists',
'effect': 'NoSchedule',
},
{
'key': 'nautilus.io/rynode',
'operator': 'Exists',
'effect': 'NoSchedule',
},
{
'key': 'nautilus.io/csusb',
'operator': 'Exists',
'effect': 'NoSchedule',
}]
# tolerationsExpression = [{
# 'key': 'nautilus.io/nrp-testing',
# 'operator': 'Exists',
# 'effect': 'NoSchedule',
# },
# {
# 'key': 'nautilus.io/rynode',
# 'operator': 'Exists',
# 'effect': 'NoSchedule',
# },
# {
# 'key': 'nautilus.io/csusb',
# 'operator': 'Exists',
# 'effect': 'NoSchedule',
# }]
setattr(self, 'extra_pod_config', {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment