Perform an Upgrade
Upgrades include either upgrading the Operator, or upgrading the SingleStoreDB YAML configuration files.
SingleStore recommends upgrading one component at a time.
Upgrade the Operator
Typically, upgrading the Operator will not cause the cluster to restart or change.
Note: Please confirm that the cluster is stable before performing the upgrade.
Edit the sdb-operator.yaml file and update
spec.template.spec.containers[0].image
with a later version of Operator image.Apply the upgrade.
kubectl apply -f sdb-operator.yaml
Upgrade the SingleStoreDB Engine
Note: Please confirm that the cluster is stable before performing the upgrade. Reviewing the Operator log to confirm that there are no general Operator operations in progress is recommended.
Edit the sdb-cluster.yaml file and replace
spec.nodeImage.repository
andspec.nodeImage.tag
with a later version of the node image.Apply the upgrade.
kubectl apply -f sdb-cluster.yaml
Warning
It is only possible to upgrade to a later SingleStoreDB engine image. The engine upgrade cannot be rolled back.