DLWorkspace/docs/philly
Jin Li 3ccebd1c8b Update philly deployment instructruction. 2017-03-14 19:02:30 -07:00
..
README.md Update philly deployment instructruction. 2017-03-14 19:02:30 -07:00

README.md

Deployment of DL workspace on Philly

Please follow the following setup to deploy DL workspace on philly.

  1. [Run Once] The installation program needs certain utilities (such as docker and python). The simplest setup is to use the development docker and run the subsequent command in the development docker. Alternatively, you may choose to run install_prerequisites.sh once to install utilities.

  2. Create Configuration file, and determine important information of the cluster (e.g., cluster name, number of Etcd servers used). Please refer to Backup/Restore on instruction to backup/restore cluster configuration.

  3. [Build deployment images and various executables] (Build.md):

python deploy.py -y build 
  1. Start master and etcd servers.
deploy.py -y deploy
  1. Start worker nodes.
deploy.py -y updateworker
  1. Please uncordon master so that certain process can be execued on master nodes.
deploy.py -y uncordon
  1. Label infrastructure and worker nodes according to the configuration file.
deploy.py kubectl labels 
  1. Start/restart various services.
deploy.py kubectl start [service]
or deploy.py kubectl restart [service]
  1. Certain advanced topics, e.g., access to each deployed DL workspace node, use kubelet command, can be found at Advanced.md.

  2. If encounter problems, please check on known issues.