Deploying Urbis Workflows Infrastructure with Helm
This document provides a basic guide to deploying the Urbis Workflows Infrastructure using Helm, referencing the OpenUrbis/urbis-workflows-infra repository.
Prerequisites
Before proceeding, ensure you have:
- A Kubernetes cluster (version 1.20 or higher)
- Helm 3 installed
kubectlconfigured to interact with your cluster
Steps to Deploy
-
Clone the Repository
Clone the Urbis Workflows Infrastructure repository to your local machine:git clone https://github.com/OpenUrbis/urbis-workflows-infra.git
cd urbis-workflows-infra -
Create a Namespace
Create a Kubernetes namespace for the deployment:kubectl create namespace urbis-workflows -
Configure the Deployment
Customize the deployment by editing thevalues.yamlfile for general configurations andsecrets.yamlfor sensitive data (e.g., database passwords). Ensuresecrets.yamlis not committed to version control.
Example modification invalues.yaml:postgresql:
replicaCount: 2 -
Install the Helm Chart
Deploy the infrastructure using the Helm chart:helm install urbis-workflows ./infra -f values.yaml -f secrets.yaml -n urbis-workflows -
Verify the Deployment
Check the status of the deployed resources:kubectl get pods -n urbis-workflows
Updating the Deployment
To apply changes to the configuration or chart:
helm upgrade urbis-workflows ./infra -f values.yaml -f secrets.yaml -n urbis-workflows
Uninstalling the Deployment
To remove the deployment:
helm uninstall urbis-workflows -n urbis-workflows
Note: Persistent data (e.g., database volumes) must be deleted manually if no longer needed.
Additional Information
For more details, refer to the README in the repository. For support, open an issue on GitHub or contact contas@urbis.sampa.br.