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
No related merge requests found
...@@ -50,7 +50,6 @@ class MySpawner(KubeSpawner): ...@@ -50,7 +50,6 @@ class MySpawner(KubeSpawner):
'effect': 'NoSchedule', 'effect': 'NoSchedule',
}] }]
setattr(self, 'extra_pod_config', { setattr(self, 'extra_pod_config', {
'affinity': { 'affinity': {
'nodeAffinity': { 'nodeAffinity': {
...@@ -62,7 +61,8 @@ class MySpawner(KubeSpawner): ...@@ -62,7 +61,8 @@ class MySpawner(KubeSpawner):
}, },
}, },
'tolerations': tolerationsExpression, 'tolerations': tolerationsExpression,
}) })
setattr(self, 'startTimeout', 1200) 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