- Using a Docker container.
- Using the Helm chart.
Using Helm
The ZenML repository hosts a Helm chart that can be used to deploy to Kubernetes. This chart is not hosted on an online repository yet and so you can follow the steps below:-
Clone the
zenml-io/zenmlrepository. -
Go into the directory that hosts the chart.
-
Take a look at the
values.yamlfile to configure settings for your ZenML deployment. Make sure you have a MySQL database to use with the server and fill thezenml.databasemap with its values. -
Once everything is configured, you can now run the following command to create a release.
You will need to have an existing Kubernetes cluster and
kubectl installed
and configured, in addition to having helm itself.Connecting to deployed ZenML
Once ZenML is deployed, one or multiple users can connect to with thezenml connect command. If no arguments are supplied, ZenML will attempt to connect to the last ZenML server deployed from the local host using the zenml deploy command: