Upgrade procedures
The upgrade procedure depends on how you deployed the Relay Proxy.Upgrade with Docker
-
Pull the new image version. To float the minor and patch versions within a major version, use a pattern like
v8-: - Stop the running container and start a new one using the updated image with the same configuration you used originally.
- Validate the deployment.
Upgrade with Helm
-
Update the Helm chart repository:
-
Review available chart versions:
-
Run
helm upgrade: -
Monitor the rollout:
- Validate the deployment.
Upgrade a standalone binary
To upgrade a standalone binary:- Download the new release binary from the Relay Proxy GitHub releases page.
- Stop the running Relay Proxy process.
- Replace the binary with the downloaded version.
- Restart the Relay Proxy using your existing configuration file or environment variables.
- Validate the deployment.
Rolling back to a previous version
The rollback procedure depends on how you deployed the Relay Proxy.Roll back with Docker
Stop the container and start a new one using the image tag for the previous version. You can find all available image tags on Docker Hub.Roll back with Helm
Usehelm rollback to revert to a previous release:
Roll back a standalone binary
Stop the process, replace the binary with the previous version, and restart using your existing configuration.Validate a deployment
After upgrading or rolling back, confirm that the Relay Proxy is healthy and serving traffic correctly.Check the status endpoint
Make aGET request to the /status endpoint. No authentication is required:
Validate flag evaluation
After confirming the status endpoint, verify that flag evaluations are working as expected by starting an SDK and confirming it connects successfully. You can also change a flag value in the LaunchDarkly UI and verify the updated value appears in your application.Review metrics after upgrade
Watch for unexpected changes in connection counts, error rates, or latency after the upgrade. To learn more, read Monitoring the Relay Proxy.Plan for EOL versions
We recommend the following strategies to Plan for EOL versions.Support windows
LaunchDarkly supports each Relay Proxy minor version for approximately one year after releasing a newer minor version. After a version reaches its EOL date, LaunchDarkly no longer provides security patches, bug fixes, or support for that version. To see current EOL dates for each version, read Versioning policy.Recommended upgrade timeline
When your running version is within 90 days of its EOL date:- Review the release notes for all versions between your current version and the latest release. Pay particular attention to breaking changes and required configuration updates.
- Test the upgrade in a non-production environment and validate behavior using the steps in Validating a deployment.
- Schedule the production upgrade to complete before the EOL date.
Version compatibility
The Relay Proxy uses semantic versioning:- Patch upgrades, for example, 8.18.0 to 8.18.1: Safe to apply without configuration changes.
- Minor upgrades, for example, 8.17.x to 8.18.x: May include new features or deprecations. Review the release notes before upgrading.
- Major upgrades, for example, 7.x to 8.x: May include breaking changes and require configuration updates. Review the migration guide in the GitHub repository before upgrading.