April 27, 2020 / Nirav Shah
In this blog, we will explain to you about Kubernetes. But before we move on to this topic let us first know the difference between <strong>container vs container orchestration</strong>.
Going by the official definition “<strong>container</strong> image is a lightweight, standalone, executable package of software that includes everything needed to run an application: code, runtime, system tools, system libraries and settings.”
and “<strong>container orchestration</strong> is the automatic process of managing or scheduling the work of individual containers for applications based on microservices within multiple clusters.”
Other Container orchestration are
<ul class=”listing”>
<li>Red Hat OpenShift</li>
<li>Amazon ECS</li>
<li>Nomad</li>
<li>OpenStack</li>
<li>Rancher</li>
</ul>
<h2><b>Kubernetes and Docker Swarm Containerization</b></h2>
But in this blog we will see about Kubernetes and Docker Swarm Containerization or container orchestration Platforms.
<strong style=”font-style: italic;”>kubernetes is developed by Google platform and the main purpose is to manage a containerized application in various types of physical, virtual and cloud environments. Google Kubernetes is a highly flexible container tool to deliver even complex applications, consistently. Applications run on clusters of hundreds to thousands of individual servers.</strong>
Kubernetes is the Linux kernel which is used for distributed systems. It helps you to abstract the underlying hardware of the nodes(servers) and offers a consistent interface for applications that consume the shared pool of resources.
<h2><b>Platform features which Kubernetes offers</b></h2>
Some of the platform features which Kubernetes offers are:
<ol class=”listing”>
<li>Container grouping using pod</li>
<li>Self-healing</li>
<li>Auto-scalability</li>
<li>DNS management</li>
<li>Load balancing</li>
</ol>
<h2><strong>Important basics of kubernetes</strong></h2>
<strong>Cluster:</strong> It is a collection of hosts (servers) that helps you to aggregate their available resources. That includes ram, CPU, ram, disk.
<strong>Master:</strong> The master is a collection of components which make up the control panel of Kubernetes. These components are used for all cluster decisions.
<strong>Node:</strong> It is a single host which is capable of running on a physical or virtual machine. A node should run both kube-proxy, minikube, and kubelet which are considered as a part of the cluster.
<strong>Namespace:</strong> It is a logical cluster or environment. It is a widely used method which is used for scoping access or dividing a cluster.
<h2><b>Architecture diagram of K8S</b></h2>
<img class=”img-responsive” src=”https://www.eternalsoftsolutions.com/blog/wp-content/uploads/2020/04/K8S-2.png” />
If you want to more in details for each componentes please refer to below link
<a class=”linkcolor” href=”https://phoenixnap.com/kb/understanding-kubernetes-architecture-diagrams” target=”_blank” rel=”noopener”>https://phoenixnap.com/kb/understanding-kubernetes-architecture-diagrams</a>
<h2><b>Difference between Docker Swarm vs Kubernetes</b></h2>
<img class=”img-responsive” src=”https://www.eternalsoftsolutions.com/blog/wp-content/uploads/2020/04/K8S-1.png” />
<h2><strong>Summary</strong></h2>
<ul class=”listing”>
<li>Container helps an organization to perform maintenance and update without interrupting services</li>
<li>Kubernetes is an example of a container management system developed in the Google platform.</li>
<li>The biggest advantage of using Kubernetes is that it can run on-premises OpenStack, public clouds Google, , AWS, etc.</li>
<li>Docker swarm does not allow auto-scaling while Kubernetes allows auto-scaling.</li>
<li>The biggest drawback of Kubenetes is that it’s dashboard not very useful and effective</li>
</ul>
<span style=”font-weight: 400;”><strong>Also Read:</strong> </span><a href=”https://www.eternalsoftsolutions.com/blog/how-to-launch-deploy-docker-container-in-ecs-using-ec2-launch-type/”><span style=”font-weight: 400;”>How to launch/deploy Docker containers in ECS using EC2?</span></a>
<span style=”font-weight: 400;”><strong>Related Post:</strong> </span><a href=”https://www.eternalsoftsolutions.com/blog/everything-you-need-to-know-about-docker-on-amazon-ecs/”><span style=”font-weight: 400;”>Everything you Need to Know About Docker on Amazon ECS</span></a>

Nirav Shah is the Director of Eternal Web Pvt Ltd, an AWS Advanced Consulting Partner and certified Odoo Partner based in the UK. With over a decade of experience in cloud computing, digital transformation, and ERP implementation, Nirav helps enterprises adopt the right technology to solve complex business challenges. He specialises in AWS infrastructure, Odoo ERP, and web development solutions for businesses across the UK and beyond.
Have queries about your project idea or concept? Please drop in your project details to discuss with our AWS Global Cloud Infrastructure service specialists and consultants.