Upgrade
Read the breaking changes before you start. Upgrading to v6.6 takes four steps, in this order:
- Keep custom Grafana and Superset admin passwords
- Check who has the
operatorrole - Apply the new Hydrolix operator
- Monitor the upgrade process
Don't 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, moving to every intermediate minor release in turn rather than jumping directly from the starting version to the target.
Point releases are safe to skip. Upgrade through each minor version, using the latest point release of each one. Don't install every point release along the way.
For example, to go from v6.1 to v6.3, upgrade sequentially to v6.1.14 -> v6.2.13 -> v6.3.8. Downgrading works the same way, in reverse.
Keep custom Grafana and Superset admin passwords⚓︎
From v6.6, the Grafana and Superset admin passwords reset to the values in the cluster's general secret each time those pods start. If someone changed either password in the UI, add it to the curated secret before upgrading:
| Keep a Custom Grafana Admin Password | |
|---|---|
This patch adds the key and leaves the secret's other keys in place. For Superset, use SUPERSET_ADMIN_PASSWORD. Skip this step if neither password was changed.
Check who has the operator role⚓︎
From v6.6, the built-in operator role includes select_sql for the whole cluster, so its members can query every table. Hydrolix doesn't assign operator to users on managed clusters, so this step mainly applies to self-managed clusters. Before upgrading, move anyone who shouldn't read table data from operator to a custom role with only the permissions they need. Removing select_sql from operator doesn't last, because the next deploy adds it back.
Skip this step if everyone with the operator role can read all table data.
Apply the new Hydrolix operator⚓︎
If you have a self-managed installation, apply the new operator directly with the kubectl command examples in this section. If you're using Hydrolix-supplied tools to manage your installation, follow the procedure prescribed by those tools.
Monitor the upgrade process⚓︎
Kubernetes jobs named init-cluster and init-turbine-api will automatically run to upgrade your entire installation to match the new operator's version number. This will take a few minutes, during which time you can observe your pods' restarts with your Kubernetes monitor tool.
Ensure both the init-cluster and init-turbine-api jobs have completed successfully and that the turbine-api pod has restarted without errors. After that, view the UI and use the API of your new installation as a final check.
If the turbine-api pod doesn't restart successfully, or other functionality is missing, check the logs of the init-cluster and init-turbine-api jobs for details about failures. This can be done using the k9s utility or with the kubectl command:
If you still need help, contact Hydrolix support.