This repository contains Monk.io template to deploy Tensorflow either locally or on cloud of your choice (AWS, GCP, Azure, Digital Ocean).
foo@bar:~$ monk status
daemon: ready
auth: logged in
not connected to cluster
git clone https://github.com/monk-io/tensorflow
cd tensorflow
monk load MANIFEST
foo@bar:~$ monk list tensorflow
✔ Got the list
Type Template Repository Version Tags
runnable tensorflow/tensorflow local - -
foo@bar:~$ monk run tensorflow/tensorflow
? Select tag to run [local/tensorflow/tensorflow] on: mnk
✔ [================================================] 100% tensorflow/tensorflow:latest-jupyter mnk-1
✔ [================================================] 100% alpine:latest mnk-1
✔ Checking/pulling images DONE
✔ Started local/tensorflow/tensorflow
🔩 templates/local/tensorflow/tensorflow
└─🧊 Peer mnk-1
├─🔩 templates/local/tensorflow/tensorflow
│ └─📦 d26b93f8826f9aafafd07b11b13c0b86-tensorflow-tensorflow-monk-alp
│ └─🧩 alpine:latest
└─🔩 templates/local/tensorflow/tensorflow
└─📦 022273279b4c7ffd2ac42da74dfbbe00-low-tensorflow-tensorflow
├─🧩 tensorflow/tensorflow:latest-jupyter
├─💾 /var/lib/monkd/volumes/notebooks -> /tf/notebooks
└─🔌 open 16.171.45.206:8888 (0.0.0.0:8888) -> 8888
💡 You can inspect and manage your above stack with these commands:
monk logs (-f) local/tensorflow/tensorflow - Inspect logs
monk shell local/tensorflow/tensorflow - Connect to the container's shell
monk do local/tensorflow/tensorflow/action_name - Run defined action (if exists)
💡 Check monk help for more!
The variables are in tensorflow.yml
file. You can quickly setup by editing the values here.
Variable | Description | Default |
---|---|---|
monk_tensorflow_port | Jupyter Port | 8888 |
monk_image_tag | Image tag | latest-jupyter |
monk purge -x -a