Emily CLI Documentation
Release-v2.0.1Emily combines the powers of Python and Docker to build stable and consistent machine learning and datascience python environments. Emily is useful for large cross-team project development as well as for simply running a single jupyter notebook or python script.
Downloademily@v2.0.1See earlier versions
$ emily deploy kubernetes <project> [options]Deploy Emily project to a Kubernetes cluster. In order to use this command, you must have 1) a Docker hub account with a repository where the project image will be hosted, 2) a running Kubernetes cluster where the Kubernetes service can be deployed, and 3) connected kubectl to your Kubernetes cluster.
$ deploy kubernetes my-projectSelect an environment or add new| my-environment-1| my-environment-2>> Please enter a name for your new environment: >> Please enter your Docker Hub username: >> Please enter the password for the Docker Hub account : >> Please enter the name of the repo to host your image on: >> Are you using a private Docker Hub repository?(Y/n) >> Finished creating the following files: Checking internet connection...[1/7] Logging into Docker...[2/7] Building Docker image...[3/7] Pushing Docker image to repository...[4/7] Creating namespace...[5/7] Creating secret for .emily.env...[6/7] Creating secret for .env...[7/7] Deploying to Kubernetes cluster...Running Emily Deploy Kubernetes
To deploy your emily project to kubernetes run emily deploy kubernetes my-project, where my-project is a project ID, name or path. The repo name must be the full name, e.g. johnsmith/my-image or myregistry.azurecr.io/my-image.
$ deploy kubernetes my-project$ deploy kubernetes my-project --docker-user my-username --docker-password my-password