๐Ÿš€Quick-Start Guide

circle-exclamation

This topic includes instructions for installing and running Toucan on Kubernetes using Helm Charts.

Helmarrow-up-right is an open-source command line tool used for managing Kubernetes applications. It is a graduate project in the CNCF Landscapearrow-up-right.

Before you begin

To install Toucan using Helm, ensure you have completed the following:

  • Install a Kubernetes server on your machine (or use a managed Kubernetes). For information about installing Kubernetes, refer to Install Kubernetesarrow-up-right.

circle-info

In this guide, we will use the minikube cluster.

circle-info

If you are using minikube, please enable the ingress addon and follow the steps described in "Ingress DNS | minikubearrow-up-right".

  • A DNS set up for the Toucan Toco's domain which points to your Ingress controller Load Balancer IP. For this example, we will use demo.toucantoco.test as the main domain, and auth-demo.toucantoco.test as the authentication domain.

circle-info

If you are using minikube, please enable the ingress-dns addon and follow the steps described in "Ingress DNS | minikubearrow-up-right".

Install Toucan using Helm

Overview

How Helm is used

You can simply consider the "Toucan Stack" Helm Chart as a single package.

To customize the chart, Helm can overrides the default values file by specifying additional values files. You can read more about it in the official Helm documentationarrow-up-right.

triangle-exclamation

Login to the Toucan Toco's Quay registry

circle-info

We are assuming you have a terminal open in /work/ directory. You can open your terminal in any directory, but make sure you are in a directory reserved for this project.

To sign in to the Quay registry with Helm, run the following command:

circle-info

To fetch your Quay credentials, you can generate an encrypted password on Quay.io:

  1. Go to Account Settings.

  2. Go to the "Gear Menu" gear on the left side menu.

  3. Click on "Generate Encrypted Password"

    Fetching Quay encrypted password

Install Toucan

After you have set up Helm, you can start to deploy Toucan on your Kubernetes cluster.

When you deploy the Toucan Stack Helm charts, use a separate namespace instead of relying on the default namespace. The default namespace might already have other applications running, which can lead to conflicts and other potential issues.

When you create a new namespace in Kubernetes, you can better organize, allocate, and manage cluster resources. For more information, refer to Namespacesarrow-up-right.

1

To create a namespace, run the following command:

2

Send your Quay credentials to Kubernetes by running the following command:

Replace <username> and <password> with your credentials.

3

Send your Curity credentials to Kubernetes by running the following command:

Replace <License> with your Curity license, extracted from the json. It should start with ey....

4

Assuming the DNS is properly configured, and the URLs https//demo.toucantoco.test and https://auth-demo.toucantoco.test are accessible publicly, we'll use cert-manager to generate TLS certificates.

5

Deploy Toucan by running the following command:

circle-info

If the installation fails with:

You should check the health of the deployment. Use kubectl get <deployments/statefulsets/pods> -n toucan to check the status of the deployment. And use kubectl logs <pod-name> -c <container-name> -n toucan to check the logs of the deployment.

We highly recommend using a Kubernetes GUI for troubleshooting like for example Headlamparrow-up-right.

6

To get the Admin password, run the following command:

7

Navigate to https://demo.toucantoco.testarrow-up-right in your browser to access Toucan.

8

Login with the Admin credentials. Enter [email protected] for the username. For the password, use the one you got from the previous step.

What's next?

Now that you have a working Toucan deployment, you might be interested in configuring this environment for production use. Feel free to check out:

โš™๏ธConfigure email notificationschevron-rightโš™๏ธConfigure HTTPSchevron-right๐Ÿ”‘Configure OIDC authenticationchevron-rightโš™๏ธTuning resourceschevron-rightโš™๏ธConfigure persistencechevron-right

Last updated

Was this helpful?