Use this file to discover all available pages before exploring further.
Keeping your Prisme.ai platform up to date ensures you have access to the latest features, security patches, and performance improvements. This guide covers the process for updating your self-hosted Prisme.ai installation safely and efficiently.
Standard updates include minor version changes and patches that don’t require significant infrastructure modifications.These updates typically include:
Bug fixes
Security patches
Minor feature enhancements
Performance optimizations
Major updates involve significant version changes that may require database migrations, infrastructure changes, or configuration updates.These updates often include:
Before proceeding with any update, complete the following checklist:
1
Backup Your Environment
Create complete backups of your client-managed databases and configurations.
# Back up MongoDB datamongodump --uri="mongodb://username:password@hostname:port/database" --out=/path/to/backup/mongo# Back up Elasticsearch/OpenSearchelasticdump --input=http://elasticsearch:9200/index --output=/path/to/backup/elasticsearch.json# Back up Redisredis-cli -h redis-host -a password --rdb /path/to/backup/redis.rdb# Back up S3 storageaws s3 sync s3://your-prisme-bucket /path/to/backup/s3-data
Carefully review the release notes for the target version to understand:
Changes to Helm charts
Terraform module updates
Database schema changes
Required infrastructure modifications
Release notes are available in the Prisme.ai customer portal and within the release artifacts.
3
Check System Requirements
Verify your infrastructure meets the requirements for the new version.
System Requirements Check
# Run the Prisme.ai compatibility checkkubectl apply -f https://raw.githubusercontent.com/prisme-ai/compatibility-check/main/verify-environment.yaml# Check resultskubectl logs job/prisme-compatibility-check
Pay special attention to:
Kubernetes version compatibility
Node resource availability
Database version requirements
Storage capacity
4
Update Terraform Modules
If you’re using Terraform for infrastructure management, update your modules to the versions compatible with the new Prisme.ai release.
# Update Terraform module versions in your .tf filesmodule "prisme_platform" { source = "prisme-ai/platform/aws" version = "x.y.z" # Update to match your Prisme.ai target version # Your existing configuration...}# Run terraform plan to validate changesterraform plan
5
Prepare Rollback Plan
Document a detailed rollback plan in case issues occur during the update.Your rollback plan should include:
Specific commands to restore databases from backup
Helm rollback commands
Terraform destroy/apply commands for affected resources
Refresh your Helm repository to get the latest charts.
helm repo update prisme
2
Review Chart Values
Compare your current values with the new chart’s default values to identify changes.
# Get current valueshelm get values prisme-core -n prisme-system > current-values.yaml# Compare with new chart defaultshelm show values prisme/prisme-core --version X.Y.Z > new-defaults.yaml# Use a diff tool to comparediff current-values.yaml new-defaults.yaml
Modify your Terraform configuration to use the updated Prisme.ai modules.
module "prisme_platform" { source = "prisme-ai/platform/aws" version = "X.Y.Z" # Match your target Prisme.ai version # Your configuration...}module "prisme_databases" { source = "prisme-ai/databases/aws" version = "X.Y.Z" # Match your target Prisme.ai version # Your database configuration...}
3
Apply Infrastructure Changes
Run Terraform plan and apply to update your infrastructure.
Review the plan output carefully to understand what resources will be modified, created, or destroyed.
4
Update Helm Charts Through Terraform
If you’re managing Helm releases via Terraform, update those resources as well.
resource "helm_release" "prisme_core" { name = "prisme-core" repository = "https://charts.prisme.ai" chart = "prisme-core" version = "X.Y.Z" # Match your target Prisme.ai version namespace = "prisme-system" # Your values...}