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

Update my_spawner.py -> add nodeslector

parent 0187ad1f
No related branches found
No related tags found
No related merge requests found
Pipeline #35056 passed
......@@ -42,6 +42,11 @@ class MySpawner(KubeSpawner):
'key': 'kubernetes.io/arch',
'operator': 'In',
'values': ["amd64"]
},
{
'key': 'kubernetes.io/hostname',
'operator': 'In',
'values': ["node-2-6.sdsc.optiputer.net", "node-2-7.sdsc.optiputer.net"]
}
]
......
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