nginyc / rafiki

Rafiki is a distributed system that supports training and deployment of machine learning models using AutoML, built with ease-of-use in mind.
Apache License 2.0
36 stars 23 forks source link

Add more user management #115

Closed nginyc closed 5 years ago

nginyc commented 5 years ago

Fixes #111

Before testing, since Rafiki's v0.1.0 Docker images have not been published to Docker Hub, will need to run source .env.sh, then bash scripts/build_images.sh for every participating machine.

nginyc commented 5 years ago

Changed from deleting user to banning user to avoid complication of having to consider cascade-deleting all associated train jobs / trials / inference jobs / models under that user.

wild-flame commented 5 years ago

Can add to documentation:

for sudo users need to run

sudo -E bash scripts/build_images.sh after run source env.sh

according to https://stackoverflow.com/questions/8633461/how-to-keep-environment-variables-when-using-sudo to preserve the environment variable

nginyc commented 5 years ago

Thanks @wild-flame for the feedback. I've added that to the documentation.