Upgrading the Traceable Operator¶
This guide covers how to upgrade the Traceable Operator (also known as Traceable Installer).
Overview¶
The Traceable Operator manages the installation and configuration of the Traceable Platform. Upgrading the operator ensures you have the latest features and bug fixes for managing your platform.
Prerequisites¶
Before upgrading the operator:
- Ensure the platform is stable and healthy
- Complete a backup of the installer state (see below)
- Have the target operator version number ready
Backup Installer State¶
Highly Recommended: Always backup the traceable installer state before upgrading the operator.
Steps to Backup¶
- Login to the Traceable Operator UI
- Click on the Backup State menu in the sidebar
- Click on the Download Zip button
- Save the zip file to a secure location
Important: This backup contains all your configuration and state information. Keep it safe for recovery purposes.
Upgrade Methods¶
You can upgrade the operator using two methods:
- UI Method - Visual interface
- ClusterMgr Method - Command-line interface
UI Method¶
Steps¶
- Click on Upgrade Cluster in the sidebar menu
- Click on the Upgrade Operator button
- Enter the version of the Operator to upgrade to (e.g.,
2.5.0) - Leave the Additional Args field blank (unless instructed by Traceable support)
- Click Trigger Upgrade
Expected Behavior¶
- The Operator will restart with the new version
- The UI will be unavailable for a few seconds during the restart
- The page will automatically reconnect once the operator is back online
Verification¶
After the upgrade:
- Wait for the UI to become available again (usually 30-60 seconds)
- Login to the Operator UI
- Verify the version number in the UI footer or about page
- Confirm all configurations are intact
ClusterMgr Method¶
1. Download Latest ClusterMgr¶
Download the latest clustermgr from the downloads portal:
https://downloads.traceable.ai/#platform/installer/clustermgr/linux-amd64/
2. Run the Upgrade Command¶
Execute the following command:
Parameters:
cluster.triggerUpgrade=false: Prevents automatic platform upgrade--skip-workflow-exec: Only upgrades the operator, not the platform
3. Wait for Completion¶
The upgrade process will:
- Update the operator deployment
- Restart the operator pod
- Wait for the operator to become healthy
Monitor the upgrade:
# Watch operator pod status
kubectl get pods -n <traceable-namespace> -l app=traceable-operator -w
# Check operator logs
kubectl logs -n <traceable-namespace> -l app=traceable-operator -f
4. Verify Upgrade¶
After the upgrade completes:
- Wait for the operator pod to be in
Runningstate - Login to the Operator UI
- Verify the version number
- Confirm all configurations are intact
Post-Upgrade Verification¶
1. Check Operator Status¶
Expected output:
2. Check Operator Logs¶
Look for:
- Successful startup messages
- No error messages
- Version information
3. Access Operator UI¶
- Navigate to the Operator URL
- Login with your credentials
- Verify you can access all pages
- Check that the version is displayed correctly
4. Verify Platform Management¶
- Navigate to Install Workflow page
- Verify you can see all services
- Check that Upgrade Cluster functionality is accessible
- Confirm Backup State is working
Troubleshooting¶
Operator Pod Not Starting¶
If the operator pod fails to start:
- Check pod status:
- Check for image pull errors:
- Verify image availability:
- Ensure the operator image for the target version is available
- Check image pull secrets are configured correctly
UI Not Accessible After Upgrade¶
If the UI is not accessible:
- Check operator pod logs:
- Check service and ingress:
- Verify DNS resolution:
- Ensure the operator URL resolves correctly
- Check ingress controller is working
Configuration Lost After Upgrade¶
If configurations appear to be lost:
- Check persistent volume:
- Restore from backup:
- Use the backup zip file created before upgrade
- Contact Traceable support for restoration assistance
Rollback Operator Upgrade¶
If you need to rollback the operator:
- Using ClusterMgr:
./clustermgr upgrade --ti-set cluster.version=<previous-version> \
--ti-set cluster.triggerUpgrade=false \
--skip-workflow-exec
-
Using UI:
- Follow the same upgrade process but specify the previous version
-
Restore from backup:
- If needed, restore the installer state from the backup zip file
- Contact Traceable support for assistance
Best Practices¶
Before Upgrade¶
- Backup installer state
- Document current operator version
- Verify platform is healthy
- Schedule maintenance window
- Notify stakeholders
During Upgrade¶
- Monitor operator pod status
- Watch for errors in logs
- Keep backup accessible
- Do not make configuration changes
After Upgrade¶
- Verify operator version
- Test UI accessibility
- Confirm all configurations intact
- Document upgrade completion
- Update runbooks with new version
Operator vs Platform Upgrade¶
Important Distinction:
- Operator Upgrade: Updates the management/installer component only
- Platform Upgrade: Updates the actual Traceable services (API, UI, processors, etc.)
You can upgrade the operator independently of the platform. However, ensure operator version compatibility with your platform version.
Version Compatibility¶
Consult with Traceable support to ensure:
- Operator version is compatible with your platform version
- No breaking changes in the operator upgrade
- Any special upgrade instructions for your version path
Support¶
For operator upgrade assistance or issues, contact: support@harness.io