Helm simplifies managing Kubernetes applications, offering powerful templating and lifecycle management. This guide details how to deploy and manage Prisme.ai using Helm charts effectively.Documentation Index
Fetch the complete documentation index at: https://prismeai-legacy.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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.
Security Context configuration
The platform supports Security Contexts out of the box for every pod. For each pod exceptprismeai-functions which runs its own isolation layer, you may uncomment or customize the following helm values snippet :
- The
securityContextfrom these values applies to the Deploymentspec.spec.securityContext - The
containerSecurityContextfrom these values applies to the Deploymentspec.spec.containers.securityContext - Each section follows the same reference documentation for Security Contexts
- Finally you may apply
securityContextandcontainerSecurityContexttoprismeai-functions, while being informed that this pod runs a root service which forks isolated execution environments, each with their own unix user.
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:
Next Steps
High Availability Setup
Configure high availability on Kubernetes
Prometheus & Grafana
Set up monitoring with Prometheus & Grafana
Product Configuration
Configure Prisme.ai AI products
Operations & Maintenance
Manage operations efficiently