Closed CarlinLiao closed 1 year ago
For this we will also need to update ondemand/service_client.py
:
Some "service" parameter is needed that should trigger the client to look in a service-specific environment variable for the hostname.
Also the calls to OnDemandRequester
should probably be rewritten to be service-specialized (in apiserver/app/main.py
).
I have tested this locally in minimal setup. The --service=...
flag does seem to cause only the specified service to start up. And the OnDemandRequester
client works with service='...'
.
There may still be some need to alter the ondemand image's Dockerfile
to explicitly support specializable CMD
command, but I'm not sure how that works yet.
Pursuant to #202. All tests pass. This should be ready for @wooferclaw to build on.