Industry Use Cases-Kubernetes/OpenShift

Industry Use Cases-Kubernetes/OpenShift

In this article , we will be learn about virtualization , containers, docker ,podman , kubernetes , openshift and some terminology related to OpenShift.

1. Virtualization :-

  • Virtualization is the act of creating a virtual version of something, including virtual computer hardware platforms, storage devices, and computer network resources.
  • Hardware virtualization or platform virtualization refers to the creation of a virtual machine that acts like a real computer with an operating system.
  • Software executed on these virtual machines is separated from the underlying hardware resources. For example, a computer that is running Microsoft Windows may host a virtual machine that looks like a computer with the Ubuntu Linux operating system; Ubuntu-based software can be run on the virtual machine.
  • In hardware virtualization, the host machine is the machine that is used by the virtualization and the guest machine is the virtual machine. 
  • The Virtual Machine is designed or meant for isolation.

2. Containers :-

  • A container is a standard unit of software that packages up code and all its dependencies so the application runs quickly and reliably from one computing environment to another.
  • Containers take resources from the host OS . So the container launch and boot up in just 1 Second .
  • It also consumes very less ram around 100-200 mb.

3. Difference between Virtualization and Container :-

  1. The main difference between virtualization and containers is that Virtualization has its own kernel , lib. , etc and uses the actual resources of the Base OS but containers are using resources of Base OS
  2. Virtual machine takes much time to boot up and they have separate kernel for each Machine. Containers are very quick and speed and they are highly meant for running one particular service.
  3. VM provides an abstract machine that uses device drivers targeting the abstract machine, while a container provides an abstract OS.
  4. Virtual Machine's size is very large whereas the size of container is very light.

So we can say that containers are far better for today's application world.

4. Docker :-

  • Docker is a set of platform as a service (PaaS) products that use OS-level virtualization to deliver software in packages called containers.
  • Containers are isolated from one another and bundle their own software, libraries and configuration files; they can communicate with each other through well-defined channels. Because all of the containers share the services of a single operating system kernel.

5. Podman :-

  • Podman is a daemonless, open source, Linux native tool designed to make it easy to find, run, build, share and deploy applications using Open Containers Initiative (OCI) Containers and Container Images. 
  • Podman provides a command line interface (CLI) familiar to anyone who has used the Docker Container Engine.

6. Difference between Docker and Podman :-

  1. Docker uses the Daemon whereas Podman is a daemonless.
  2. Docker gives only docker SDK but Podman is combination of docker SDK and add extra features in Podman. So we can run podman as well as docker commands in Podman.
  3. Docker requires root power to run docker commands . That will arise the security issues. But Podman does not requires root power to run their respective commands. SO we can say that Podman provides more security than Docker.
  4. Podman is faster than Docker.

Similarities between Docker and Podman

  • As we know Docker is built on top of runC runtime container and uses daemon, Instead of using daemon in Podman, it is directly using runC runtime container.
  • In podman , No need to start or manage a daemon process like the Docker daemon.
  • The commands which works with Docker works the same for Podman.

Challenges in Container :- There is one problem associated with it that in case if container stop by any reason there is no one to monitor and launch it again.

7. Kubernetes:-

  • Kubernetes, also known as K8s, is an open-source system for automating deployment, scaling, and management of containerized applications.
  • It groups containers that make up an application into logical units for easy management and discovery.
  •  Kubernetes builds upon 15 years of experience of running production workloads at Google, combined with best-of-breed ideas and practices from the community.
  • Kubernetes is a portable, extensible, open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available. .
  • In simple words, k8s is a tool used to manage the containers and it is so flexible ;-we can integrates k8s with other tools by using plugins.

 The benefits of Kubernetes are : 

 a. There can easy scalability of Pods

 b. Workload portability of our applications

 c. The stability between speed arguments.

The challenges of K8's are :

 a. Deployment

 b. Hardening

 c. Operations & Security

8. OpenShift :-

  • Openshift is an open source container application platform run on K8s for enterprise application deployment and development. It is tool from Redhat called RHOCP (REDHAT OPENSHIFT CONTAINER PLATFORM).
  • Openshift uses K8s for the orchestration engine and add more features in it. The some of the features offered by RHOCP are: pod scaling, CI/CD, IDE integration, HA, Service mesh, application topology, etc.
  • Openshift are Innovate and go to market faster, Accelerate application development, Enable DevOps and department-wide collaboration, s2i, service mash, etc.
  • Service Mesh is a way to control how different parts of an application share data with one another.
  • Source-to-Image (S2I) is a framework that makes it easy to write images that take application source code as an input and produce a new image that runs the assembled application as output.

Thanks for the patience and I hope this article helps you to understand the basic idea of these technology..

要查看或添加评论,请登录

Deepak Sharma的更多文章

  • Jenkins Dynamic Provisioning

    Jenkins Dynamic Provisioning

    Objectives In this article , We will see how we can create dynamic slave on the fly when job come and attach to the…

    1 条评论
  • OSPF Routing Protocol using Dijkstra Algorithm

    OSPF Routing Protocol using Dijkstra Algorithm

    Objectives:- In this article, We will learn about Dijkstra Algorithm and Open Short Path First(OSPF) Routing Protocol .…

    1 条评论
  • MongoDB Case study: Forbes

    MongoDB Case study: Forbes

    Objective In this article , we see how MongoDB Cloud Migration Helps World's Biggest Media Brand Continue To Set…

  • Vehicle’s Number Plate Detection using CNN model using python and Flask API…

    Vehicle’s Number Plate Detection using CNN model using python and Flask API…

    In this article, I am going to show you how you can create CNN Model or Deep Learning Model for Vehicle’s Number Plate…

    8 条评论
  • K-means Clustering and its real use cases in security domain

    K-means Clustering and its real use cases in security domain

    Objectives:- In this article, we will see about the Kmean algorithm and how Kmean algorithm helps in security domain to…

  • JavaScript:- Industry Use-cases

    JavaScript:- Industry Use-cases

    Objective In this article , we will learn about the JavaScript and the use-cases of JavaScript. How Industries utilizes…

  • Confusion Matrix and Cyber Security

    Confusion Matrix and Cyber Security

    Objectives:- In this article , we will see about confusion matrix and the use of confusion matrix . Also we see how…

  • Self-Reflection of MongoDB-Workshop

    Self-Reflection of MongoDB-Workshop

    # Day1 (1st May 2021) ?? Introduction of the file system? ??The data we will stored in file and that file we basically…

  • OpenShift case study:- Cisco

    OpenShift case study:- Cisco

    Cisco’s success depends on its ability to quickly deliver innovative IT products and solutions to customers. Delays can…

  • Industry Use cases of Jenkins:- Prepl

    Industry Use cases of Jenkins:- Prepl

    In 2021, When industries are running towards automation, adopting different DevOps tools to solve their industrial…

社区洞察

其他会员也浏览了