You are viewing an older version of this section. View current production version.
Perform an Upgrade
Upgrades include either upgrading the Operator, or upgrading the SingleStore DB 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 deployment.yaml file and update
spec.template.spec.containers[0].image
with a later version of Operator image. -
Apply the upgrade.
kubectl apply -f deployment.yaml
Upgrade the 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 memsql-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 memsql-cluster.yaml
It is only possible to upgrade to a later SingleStore DB engine image. The SingleStore DB engine upgrade cannot be rolled back.