Diese Seite ist nur auf Englisch verfügbar.

Start and shutdown

The modules in the SOT Infrastructure Helm chart can be started and stopped easily. Please check your existing number of replicas for your applications.

kubectl get statefulset,deployment -n module_namespace

Example output:

NAME                                     READY   AGE
statefulset.apps/rabbitmq-statefulset    3/3     23d

In this example the resource type for RabbitMQ is statefulset.apps and the name of the statefulset is called rabbitmq-statefulset.

The 3/3 means there are three running pods out of the expected quantity of total three pods.

Shutdown module

For shutting down SOT Infrastructure module, run following command in the cluster.

kubectl scale <resource_type>/<app_name> -n module_namespace --replicas=0

This will set the replica for the module to zero. This way a controlled stopped will be achieved. Please save the numbers of replicas that are present for each module so they can be re-scaled at a later time.

Start SOT infrastructure module

For starting the SOT Infrastructure middleware applications, run following command in the cluster.

kubectl scale <resource_type>/<app_name> -n module_namespace --replicas=x

x is number of replicas that the module previously had.

Edit this pageDiese Seite bearbeiten

Feedback on this pageFeedback zu dieser Seite