Restarting Connectware
Learn how to safely restart Connectware.
Verifying after Restarting
Troubleshooting when Restarting Fails
Last updated
Was this helpful?
Learn how to safely restart Connectware.
Last updated
Was this helpful?
Was this helpful?
CONTROL_PLANE_REPLICAS=$(kubectl get --no-headers -o custom-columns=":spec.replicas" sts control-plane-broker -n $CONNECTWARE_NS)kubectl get deploy,sts -n $CONNECTWARE_NS -o name | xargs -I % kubectl scale -n $CONNECTWARE_NS % --replicas 0while [ True ]; do clear; kubectl get pod -n $CONNECTWARE_NS ; sleep 5; donekubectl get deploy,sts -n $CONNECTWARE_NS -o name | xargs -I % kubectl scale -n $CONNECTWARE_NS % --replicas 1kubectl -n $CONNECTWARE_NS scale sts broker --replicas $BROKER_REPLICASkubectl -n $CONNECTWARE_NS scale sts control-plane-broker --replicas $CONTROL_PLANE_REPLICASwhile [ True ]; do clear; kubectl get pod -n $CONNECTWARE_NS ; sleep 5; donedocker compose downdocker compose up -d