Install Service Manually
Different Connection Options
Before following this guide, note that you can connect to the Chassis service in one of two ways:
Install required dependencies
- Install Docker Desktop
- Try to run
- If you get a permissions error, follow instructions here
- Try to run
- Install Helm
Note: If you prefer to use Minikube for your Kubernetes distribution, make sure it can access the internet. Otherwise, your Chassis build jobs will fail.
Follow these instructions to enable Kubernetes in Docker Desktop.
Add the Helm repository
After that we just need to update the Helm repos to fetch
Configure private Docker registry settings (Optional)
By default, installing the Chassis service will push all container images to a public Docker Hub account, which requires you to have valid credentials. If instead you have access to a private Docker registry, you can add a few lines of configuration before installing the
Chassis service using helm. Note: only HTTP API v2 compliant Docker registries are supported.
1. Generate Kuberentes secret containing registry credentials
We first need to generate a Kubernetes secret of type
dockerconfigjson that contains Docker registry credentials with push/pull permissions.
Visit Managing Secrets using kubectl for more details.
2. Create Values File for Helm Chart
Next, we will create a
values.yml file to modify a few of the default values in the Chassis helm chart. This is where you can specify the base URL of your private registry and provide the name of the secret generated in the previous step.
For more details and different registry examples, visit the Private Registry Support guide.
Now we just need to install
Chassis as normal using Helm.
Check the installation
After having installed the service we can check that the
Chassis service is correctly deployed.
Then you should see an output similar to this.
We can also check that the pod that runs the service is correctly running.
Where we should find our pod listed.
Query the service
To conclude, we may want to query the service just to see that it answers as we expect.
To do that, we need to port forward the service.
Now that we have access to the service we can query it.
Which should output an alive message.
Begin Using the Service
Congratulations, you have now successfully deployed the service in a private Kubernetes cluster. To get started, make sure you set up a Python virtual enviornment and install the