Reverting an Update
Use the helm rollback
command to revert to a previous configuration or MATRIXX Engine
version.
Note: If rolling back to an earlier release, the whole deployment must be rolled back. Rolling back a single engine or sub-domain may have unexpected results.
In the example of a basic deployment across multiple namespaces within a single cluster, you install using the helm install
command in the following order: engines, agents,
and then masters.
helm install mtx-s1e1 matrixx/matrixx -n matrixx-s1e1 -f base.yaml -f topology-install.yaml --version version
helm install mtx-s1e2 matrixx/matrixx -n matrixx-s1e2 -f base.yaml -f topology-install.yaml --version version
helm install mtx-agent matrixx/matrixx -n matrixx-agent -f base.yaml -f topology-install.yaml --version version
helm install mtx-master matrixx/matrixx -n matrixx-master -f base.yaml -f topology-install.yaml --version version
You upgrade the engine configuration using the helm upgrade
command in the same order:
helm upgrade mtx-s1e1 matrixx/matrixx -n matrixx-s1e1 -f base.yaml -f topology-upgrade.yaml --version version
helm upgrade mtx-s1e2 matrixx/matrixx -n matrixx-s1e2 -f base.yaml -f topology-upgrade.yaml --version version
helm upgrade mtx-agent matrixx/matrixx -n matrixx-agent -f base.yaml -f topology-upgrade.yaml --version version
helm upgrade mtx-master matrixx/matrixx -n matrixx-master -f base.yaml -f topology-upgrade.yaml --version version
To revert to the previous configuration, use the helm rollback
command in the same order:
helm rollback mtx-s1e1 -n matrixx-s1e1
helm rollback mtx-s1e2 -n matrixx-s1e2
helm rollback mtx-agent -n matrixx-agent
helm rollback mtx-master -n matrixx-master
Alternatively, you can upgrade to the original configuration with the following helm upgrade
commands, as always, in the order engines, agents, and then masters:
helm upgrade mtx-s1e1 matrixx/matrixx -n matrixx-s1e1 -f base.yaml -f topology-install.yaml --version version
helm upgrade mtx-s1e2 matrixx/matrixx -n matrixx-s1e2 -f base.yaml -f topology-install.yaml --version version
helm upgrade mtx-agent matrixx/matrixx -n matrixx-agent -f base.yaml -f topology-install.yaml --version version
helm upgrade mtx-master matrixx/matrixx -n matrixx-master -f base.yaml -f topology-install.yaml --version version