# How do I stop an instance of Kotsadm?

**URL:** <https://community.replicated.com/t/how-do-i-stop-an-instance-of-kotsadm/684>\
**Category:** How do I?\
**Created:** [January 31, 2022, 3:16pm UTC](https://community.replicated.com/t/how-do-i-stop-an-instance-of-kotsadm/684 "2022-01-31T15:16:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![y84](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/y84/32/224_2.png) [@y84](https://community.replicated.com/u/y84)\
**Post date:** [January 31, 2022, 3:16pm UTC](https://community.replicated.com/t/how-do-i-stop-an-instance-of-kotsadm/684/1 "2022-01-31T15:16:56Z")

</div>

What is the proper way of stopping a Kotsadm instance?

Are the following commands enough?

```auto
sudo systemctl stop kube-apiserve.service
sudo systemctl disable kube-apiserve.service

sudo systemctl stop kubelet.service
sudo systemctl disable kubelet.service

```

Thanks!

---

<div class="post-metadata">

**Author:** ![AJ-Jester](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/aj-jester/32/94_2.png) [@AJ-Jester](https://community.replicated.com/u/AJ-Jester)\
**Post date:** [January 31, 2022, 8:30pm UTC](https://community.replicated.com/t/how-do-i-stop-an-instance-of-kotsadm/684/2 "2022-01-31T20:30:03Z")

</div>

Hey Y! How are ya?

So those commands will stop the entire k8s cluster along with the app. I don’t think you want to run these unless under unusual circumstances.

Just curious what is the purpose of stopping the kotsadm instance? Are you trying to restart something?

Thanks!

---

<div class="post-metadata">

**Author:** ![y84](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/y84/32/224_2.png) [@y84](https://community.replicated.com/u/y84)\
**Post date:** [January 31, 2022, 9:21pm UTC](https://community.replicated.com/t/how-do-i-stop-an-instance-of-kotsadm/684/3 "2022-01-31T21:21:07Z")

</div>

Hi AJ!

Thanks for the quick response!  
One of our client wants to put its server in “maintenance mode” for internal reasons.

Is there any problem running these? Are there other services to stop?

Thanks!

Y.

---

<div class="post-metadata">

**Author:** ![AJ-Jester](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/aj-jester/32/94_2.png) [@AJ-Jester](https://community.replicated.com/u/AJ-Jester)\
**Post date:** [January 31, 2022, 9:44pm UTC](https://community.replicated.com/t/how-do-i-stop-an-instance-of-kotsadm/684/4 "2022-01-31T21:44:24Z")

</div>

No problem. If you use `docker` there is also docker service you might need to stop but other than that I can’t think of anything. 😄

---

<div class="post-metadata">

**Author:** ![y84](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/y84/32/224_2.png) [@y84](https://community.replicated.com/u/y84)\
**Post date:** [January 31, 2022, 10:14pm UTC](https://community.replicated.com/t/how-do-i-stop-an-instance-of-kotsadm/684/5 "2022-01-31T22:14:11Z")

</div>

Awesome, thanks a lot!
