Manually Starting and Stopping Engines
Do not use the stop_engine
and start_engine
scripts
with Topology Operator-based deployments. Instead, to start or stop MATRIXX Engine,
patch the MtxEngine CR. Start and stop actions are then handled by the
operators.
For example, stop engine s1e1 in namespace matrixx-s1e1
with the
following command:
kubectl patch mtxengines.matrixx.matrixx.com engine-s1e1 -n matrixx-s1e1 -p '{"spec":{"action":"force-stop"}}' --type merge
Start the same engine again with the following command:
kubectl patch mtxengines.matrixx.matrixx.com engine-s1e1 -n matrixx-s1e1 -p '{"spec":{"action":"force-start"}}' --type merge