<p>Yes, there is a supported method of doing this. You can install <a href="https://wiki.openstack.org/wiki/Magnum" rel="nofollow noreferrer">Magnum (which is itself an OpenStack project)</a>. This will allow you to install any Container Orchestration Engine (COE), including Swarm, Kubernetes, Mesos, and DC/OS. It does this by provisioning an infrastructure cluster of raw OpenStack resources like Nova (the OpenStack compute resource) per-tenant, and installing the COE on the top of it giving you access to the cluster through <code>kubectl</code>.</p>
<h2>Links</h2>
<ul>
<li><a href="https://wiki.openstack.org/wiki/Magnum" rel="nofollow noreferrer">https://wiki.openstack.org/wiki/Magnum</a></li>
<li><a href="https://www.youtube.com/watch?v=nxPUd8ZZuD0" rel="nofollow noreferrer">OpenStack 2017 Conf - Magnum 101 Introduction</a></li>
</ul>

CC BY-SA 4.0
2022-02-02T17:03:00.553Z
2022-02-02T17:09:17.447Z
2022-02-02T17:09:17.447Z
Evan Carroll
<p>Just to be clear, Magnum requires cloud operators to install it first on the Openstack first. Then, users are able to provision kubernetes clusters.</p>
<p>If you are looking to run your own k8s clusters inside VMs, there is <a href="https://rancher.com/docs/rke/latest/en/config-options/cloud-providers/openstack/" rel="nofollow noreferrer">Rancher Openstack operator</a></p>

CC BY-SA 4.0
2022-02-23T02:09:58.280Z
2022-02-23T02:09:58.280Z
LaurentDumont
<p>If I want to install Kubernetes on OpenStack, is there a supported method to do this?</p>

<kubernetes><docker-swarm><openstack>
What is the supported method for installing Kubernetes on OpenStack?
Evan Carroll
# What is the supported method for installing Kubernetes on OpenStack?

(Asked by: username_0 on 2022-02-02)

If I want to install Kubernetes on OpenStack, is there a supported method to do this?

**Tags:** kubernetes, docker-swarm, openstack


---

## 2 answers

### Answer by username_0 on 2022-02-02. Score: 1 | Accepted answer

Yes, there is a supported method of doing this. You can install [Magnum (which is itself an OpenStack project)](https://wiki.openstack.org/wiki/Magnum). This will allow you to install any Container Orchestration Engine (COE), including Swarm, Kubernetes, Mesos, and DC/OS. It does this by provisioning an infrastructure cluster of raw OpenStack resources like Nova (the OpenStack compute resource) per-tenant, and installing the COE on the top of it giving you access to the cluster through `kubectl`.

## Links

* <https://wiki.openstack.org/wiki/Magnum>
* [OpenStack 2017 Conf - Magnum 101 Introduction](https://www.youtube.com/watch?v=nxPUd8ZZuD0)


---

### Answer by username_1 on 2022-02-23. Score: 1

Just to be clear, Magnum requires cloud operators to install it first on the Openstack first. Then, users are able to provision kubernetes clusters.

If you are looking to run your own k8s clusters inside VMs, there is [Rancher Openstack operator](https://rancher.com/docs/rke/latest/en/config-options/cloud-providers/openstack/)


---

