Features of Kubernetes

Features of Kubernetes

In this lesson, we’ll learn about the features that can help us manage containers easily.

Automatic bin packing

Kubernetes automatically packages our application and schedules the container, taking care of the requirements and the resources available. Let’s understand this with an example.

Suppose we have five identical servers with 8 GB memory per server. Now we have a list of jobs, and we need to package these jobs (or applications) on these five bins (servers) in such a way that we don’t lack resources and the applications have high availability. These jobs vary in their memory requirements. Here, Kubernetes aids us by taking care of packaging these jobs (containers) in bins (servers) in an efficient way.

When we specify a Pod, we can optionally specify how many resources like CPU and memory (RAM) each container needs. When containers have resources specified, the automatic bin packing becomes more efficient because the scheduler can more easily decide which nodes to place the Pods on.

Get hands-on with 1200+ tech skills courses.