Prerequisites
Before deploying Prisme.ai with Helm, ensure:- Kubernetes cluster (version 1.26+) ready.
- Helm (version 3+) installed and configured.
- Basic familiarity with Kubernetes commands (
kubectl).
Step-by-Step Helm Deployment
Prepare the Configuration (`values.yaml`)
Download and customize the Helm chart configuration:Customize
values.yaml with your specific settings:- Database connections (MongoDB, Redis, Elasticsearch)
- Object storage configurations (S3-compatible storage, Azure Blob, GCS)
- Ingress settings, SSL certificates
Configuration
PostgreSQL
Compared to the MongoDB values, there are only 3 places to update for PostgreSQL, all of which are indicated by a comment including “postgresql”:Database permissions
Key:global.storage.permissions
The driver must be set to postgresql, and the authentication URL including username and password must be provided in url (not recommended for production) or ideally in a url key (configurable via secretKeys.url) of the existingSecret.
Example URL: postgres://user:password@your-cluster.company.net:20184/permissions?sslmode=require
The
sslmode=require option is required to enforce SSL connection.Database users
Key:prismeai-api-gateway.storage.users
Same configuration structure as global.storage.permissions - set the driver to postgresql and configure the connection URL.
Database collections
Key:prismeai-runtime.storage.collections
Same configuration structure as above - set the driver to postgresql and configure the connection URL.
Helm Best Practices
Version Control
- Version your
values.yamlusing Git for better tracking. - Regularly upgrade Helm releases to latest stable charts.
Secrets Management
- Store sensitive configurations securely using Kubernetes Secrets or external secret management solutions (e.g., HashiCorp Vault, AWS Secrets Manager).
Resource Optimization
- Define clear resource requests and limits in your Helm chart configuration.
- Regularly review and optimize these values according to observed resource usage.
Monitoring & Alerts
- Integrate Helm deployments with Prometheus & Grafana Operator.
- Configure alerts for critical components of Prisme.ai.
Common Helm Commands
Useful Helm Commands
Useful Helm Commands
- Update repository:
- List releases:
- Upgrade release:
- Rollback:
- Delete release:
Troubleshooting Helm Releases
Troubleshooting Helm Releases
- Check release history:
- Debug issues: