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

Update my_spawner.py

parent af88af54
No related branches found
No related tags found
No related merge requests found
Pipeline #47223 passed
......@@ -54,11 +54,12 @@ class MySpawner(KubeSpawner):
setattr(self, "mem_limit", formdata.get('ram', [0])[0]+"G")
setattr(self, "cpu_limit", float(formdata.get('cores', [0])[0]))
nodeSelectorTermsExpressions = [
{
'key': 'topology.kubernetes.io/region',
'key': 'topology.kubernetes.io/zone',
'operator': 'In',
'values': ["us-west"]
'values': ["sdsu-rci","ucsd-sdsc","ucsd"]
}
]
......
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