EN
Free assessment

Blog · Kubernetes

When to use Kubernetes and when to avoid it

Use Kubernetes when you run several services that must scale, update without downtime and run the same way in more than one environment. Avoid it when you have one or two simple services, a team with no operations experience and predictable load. In those cases, a managed platform or a well-configured VM costs less.

When to use Kubernetes? In most conversations we have with IT directors, the real question is another one: “do I really need this?” Kubernetes solves serious operational problems at scale, and it brings its own cost in learning, maintenance and security. Drawing on the more than 250 Kubernetes workloads in production that we operate, this article describes when it pays off, when it is overkill and what to look at before deciding.

What Kubernetes solves

Kubernetes is a container orchestrator. It decides which machines each container runs on, restarts what fails, distributes load, updates versions without stopping the service and adjusts the number of replicas to demand. In practice, it delivers:

  • Zero-downtime deployment: gradual rolling updates and fast rollback.
  • Self-healing: a container that crashes is recreated.
  • Horizontal scaling: more replicas when load rises.
  • Standardization: the same way to deploy, configure and monitor every service.
  • Isolation and policies: namespaces, quotas, access control and network rules.
  • Portability: the same model runs on different clouds and locally.

These benefits appear when there are many services and many deployments. With few, the gain is small.

Signs it pays off

  1. Five or more services that evolve at different paces.
  2. Frequent deployments and a need not to take the system down.
  3. Variable load, with spikes that call for automatic scaling.
  4. More than one environment or region, as with a platform that runs in the US and in Brazil with the same configuration.
  5. Messaging and background processing with many consumers that must scale independently.
  6. A team able to operate it, or a partner who operates for you.
  7. A need to standardize security, observability and delivery across teams.

If three or more items apply, Kubernetes enters the conversation (the same rule as the checklist below). On platforms with services in .NET and Python and queues, serving several regions, the cluster has a clear justification. Our Kubernetes and DevOps consulting always starts from this criterion.

Signs it is overkill

  1. One or two services, with no plan to grow.
  2. Stable, predictable load.
  3. A team with no container experience and no partner to operate it.
  4. A monolithic application that starts on one machine and rarely changes.
  5. A tight budget for infrastructure and monitoring.
  6. A simplicity requirement: someone must be able to understand everything in an afternoon.

In these cases, Kubernetes adds moving parts without delivering proportional value.

Simpler alternatives

Alternative Good for Limit
VM with Docker Compose Few services, single environment No built-in scaling or high availability
Platform as a service (App Service and similar) Conventional web apps and APIs Less control and portability
Managed container services Containers without running a cluster Limited features for complex workloads
Serverless functions One-off, event-driven tasks Cost and control on continuous loads
Managed Kubernetes (AKS, EKS, GKE) Several services, scale, portability Requires knowledge and operational discipline

A rule we use: start with the simplest alternative that meets today’s requirements and choose an architecture that allows you to migrate. An application in containers, configuration through variables and an automated pipeline are what keep the door open.

Costs that do not show up in the proposal

Kubernetes is free, but operating a cluster has a cost.

People. You need someone who understands networking, storage, security and version upgrades. If nobody on the team does, the cost is hiring or a partner.

Control plane and nodes. In the cloud, you pay for the machines (nodes) and, with some providers, for the control plane. Poorly sized workloads waste resources. We ran cost studies on AKS clusters precisely to tune sizing.

Observability. Metrics, logs and alerts are mandatory. Prometheus and Grafana cover much of it, and take effort to operate.

Security. Up-to-date images, access control (RBAC), secrets, network policies and vulnerability scanning.

Upgrades. Kubernetes releases versions often and supports each one for a limited time. Whoever does not upgrade is left without security fixes.

Learning curve. The development team must learn to package, configure and debug in a cluster.

A decision example

Consider a company with a .NET web system and a SQL Server database, used by a few hundred users during business hours. Predictable load, one deployment per week, a small team. Here, a managed platform or a well-configured VM, with an automated pipeline and monitoring, does the job with less cost and less risk. Kubernetes would only add operations.

Now consider a platform with an API, queue workers, a transcription service, a web panel and integrations with external providers, which receives message spikes and must stay available across regions. There are many services, independent scaling and a need for standardization. In this scenario, the cluster pays for the investment, and the alternative would be keeping dozens of hand-configured machines.

What separates the two cases is the number of pieces that must grow and change independently.

The most common mistake

The mistake we see most is adopting Kubernetes because “everyone uses it,” without having containers, a pipeline and observability. The cluster becomes an expensive place to run the same mess as before. The healthy order is another: first package the application, then automate delivery, then measure, and only then evaluate orchestration. When those steps are ready, the migration to Kubernetes is a step, not a project of months.

Decision checklist

Answer yes or no:

  • Do we have more than five services, or will we within six months?
  • Do we need to update without taking the system down?
  • Does our load have spikes that require automatic scaling?
  • Do we run, or will we run, in more than one environment or region?
  • Do we have someone to operate a cluster, in-house or a partner?
  • Do we already use containers and a delivery pipeline?
  • Do we have minimum observability (metrics, logs, alerts)?

Three or more “yes” answers indicate it is worth evaluating. With two or fewer, start with the simple alternative.

How to adopt it without pain

If the decision is Kubernetes, these practices reduce risk:

  1. Use a managed service, such as AKS, instead of building the cluster yourself.
  2. Define the deployment standard (Helm or versioned manifests) and keep everything in a repository.
  3. Automate delivery with CI/CD. No manual kubectl in production.
  4. Set resource limits on each workload, so a misbehaving service does not consume the cluster.
  5. Build observability from day one.
  6. Separate environments by namespace or by cluster.
  7. Plan upgrades of versions and images.
  8. Start with one service and migrate the others in stages.

With a ready base of cluster, pipeline, observability and policies, this path fits in weeks. That is how we operate the platforms under our care, such as Regina Festas: the pattern repeats, and the team does not reinvent infrastructure in each project. For more technical detail, see our page on Kubernetes experts.

And the question of company size

What decides is the number of services, the frequency of change and the need for scale. A mid-size company with two stable systems can do very well with a managed platform. A small company with a platform of several queues and consumers may need a cluster early. Judge by the load profile, not by size.

How we can help

We do three things. We evaluate whether you need Kubernetes, and we say “no” when that is the case. When it makes sense, we deploy a managed cluster with pipeline, observability and security. And we take over operations or train your team. The assessment is free and ends with a written recommendation.

Want to know whether your case calls for a cluster? Ask for the free assessment.

Valdez Bonfim, founder of iTask.

FAQ

Questions on this topic

Is Kubernetes worth it for small and mid-size companies?

It is when there are several services, load spikes or a need for zero-downtime deployment. For a single application with steady load, it is usually overkill. The biggest cost is operations, not licensing, since Kubernetes itself is free.

What are the alternatives to Kubernetes?

Managed container services (such as Azure Container Apps, AWS ECS or Google Cloud Run), platform as a service, Docker Compose on a VM and traditional hosting. Each has limits on control and portability.

Managed Kubernetes or self-managed?

In most cases, managed (AKS, EKS, GKE). The provider runs the control plane and you take care of the workloads. Self-managed only pays off with a dedicated infrastructure team and specific requirements.

How long does it take to put Kubernetes into production?

With a ready base of cluster, pipeline, observability and policies, weeks. Building everything from scratch, with the team learning along the way, tends to take months. That is why we reuse proven Kubernetes boilerplates.

Can I start without Kubernetes and migrate later?

You can, and it is often the right path. If the application already runs in containers, takes per-environment configuration and has a pipeline, migrating to Kubernetes later is an infrastructure step, not a rewrite.

Tell us what you need to build.

Ask for a free assessment and get a clear path for your project, with no commitment.

Free assessment