You are viewing an older version of this section. View current production version.
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.
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.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.