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

Update my_spawner.py

parent 5409f827
No related branches found
No related tags found
1 merge request!26Add tolerations
Pipeline #29864 passed
......@@ -50,7 +50,6 @@ class MySpawner(KubeSpawner):
'effect': 'NoSchedule',
}]
setattr(self, 'extra_pod_config', {
'affinity': {
'nodeAffinity': {
......@@ -62,7 +61,8 @@ class MySpawner(KubeSpawner):
},
},
'tolerations': tolerationsExpression,
})
})
setattr(self, 'startTimeout', 1200)
......
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