Technologies · Kubernetes

Keep containerized applications running through failures and traffic peaks

Kubernetes knows how many replicas of your application should run and restarts a broken one, so most failures need no manual intervention.

Desired state“Three copies of this application, always”The platform keeps pulling reality toward the goalReal stateCopy 1Copy 2Copy 3Health checksA copy that stops answering ispulled from traffic and restartedFailoverCopies come up on healthy servers;three copies stay threeResource limitsA memory leak can’t hurt its neighbor;a copy over its limit restartsScaling with loadThe copy count rises withindefined bounds, then falls back

What it does for you

  • Reduce downtime

    A replica that stops responding is taken out of traffic and restarted.

  • Grow capacity with traffic

    When traffic rises, the replica count grows within set limits, and it comes back down when traffic drops.

  • Isolate applications from each other

    A fault in one application can’t use up the memory and CPU of other applications on the same platform.

How it works

  1. 01Health checks
  2. 02Restart after failure
  3. 03Resource limits
  4. 04Scaling with load

Kubernetes doesn’t only run applications; it keeps them running. It does this with a "desired state" approach: you declare a target, such as "run three replicas of this application", and the platform keeps bringing the actual state back to that target.

In production, this comes down to a few mechanisms:

Health checks

The application is probed at set intervals; a replica that doesn’t respond is taken out of traffic and restarted.

Restart after failure

When a physical server fails, its replicas start again on healthy servers; if the target is three replicas, three keep running.

Resource limits

A memory leak in one application can’t affect its neighbors; a replica that exceeds its limit is restarted.

Scaling with load

When traffic rises, the replica count grows automatically within set limits, and falls when traffic drops.

These mechanisms have to be set up correctly: a badly defined health check can keep restarting a healthy application. With the Managed Kubernetes service, these settings are delivered with the values used in production.

Related service:

Managed Kubernetes

Frequently asked questions

What are the benefits of Managed Kubernetes?
The cluster, network, load balancer and container registry come ready, so your teams spend their time on applications instead of infrastructure.
What types of workloads can I run?
Microservices, web applications and APIs. Services that need databases, queues and caches run in the same cluster with Managed Applications.
How long does a cluster take to be ready?
About 20 minutes after the quote is approved.
How do you set up Managed Applications?
In the portal wizard, choose a template, set a name and size, edit Helm values if needed, and deploy.
Which databases and services can I install?
PostgreSQL, MySQL, MongoDB, Kafka and ClickHouse. Stateless web services can also be deployed from any container image.

Contact us

Planning a project or a migration, or have a question about a service? Fill in the form or call 0800 606 1071; we respond within the same business day.