Upgrade to v5.2
Do not skip minor versions when upgrading or downgrading
Skipping versions when upgrading or downgrading Hydrolix can result in database schema inconsistencies and cluster instability. Always upgrade or downgrade sequentially through each minor version.
Example:
Upgrade from 5.5.0 → 5.6.x → 5.7.4, not 5.5.0 → 5.7.4.
Overview⚓︎
The v5.2.x release introduces significant infrastructure changes, notably the removal of Redpanda dependency in favor of Vector for log ingestion.
Key changes in v5.2.x⚓︎
- Redpanda removal: Vector now handles log ingestion through a new
hydrolix-intake-headpool instead of Redpanda - New hydrolix pool: A static pool named
hydrolix-intake-headis created for Vector log ingestion - Kafka source deletion: The old Kafka-based
hydro.logssource is removed during upgrade - Pulumi stack sync: This release may require syncing of Pulumi stacks due to the new hydrologs pool
Redpanda cleanup
The upgrade process does not automatically scale down or delete the Redpanda StatefulSet. After verifying the upgrade is successful, manually scale down Redpanda to confirm no dependencies remain: kubectl scale statefulset redpanda -n ${HDX_KUBERNETES_NAMESPACE} --replicas=0
Upgrade instructions⚓︎
Prerequisites for EKS deployments⚓︎
For EKS deployments, ensure the following tunable is set in your Hydrolix spec before upgrading:
Standard upgrade procedure⚓︎
Select the appropriate command based on your cloud provider. Replace the "x" in "v5.2.x" with the latest patch release of v5.2 available:
GKE upgrade⚓︎
EKS upgrade⚓︎
LKE and AKS upgrade⚓︎
Post-upgrade verification⚓︎
After the upgrade is complete:
- Verify the new
hydrolix-intake-headpool is created and running:
- Confirm Vector is ingesting logs successfully:
-
Check that the old Kafka source has been removed from your configuration.
-
Optionally, scale down Redpanda to verify no dependencies remain.
v5.2.x to v5.1.x rollback procedure⚓︎
Rollback overview⚓︎
Rolling back from v5.2.x to v5.1.x requires regenerating the Kafka-peer-based hydro.logs pool using Redpanda. Before you perform the downgrade, delete stale Redpanda data.
Critical: Delete Redpanda PVC before rollback
The rollback regenerates the hydro.logs pool using Kafka and Redpanda. You must delete the Redpanda PersistentVolumeClaim (PVC) before rolling back to avoid retaining stale topic data that could cause issues.
Phase 1: Delete Redpanda PersistentVolumeClaim⚓︎
Remove the Redpanda PVC before rollback to ensure a clean state:
- List Redpanda PVCs:
- Delete each Redpanda PVC:
- Verify PVCs are deleted:
Phase 2: Perform the rollback⚓︎
After deleting the Redpanda PVCs, apply the v5.1.x operator. Select the appropriate command based on your cloud provider:
GKE rollback⚓︎
EKS rollback⚓︎
LKE and AKS rollback⚓︎
Phase 3: Verify rollback completion⚓︎
After the rollback is complete:
- Verify Redpanda pods are running:
- Confirm the
hydro.logspool has been regenerated with Kafka/Redpanda:
- Check Redpanda logs for successful startup:
- Verify the Hydrolix cluster is functioning through the UI and API.
Troubleshooting⚓︎
If you encounter issues during the rollback:
- Redpanda pods fail to start: Check that PVC deletion completed successfully and verify storage class availability.
- hydro.logs pool not recreated: Examine
init-clusterandinit-turbine-apijob logs:
- Vector still running: The Vector deployment should automatically be removed during rollback, but verify manually if needed:
Contact Hydrolix Support at mailto:support@hydrolix.io for additional assistance.