Skip to content
Stribog

Infrastructure

All writing

OpenStack vs Kubernetes: Choosing the Layer You Live With

OpenStack vs Kubernetes is a layer decision, not a duel: compare tenancy, upgrade cadence, on-call load and exit cost before choosing which owns the metal.

By 13 min read

Two credible answers come back when a team decides to run its own infrastructure. One is OpenStack, the private-cloud stack that sovereign cloud initiatives still build on. The other is Kubernetes, which most greenfield platform teams reach for first. Comparisons between them tend to stop at "IaaS versus container orchestration" and crown neither.

That is accurate and not very useful. This article treats the choice as what it actually is in production: a decision about which layer owns the hardware, who the tenants are, how many upgrades a year the team signs up for, and what it would cost to change the answer in year four. It is a decision made once and lived with for a decade, so it deserves to be made on the operational bill rather than on fashion.

Two answers to running your own infrastructure

OpenStack is a set of cooperating services that together behave like a public cloud's infrastructure API. Keystone handles identity and tenancy. Nova schedules virtual machines. Neutron is, in its own words, the project that provides "network connectivity as a service" between interface devices. Cinder provides block volumes. Ironic provisions bare metal, as opposed to virtual, machines. A tenant logs in and gets machines, networks and disks they can create and destroy without filing a ticket.

Kubernetes is explicit about what it is not. Its overview says it is "not a traditional, all-inclusive PaaS," that it "operates at the container level rather than at the hardware level," and that it does not provide "any comprehensive machine configuration, maintenance, management, or self-healing systems." It assumes machines already exist and schedules containers across them.

So "OpenStack vs Kubernetes" asks two tools to compete for a slot that only one of them is designed to fill. Serious sovereign stacks routinely carry both. The Sovereign Cloud Stack documentation describes OpenStack infrastructure "based on KVM virtualization" alongside a solution for "managing container workloads on a Kubernetes infrastructure." The interesting question is not which one wins. It is which one sits directly on the metal, and which one sits on top.

Three topologies, one of which touches the metal

Strip away the vendor packaging and there are three shapes in use. Each answers "who owns the hardware" differently.

A — Kubernetes on bare metal

Kubernetes runs directly on servers, and something Kubernetes-native enrols and images those servers. With Metal3, the Bare Metal Operator "automates the provisioning of bare-metal servers using the open-source Ironic project," and the project ships a container image "used to run OpenStack Ironic as part of Metal3." Ironic's own documentation says it "may be used independently or as part of an OpenStack Cloud." The irony is worth noticing: the purest "Kubernetes on bare metal" stack already contains a piece of OpenStack. The provisioner trade-offs are covered in Tinkerbell vs Metal3 vs Sidero Omni.

Virtual machines, where they are still needed, become a workload inside the cluster. KubeVirt states its purpose as combining "existing virtualized workloads with new container workloads on the one platform." (For the migration side, see the VMware-exit walkthrough.)

B — Kubernetes on OpenStack

OpenStack owns the metal and hands out VMs or bare-metal nodes per tenant project. Kubernetes clusters are created on top, usually through Cluster API Provider OpenStack (CAPO), which describes itself as "Kubernetes-native declarative infrastructure for OpenStack." OpenStack's own container service points the same way: Magnum is an OpenStack API service that makes container orchestration engines available, and its user guide marks the Heat driver as "deprecated in favor of the k8s_capi_helm or k8s_cluster_api driver." OpenStack's own Kubernetes service is converging on Cluster API too.

C — OpenStack on Kubernetes

Kubernetes owns the metal, and the OpenStack control plane runs as Kubernetes workloads. OpenStack-Helm exists to provide "a collection of Helm charts that simply, resiliently, and flexibly deploy OpenStack and related services on Kubernetes." Tenants still see OpenStack: Keystone projects, Neutron networks, Nova VMs. The non-Kubernetes alternative for the same job is Kolla Ansible, which "deploys OpenStack services and infrastructure components in Docker containers."

Ironic appears in two of the three stacks and Kubernetes in all three. The difference is which layer holds the BMC credentials and where a tenant ends.

The components overlap more than the "vs" framing suggests. What does not overlap is the tenant model and the upgrade contract, and those two decide the bill.

Tenancy: the deciding question

OpenStack is built around tenants. In Keystone, a project is "a container that groups or isolates resources or identity objects" and, depending on the operator, "might map to a customer, account, organization, or tenant." Domains are "a collection of projects and users that define administrative boundaries." Networks, VMs, volumes and images belong to a project, and a tenant can build their own topology inside it.

Kubernetes is built around a cluster. Its multi-tenancy documentation is candid: "Kubernetes does not have first-class concepts of end users or tenants," though it "provides several features to help manage different tenancy requirements." A Namespace isolates "groups of API resources within a single cluster," and the same page distinguishes "hard" multi-tenancy, which "implies strong isolation," from "soft" multi-tenancy, which "implies weaker isolation." Getting to the hard end inside one cluster is a project in itself; vCluster is one route.

That gives a clean first test. Ask who the tenants are:

  • One organisation, one platform team, mostly containerised workloads. Namespaces, RBAC and per-team clusters are enough. Topology A, with KubeVirt or a separate hypervisor for the stragglers.
  • Many teams with separate budgets who expect self-service VMs and networks. Something must hand out first-class projects. Topology B or C.
  • External tenants, or a cloud that sells capacity. Tenant isolation is the product, and OpenStack's model is designed for it. Topology B or C.
  • A few VMs that cannot be containerised and no tenants at all. Neither layer needs to be OpenStack; a hypervisor such as Proxmox VE may be the honest answer.

The boundary is visible from the command line on each side. In OpenStack, a tenant is a Keystone object with networks attached to it. In Kubernetes, the nearest equivalent is a namespace inside a cluster whose version you also have to track:

bash
# OpenStack: tenants are Keystone projects that own networks
openstack project list
openstack network list --project "$PROJECT_ID"

# Kubernetes: the nearest unit is a namespace inside one cluster
kubectl get namespaces
kubectl version
Read-only inspection. Set PROJECT_ID to a project ID from the first command's output.

Upgrade contracts and who is on call

Staffing is where the decision is usually felt and least often priced. No primary source gives an honest headcount for running either platform, and any figure quoted without one should be treated as marketing. What both projects do publish is their upgrade contract, and that contract is what fills an on-call rota.

OpenStack: twice a year, or once with SLURP

OpenStack "is developed and released around 6-month cycles," per the releases page. The most recent released series is 2026.2 Hibiscus, released 2026-09-30; 2027.1 Indri is in development. Since the 2022 cadence resolution, every other release is a SLURP (Skip Level Upgrade Release Process) release, and "deployments wishing to move to a one year upgrade cycle will synchronize on a SLURP release." The project-team guide states the limits: upgrades are supported between SLURP releases and between adjacent releases, and "upgrades that span more than one SLURP cycle are not tested or required."

Support windows follow from that. A stable branch is Maintained for "approximately 18 months," per the stable-branch policy, and "only SLURP branches are eligible for Unmaintained status" afterwards. 2025.1 Epoxy is already listed as Unmaintained. Nova supports the arrangement at the service level: as of 2023.1, it supports N and N-2 nova-compute or nova-conductor services coexisting in one deployment. That envelope varies by release and is stated in each release's notes, and nova-conductor will fail to start if it detects a nova-compute older than the envelope. Do not read it as a promise of a live skip-level upgrade: the project-team guide supports upgrades between adjacent SLURP releases but says the scheme does not necessarily require live or rolling upgrades between SLURP releases, because RPC compatibility can remain N to N-1. Plan for some downtime on that hop.

Kubernetes: three minors a year, no skipping

Kubernetes releases "happen approximately three times per year" (release cycle). The project maintains release branches for the three most recent minors, currently 1.37, 1.36 and 1.35, and supports each patch series for "roughly fourteen (14) months," the first twelve of which are the standard period (patch releases). The version-skew policy requires kube-apiserver "to not skip minor versions when upgrading, even in single-instance clusters." A kubelet may be up to three minor versions older than the apiserver, so nodes can lag; the control plane cannot.

OpenStack lets a team choose one large upgrade a year. Kubernetes asks for several small ones, and does not let any of them be skipped.

Translate that into a calendar. An OpenStack team on SLURP performs one major upgrade a year, but it is an upgrade of many services at once: identity, compute, networking, storage, bare metal, plus the database and message queue they share. A Kubernetes team that wants to stay inside support performs several control-plane upgrades a year. A team that falls behind does not get to catch up in one jump; it performs the missed hops back to back.

The topologies compound this. Topology A carries one calendar. Topology B carries both: the OpenStack upgrade below, and every tenant cluster's Kubernetes upgrades above, which CAPO makes declarative but does not make optional. Topology C carries both too, with the twist that the Kubernetes calendar now sits beneath the cloud's own control plane. It also inherits the deployer's support matrix: the OpenStack-Helm readme lists, for 2025.2, 2026.1 and 2026.2, Kubernetes >=1.33 and <=1.35 as the tested and proved combinations. A host cluster on 1.36 or 1.37 is outside that published matrix. That does not make it impossible, but it is untested by the project, so the host cluster's upgrade pace is set by the charts, not by the Kubernetes release calendar.

What breaks, layer by layer

Each layer has a characteristic failure shape, and the shape tells you who gets paged.

  • Kubernetes on metal. The cluster's state lives in etcd behind the apiserver; lose quorum and the API is gone. The quieter failure is calendar drift: a cluster that misses two upgrade windows has to run the hops in sequence, under pressure, because the apiserver cannot skip.
  • OpenStack on metal. Failure is distributed across many services, each with its own API, agents and upgrade notes. A fault in shared infrastructure such as the database or message queue surfaces as symptoms in several services at once, which makes diagnosis a skill that takes time to build.
  • Kubernetes on OpenStack. Tenant clusters depend on the OpenStack APIs for machine lifecycle. As a general engineering expectation, an OpenStack control-plane outage stops creation, scaling and replacement of machines before it touches workloads that are already running — but an autoscaler or a failed node then has nowhere to go.
  • OpenStack on Kubernetes. The cloud's API now shares a failure domain with the platform cluster under it. A Kubernetes upgrade that goes wrong is no longer a platform incident; it is an outage of every tenant's self-service API.

None of these is a reason to rule a topology out. Each is a reason to decide, before the first server is racked, which team owns which pager.

Concrete config: Kubernetes on OpenStack with Cluster API

The APIs show the layering more plainly than any diagram. In topology A, Kubernetes holds the BMC credentials directly. A Metal3 BareMetalHost enrols one server; the credentials Secret must carry username and password keys, and bootMACAddress must be a real NIC's MAC, never the BMC's.

yaml
apiVersion: v1
kind: Secret
metadata:
  name: node-0-bmc-secret
  namespace: metal3
type: Opaque
stringData:
  username: admin
  password: change-me
---
apiVersion: metal3.io/v1alpha1
kind: BareMetalHost
metadata:
  name: node-0
  namespace: metal3
spec:
  online: true
  bootMACAddress: "52:54:00:12:34:56"
  bmc:
    address: redfish-virtualmedia://192.0.2.10/redfish/v1/Systems/1
    credentialsName: node-0-bmc-secret
Topology A: Kubernetes owns the server through Metal3. Redfish virtual media address; the documentation addresses are placeholders.

In topology B, Kubernetes holds no BMC credentials at all. It holds an OpenStack credential scoped to one tenant, and asks OpenStack for machines. CAPO's current API is infrastructure.cluster.x-k8s.io/v1beta2, in which flavor became a structured object and the API-server load balancer moved under spec.apiServer:

yaml
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
kind: OpenStackCluster
metadata:
  name: team-a
  namespace: team-a
spec:
  identityRef:
    name: team-a-cloud-config
    cloudName: team-a
  externalNetwork:
    filter:
      name: public
  managedSubnets:
    - cidr: 10.6.0.0/24
      dnsNameservers:
        - 10.6.0.2
  apiServer:
    managedLoadBalancer:
      enabled: true
  managedSecurityGroups:
    allowAllInClusterTraffic: false
---
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
kind: OpenStackMachineTemplate
metadata:
  name: team-a-control-plane
  namespace: team-a
spec:
  template:
    spec:
      flavor:
        filter:
          name: m1.large
      image:
        filter:
          name: ubuntu-2404-kube-v1.37
      sshKeyName: team-a-ops
Topology B: a CAPO v1beta2 cluster and control-plane machine template. Shape follows CAPO's own cluster template.

The identityRef points at a Secret holding a clouds.yaml, and cloudName selects an entry in it. Using a Keystone application credential keeps the cluster's access inside the tenant's project rather than borrowing a person's login:

yaml
clouds:
  team-a:
    auth:
      auth_url: https://keystone.cloud.internal:5000/v3
      application_credential_id: "REPLACE_WITH_APP_CREDENTIAL_ID"
      application_credential_secret: "REPLACE_WITH_APP_CREDENTIAL_SECRET"
    auth_type: v3applicationcredential
    region_name: RegionOne
    interface: public
    identity_api_version: 3
clouds.yaml for CAPO's identity Secret. Replace the REPLACE_WITH values with the application credential issued in the tenant's project.

Read the two YAML documents side by side and the trade is visible. In A, the platform team can power-cycle hardware from kubectl. In B, a tenant's cluster can only ask for flavors and images the cloud offers inside its own project, which is exactly the isolation a multi-tenant estate wants and exactly the indirection a single-team estate does not need.

What the auditor is shown

Both platforms can produce evidence of tenant separation; they produce different kinds. In OpenStack, the tenant is a named Keystone object: project and domain listings, role assignments, and the networks each project owns are the artefacts, and they map directly onto "customer, account, organization, or tenant." That is an administrative boundary, and the hypervisor and network isolation beneath it still need their own evidence.

In Kubernetes, tenant evidence is assembled from namespaces, RBAC bindings and NetworkPolicy, and is only as strong as the enforcement behind it; auditing default-deny NetworkPolicy is its own discipline. The honest description for a shared cluster uses the documentation's own word, "soft," unless tenants get separate clusters. Overstating either platform's isolation to an auditor is a finding waiting to happen.

Exit ramps: the cost of changing your mind

Every topology has an exit, and the costs are lopsided. None of the following carries a duration, because no source supports one; the shape of the work is what matters.

  • Leaving A. Workloads are Kubernetes manifests and move to any conformant cluster. Hardware is enrolled through Ironic underneath Metal3, so the BMC inventory is the same kind of data an OpenStack Ironic deployment consumes. Moving to B means re-enrolling servers, not reinventing the inventory.
  • Leaving B. The Kubernetes clusters on top are declarative, and Cluster API has providers for other infrastructure. The tenants are the hard part: every Keystone project, network, image and volume a tenant built through self-service has to be recreated or abandoned somewhere else. That is a re-onboarding of every tenant.
  • Leaving C, or swapping its installer. Tenants see OpenStack APIs, not the deployment tool, so moving between OpenStack-Helm and Kolla Ansible is a control-plane migration that tenants should not notice. It is still a full cloud control-plane migration.

The pattern is that the layer touching the metal is the expensive one to change, because changing it touches every server's enrolment, boot path and network, and every tenant built on top. The layers above are comparatively portable. That is the strongest argument for keeping the bottom layer as boring and open as possible, and for pricing the whole estate honestly, as in a five-year TCO model, before committing.

Deciding once, for a decade

  1. Tenants first. If you need first-class, self-service tenants, an OpenStack layer exists in your stack. If you do not, it probably should not.
  2. Calendar second. Choose between one large yearly SLURP upgrade and several unskippable Kubernetes minors a year, and remember that B and C carry both.
  3. Pager third. Name which team owns the metal layer's outages before choosing which project sits there.
  4. Exit always. Write down what leaving each layer would involve, and prefer the topology whose expensive layer you are least likely to change.

Governance is a long-game input too. Kubernetes sits in the CNCF; the OpenInfra Foundation now describes itself as "a part of the Linux Foundation," after the March 12, 2025 announcement that it intended to join as a member foundation following unanimous approval by both boards. Both layers now have open, neutral homes. That is the condition that makes a ten-year commitment to either defensible, and the reason the decision can be made on engineering grounds rather than on fear of a vendor. For the wider build-or-buy framing, see the European sovereign cloud framework.

§FAQ/Common questions

Frequently asked

Is OpenStack or Kubernetes better for on-premise infrastructure?

Neither, as a blanket answer, because they manage different layers. OpenStack provides self-service VMs, networks, volumes and bare metal to many tenants through Keystone projects. Kubernetes orchestrates containers and, per its own docs, has no first-class tenant concept and does not manage machines. Choose by tenancy needs, upgrade cadence and who is on call.

Can you run Kubernetes on OpenStack?

Yes. Cluster API Provider OpenStack (CAPO) creates Kubernetes clusters declaratively on OpenStack, using an application credential in a clouds.yaml Secret. OpenStack's Magnum service has deprecated its Heat driver in favour of Cluster API drivers, so Magnum's forward path for Kubernetes is Cluster API as well.

How often must OpenStack and Kubernetes be upgraded?

OpenStack releases around every six months, and every other release is a SLURP that supports skip-level upgrades, allowing a one-year cycle. Kubernetes releases about three minors a year, supports each patch series for roughly 14 months, and does not allow kube-apiserver to skip a minor version.

Does Kubernetes on bare metal avoid OpenStack entirely?

Not necessarily. Metal3's Bare Metal Operator provisions servers using Ironic, and Metal3 ships a container image that runs OpenStack Ironic. Ironic can be used on its own or as part of an OpenStack cloud, so a Metal3 stack already contains one OpenStack component.

openstack vs kubernetesopenstack vs kubernetes on premisesovereign iaas platform selectionopenstack production operational burdenbare metal as a service self hostedprivate cloud platform decision framework

Executive Briefing

Thirty minutes to clarify your infrastructure risk

Walk us through your vendor footprint and regulatory constraints. We will tell you honestly where sovereignty creates leverage — and where it does not. No pitch deck. No obligation.