Watch the 7.3 Webinar On-Demand
This new release brings updates to Universal Storage, query optimization, and usability that you won’t want to miss.

Apply Changes to a Cluster

When scaling, updating, or upgrading the cluster, edit the memsql-cluster.yaml file and run the following command.

kubectl apply -f memsql-custer.yaml

This will cause the Operator to scale, update, or upgrade the cluster. After running this command, wait for the cluster to become stable.

Refer to the appropriate section of this reference to determine which fields in the memsql-custer.yaml file to scale, update, or upgrade the cluster.

Some updates can be achieved by updating the Operator’s command-line arguments rather than updating the cluster directly. For example, backups can be updated either via the deployment.yaml file (which will first update the Operator, and the Operator will then update the cluster) or via the memql-cluster.yaml file (where the Operator will remain unchanged, but will still update the cluster).

To update the cluster via the Operator’s command-line arguments, edit spec.template.spec.containers[0].args in the deployment.yaml file and add, update, or delete the desired command-line arguments.

Run the following command to apply these changes.

kubectl apply -f deployment.yaml

The Operator pod will be restarted. After the new Operator pod has been started, wait for the cluster to become stable.