---
title: Restart Swimlane Services for Swimlane 10.x
slug: install-10x/restart-swimlane-services-for-swimlane-10x
docTags: 
createdAt: 2025-12-15T07:20:31.786Z
---

In Swimlane, there are four main services that make up the server:

- Web
- Tasks
- API
- MongoDB

In certain circumstances, it may be necessary to restart any one of these services. The instructions vary based on which platform Swimlane is running on.

1. Login to a Swimlane master
2. Scale down api, tasks, and web deployment to 0

:::BlockQuote{indent="1"}
\# Get replicasets
kubectl get replicasets --namespace=\<namespace>
kubectl scale replicaset/\<api-set> replicaset/\<tasks-set> replicaset/\<web-set> --replicas=0 --namespace=\<namespace>
:::

3. Scale down mongo sts down to 0

:::BlockQuote{indent="1"}
\# Get statefulset
kubectl get sts --namespace=\<namespace>
kubectl scale sts/\<sts-mongo-name> --replicas=0
:::

4. Confirm all pods have terminated properly

:::BlockQuote{indent="1"}
kubectl get pods -w -n \<namespace>
:::

5. Scale up mongo sts to 3

:::BlockQuote{indent="1"}
kubectl scale sts/\<sts-mongo-name> --replicas=3
:::

6. Scale up api, tasks, and web deployment up to 3

:::BlockQuote{indent="1"}
kubectl scale replicaset/\<api-set> replicaset/\<tasks-set> replicaset/\<web-set> --replicas=3 --namespace=\<namespace>
:::

