# How to deploy in existing cluster?

**URL:** <https://forums.suse.com/t/how-to-deploy-in-existing-cluster/10785>\
**Category:** SUSE Rancher Prime\
**Created:** [June 16, 2018, 1:32pm UTC](https://forums.suse.com/t/how-to-deploy-in-existing-cluster/10785 "2018-06-16T13:32:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![flypenguin](https://avatars.discourse-cdn.com/v4/letter/f/e480ec/32.png) [@flypenguin](https://forums.suse.com/u/flypenguin)\
**Post date:** [June 16, 2018, 1:32pm UTC](https://forums.suse.com/t/how-to-deploy-in-existing-cluster/10785/1 "2018-06-16T13:32:19Z")

</div>

Hi all, that might be a stupid question - but how can I deploy a “production-ready” Rancher instance in an existing k8s cluster? I didn’t find this in the docs …

thanks for any help!  
Cheers,  
Axel.

---

<div class="post-metadata">

**Author:** ![dhawton](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/dhawton/32/4131_2.png) [@dhawton](https://forums.suse.com/u/dhawton)\
**Post date:** [June 17, 2018, 12:25pm UTC](https://forums.suse.com/t/how-to-deploy-in-existing-cluster/10785/2 "2018-06-17T12:25:00Z")

</div>

You setup rancher outside of the k8 cluster in the same way as the docs list, then when inside Rancher, when you create a cluster there is an “Import” button to import existing k8 clusters. Rancher itself runs outside the cluster.

---

<div class="post-metadata">

**Author:** ![dhawton](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/dhawton/32/4131_2.png) [@dhawton](https://forums.suse.com/u/dhawton)\
**Post date:** [June 17, 2018, 12:26pm UTC](https://forums.suse.com/t/how-to-deploy-in-existing-cluster/10785/3 "2018-06-17T12:26:19Z")

</div>

![](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/c/c084a9fde531b94b0d517353f75c56d9fb419b4f.png)

---

<div class="post-metadata">

**Author:** ![flypenguin](https://avatars.discourse-cdn.com/v4/letter/f/e480ec/32.png) [@flypenguin](https://forums.suse.com/u/flypenguin)\
**Post date:** [June 17, 2018, 6:04pm UTC](https://forums.suse.com/t/how-to-deploy-in-existing-cluster/10785/4 "2018-06-17T18:04:04Z")

</div>

weeeeeeell … I would strongly disagree. 🙂 to quote the docs here:

> This set of instructions creates a new Kubernetes cluster that’s dedicated to running Rancher in a high-availability (HA) configuration. This procedure walks you through setting up a 3-node cluster using the Rancher Kubernetes Engine (RKE). The cluster’s sole purpose is running pods for Rancher.

So IMHO this should be possible. I just want to know the manual steps, cause I already _have_ a cluster. 😉

---

<div class="post-metadata">

**Author:** ![dhawton](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/dhawton/32/4131_2.png) [@dhawton](https://forums.suse.com/u/dhawton)\
**Post date:** [June 17, 2018, 6:29pm UTC](https://forums.suse.com/t/how-to-deploy-in-existing-cluster/10785/5 "2018-06-17T18:29:47Z")

</div>

You’re trying to deploy Rancher Server into your existing cluster? I don’t think THAT is possible, I know it’s not recommended… Rancher Server should be running separately from your workloads.

---

<div class="post-metadata">

**Author:** ![flypenguin](https://avatars.discourse-cdn.com/v4/letter/f/e480ec/32.png) [@flypenguin](https://forums.suse.com/u/flypenguin)\
**Post date:** [June 17, 2018, 6:43pm UTC](https://forums.suse.com/t/how-to-deploy-in-existing-cluster/10785/6 "2018-06-17T18:43:04Z")

</div>

Again I would disagree. Why should it? Rancher itself is also just a workload. And I don’t _need_ to manage _all_ of my clusters with it 😉 …

---

<div class="post-metadata">

**Author:** ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)\
**Post date:** [June 17, 2018, 9:46pm UTC](https://forums.suse.com/t/how-to-deploy-in-existing-cluster/10785/7 "2018-06-17T21:46:19Z")

</div>

It is possible, you can run it as a deployment. But it’s not documented because it’s not generally a good idea, and it is _not_ just another workload. It’s a workload which creates CRDs that control access to all other clusters tied to it, now running on your existing cluster that probably has very coarse RBAC to control who can modify them, if RBAC is enabled at all.
