Kubernetes with Helm
The process of deploying the SDK to a Kubernetes cluster can also be achieved through the use of a Helm chart.
Downloading Synthesized SDK Chart
git clone https://github.com/synthesized-io/helm-charts.git
cd helm-charts
Installing the chart
Set the namespace:
export NAMESPACE=synthesized-sdk
Set Synthesized SDK parameters:
export REPOSITORY=localhost:5000/sdk-jupyter-server
export TAG="{VERSION_TAG}"
export SYNTHESIZED_KEY={YOUR_LICENSE_KEY}
You should replace {YOUR_LICENCE_KEY}
with your Synthesized licence key and {VERSION_TAG}
with the tag
of the desired image, available on Docker Hub.
Install the chart:
helm upgrade synthesized-sdk charts/sdk \
--set synthesized.secret.synthesizedKey=$SYNTHESIZED_KEY \
--set image.repository=$REPOSITORY \
--set image.tag=$TAG \
--namespace $NAMESPACE \
--create-namespace \
--install
If everything went well, you will receive a message like this:
Release "synthesized-sdk" does not exist. Installing it now.
NAME: synthesized-sdk
LAST DEPLOYED: Tue Oct 3 14:32:43 2023
NAMESPACE: synthesized-sdk
STATUS: deployed
REVISION: 1
TEST SUITE: None