Deploying on OpenShift

Curiosity can be deployed using Docker images on OpenShift, a platform that simplifies container orchestration and management.

Requirements

In order to get started, you will need to have a working OpenShift cluster. You can get a local OpenShift for development following the official guide.

Docker Image

The Curiosity Docker Image is available in the official Docker repository, and it is available in an always up-to-date tag (curiosityai/curiosity:latest) and a versioned tag (curiosityai/curiosity:VERSION)

We recommend you locking the image version in production, so you can have more control over deploying updates

Deployment Setup

Curiosity Workspace can be deployed using Docker images on OpenShift. To run Curiosity on OpenShift, you needto use a StatefulSet with attached persistent storage. A StatefulSet is a OpenShift resource that provides stable and unique identities for each pod in the set. Attached storage is a way of providing persistent and durable data volumes for the pods. By using a StatefulSet with attached storage, users can ensure that Curiosity Workspace maintains its state and data across pod restarts and updates.

Please refer to the OpenShift documentation for the version of your cluster for more information on how to deploy a stateful set.

Configuration

Configure Curiosity using environment variables. See Configuration for a list of all configurable variables. If not set via configuration variables, the username and password for your first log is admin. You can now follow the steps under Configure your Workspace.

You can define a fixed password for the admin account, and pass it using an environmental variable. You can store this as a secret in Kubernetes.

Last updated