Outdated Version

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.

  1. Edit the deployment.yaml file and update spec.template.spec.containers[0].image with a later version of Operator image.

  2. 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.

  1. Edit the memsql-cluster.yaml file and replace spec.nodeImage.repository and spec.nodeImage.tag with a later version of the node image.

  2. Apply the upgrade.

    kubectl apply -f memsql-cluster.yaml
    
Warning

It is only possible to upgrade to a later SingleStore DB engine image. The SingleStore DB engine upgrade cannot be rolled back.