DEV Community

Cover image for Day - 1 #100DayOfKubernetes
Harkirat Singh
Harkirat Singh

Posted on

Day - 1 #100DayOfKubernetes

Table Of Content -

From Monolith to Microservices

Monolith - expensive hardware taste , 1000-line of codes , no documentation , downtime is active | passive , new challenges , not so modern programming language , outdated software architecture patterns & principles .

Microservices - can be deployed individually on separate servers , lesser compute resources expenses , developed & written in modern programming language , add complexity to architecture , greatest benefits in scalability , seamless upgrades & patches , no downtime , no service disruption , more productive , cost -efficient .

Microservices are like pebbles whereas monolith are 1000 ton of boulder , that are easier to carry . These pebbles are loosely coupled microservices , each performing a specific business .

What is Container ?

  • Container Images :-A container image is a ready to run software package , containing everything to run an app : the code , runtimes , dependencies in a pre-defined format .

  • Container Runtimes :- It is the software that is responsible for running container .

Kubernetes Support :- docker , CRI-O , containerd .

Containers are an application - centric method to deliver high performing , scalable, application on any type infrastructure of your choice . Container are best suited to deliver micro-services .

image.png

To Learn more about Docker checkout this article (https://medium.com/code-for-cause/docker-made-easy-901b792bec7c)

Container encapsulate micro-services and their dependency but do-not run them directly , instead run container images .**

Container Orchestration

Container orchestrators are tools which group systems , together to form cluster where containers deployment is automated at scale while meeting the requirements .

Example of Container Orchestration Solution

  1. Amazon Elastic Container Service
  2. Azure Container Instances
  3. Kubernetes
  4. Nomad
  5. Marathon
  6. Docker Swarm
  7. Apache Mesos

There is variety of Deployment options for container orchestration .

Discussion (0)