Kubernetes on bare metal or on OpenStack: how to choose

Both work well in production. The right choice depends on your workloads, your team and how often your clusters change.

// kubernetesNovember 5, 20262 min readHostingCloud.io Team
Engineers and robots working in a futuristic operations centre surrounded by greenery

Once a team decides to run Kubernetes on its own infrastructure rather than a hyperscaler, the next question comes quickly: should the nodes be physical servers, or virtual machines on a private cloud such as OpenStack? We run both, and the honest answer is that each is the better choice in different situations.

Kubernetes on bare metal

Here, every Kubernetes node is a physical server. There is no hypervisor between your containers and the hardware.

  • Maximum performance. Every CPU core, gigabyte of memory and disk is available to your workloads, with no virtualisation layer in the path.
  • Predictable latency. Useful for databases, high-throughput networking and anything sensitive to noisy neighbours.
  • Direct hardware access. GPUs, local NVMe and specialised network cards are simpler to use.
  • Lower cost per unit of compute at steady, high utilisation.

The trade-offs are flexibility and blast radius. Adding a node means provisioning a physical server, a hardware failure takes out a whole node, and it is harder to run many small, isolated clusters on the same hardware.

Kubernetes on OpenStack

Here, nodes are virtual machines on an OpenStack cloud, running on KVM.

  • Elastic. Nodes and whole clusters can be created, resized and destroyed through the API in minutes.
  • Many clusters, well isolated. Separate clusters for teams, environments or customers on the same hardware, each in its own project and network.
  • Integrated infrastructure. Load balancers, persistent volumes and networks come from the cloud, through standard integrations.
  • Easier maintenance. Hardware can be serviced by moving VMs, without rebuilding Kubernetes nodes.

The trade-off is a small virtualisation overhead and one more layer to operate. With modern KVM it is modest for most workloads, but it is real for the most latency-sensitive ones.

Side by side

Bare metalOpenStack
Raw performanceHighestClose, small overhead
Speed of changeHours to add nodesMinutes, via API
Many small clustersHarderNatural fit
GPUs and special hardwareSimplePossible, more setup
Cost at steady, high loadLowestSlightly higher
Layers to operateFewerOne more (the cloud)

A simple rule of thumb

  • Choose bare metal for a few large, long-lived clusters running performance-sensitive workloads: databases, data processing, GPU jobs.
  • Choose OpenStack when you need many clusters, frequent changes, self-service for teams, or when Kubernetes shares the platform with traditional virtual machines.

Many organisations end up with both: an OpenStack cloud for general workloads and development clusters, and dedicated bare-metal nodes for the few systems that need every bit of performance. Because both use the same upstream Kubernetes, workloads can move between them.

What matters more than the choice

Whichever you choose, production Kubernetes lives or dies on the basics: a highly available control plane, tested upgrades, persistent storage you trust, backups you have restored at least once, and monitoring with someone actually on call. Those are the things we focus on first when we build and run clusters.

Sources

← Back to all articles

// next step

Planning a Kubernetes platform?
We run clusters on both, and help you choose.

Tell us what you run today. You get a first outline after the call.