Update Strategy
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
Pre-Update Checklist
Before proceeding with any update, complete the following checklist:1
Backup Your Environment
Create complete backups of your client-managed databases and configurations.See the Backup & Restore page for detailed instructions.
2
Review Release Notes
Carefully review the release notes for the target version to understand:
- Changes to Helm charts
- Terraform module updates
- Database schema changes
- Required infrastructure modifications
3
Check System Requirements
Verify your infrastructure meets the requirements for the new version.
Pay special attention to:
System Requirements Check
System Requirements Check
- 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.
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
- Recovery time objectives
- Verification steps after rollback
Update Process
1
Update Helm Repository
Refresh your Helm repository to get the latest charts.
2
Review Chart Values
Compare your current values with the new chart’s default values to identify changes.
3
Upgrade Core Components
Update the core Prisme.ai components first.
The core components handle compute operations and must be updated before product modules.
4
Update Product Modules
After the core is updated, upgrade each product module.
5
Monitor Update Progress
Watch the deployment progress to ensure all pods are successfully updated.
6
Verify Connectivity to External Databases
Ensure all services can connect to your managed databases.
Database Compatibility Considerations
MongoDB / Compatible
- Recommended version: 4.4+
- Required indexes will be created automatically
- Schema migrations happen on startup
- Connection string format:
mongodb://username:password@host:port/database
Elasticsearch / OpenSearch
- Elasticsearch 7.10+ or OpenSearch 1.3+
- Check index mappings compatibility
- Some updates require reindexing
- Set
elasticsearch.existingUrl
in values.yaml
Redis
- Redis 6.0+ recommended
- Used for caching and message queuing
- Persistence configuration recommended
- Cluster mode supported in Prisme.ai v3.2+
Object Storage (S3)
- S3-compatible storage required
- Used for document storage
- Configure using
storage.s3.*
parameters - Verify bucket permissions after updates
Post-Update Tasks
After completing the update, perform these essential post-update tasks:1
Verify Database Connectivity
Ensure all services can connect to your managed databases.
2
Run Database Optimization Tasks
Optimize database performance after the update.
3
Verify Product Functionality
Test each Prisme.ai product to ensure they work as expected:
- AI SecureChat
- AI Store
- AI Knowledge
- AI Builder
- AI Governance
- AI Insights
4
Check Resource Utilization
Monitor resource usage to ensure the system is functioning efficiently.
Rollback Procedure
If you encounter critical issues after an update:1
Roll Back Helm Releases
Use Helm rollback to return to the previous version.
2
Restore Databases
If necessary, restore databases from your pre-update backups.
3
Revert Terraform Changes
If you used Terraform for the update, revert to the previous state.