Submarine on K8s

Submarine for K8s supports distributed TensorFlow and PyTorch.

Submarine can run on K8s >= 1.14, supports features like GPU isolation.

We have validated Submarine on the following versions:

K8s VersionSupport?
1.13.x (or earlier)X
1.14.x
1.15.x
1.16.x
1.17.xTo be verified
1.17.xTo be verified

Install Submarine

Setup Kubernetes

Submarine can be deployed on any K8s environment if version matches. If you don't have a running K8s, you can set up a K8s using Docker Desktop, MiniKube, or kind, Kubernetes-in-Docker.

From our experiences, Docker Desktop is an easier choice.

Install Submarine Use Helm Charts

After you have an up-and-running K8s, you can follow Submarine Helm Charts Guide to deploy Submarine services on K8s cluster in minutes.

Using Jupyter notebooks in Submarine

Please refer to Notebook guide if you want to use jupyter notebook in Submarine.

Model Training (Experiment) on K8s

Model Training with Submarine UI

You can now submit Submarine model training on the UI, please refer to Submit Experiment from Submarine UI

Model Training With Submarine Python SDK

You can also follow the guidance to run Submarine model training using Python SDK, please refer to Submit Experiment using Python SDK

Model Training With Submarine REST API

Alternatively, we support use REST API to submit, list, delete experiments (model training)