Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • DevOps Lifecycle
  • DevOps Roadmap
  • Docker Tutorial
  • Kubernetes Tutorials
  • Amazon Web Services [AWS] Tutorial
  • AZURE Tutorials
  • GCP Tutorials
  • Docker Cheat sheet
  • Kubernetes cheat sheet
  • AWS interview questions
  • Docker Interview Questions
  • Ansible Interview Questions
  • Jenkins Interview Questions
Open In App
Next Article:
Kubernetes - Physical Servers vs Virtual Machines vs Containers
Next article icon

Kubernetes - Physical Servers vs Virtual Machines vs Containers

Last Updated : 30 Mar, 2023
Comments
Improve
Suggest changes
Like Article
Like
Report

Kubernetes is an open-source framework for managing containerized workloads and services that allows declarative configuration as well as automation. It has a huge and fast-expanding ecosystem. Services, support, and tools for Kubernetes are widely available.

Kubernetes is a Greek word that means "helmsman" or "pilot." The acronym K8s comes from counting the eight letters between the letters "K" and "s." In 2014, Google made the Kubernetes project open source. Kubernetes blends Google's 15 years of experience operating production workloads at scale with community-sourced best-of-breed ideas and practices.

Physical servers:

Organizations used to run apps on physical servers. In a physical server, there was no method to set resource boundaries for apps, which resulted in resource allocation issues. When numerous apps operate on a physical server, for example, there may be times when one programme consumes the majority of the resources, causing the other applications to underperform.

A possible option is to run each programme on a separate physical server. However, this did not scale because resources were underutilized, and maintaining a large number of physical servers was costly.

Virtual Machines:

Virtualization was introduced as a solution. It enables you to operate several Virtual Machines (VMs) on the CPU of a single physical server. Virtualization allows programmes to be isolated between virtual machines (VMs) and provides a level of security by preventing one application's information from being freely accessed by another.

Virtualization improves resource efficiency on a physical server, improves scalability by allowing applications to be quickly added or changed, lowers hardware costs, and much more. You can offer a collection of physical resources as a cluster of disposable virtual machines using virtualization.

On top of the virtualized hardware, each VM is a whole machine with all of its components, including its own operating system.

Containers:

Containers are comparable to virtual machines (VMs), except they allow programmes to share the same operating system (OS). As a result, containers are considered light. A container, like a virtual machine, has its own filesystem, CPU, memory, process space, and other resources. They are portable across clouds and OS distributions because they are divorced from the underlying infrastructure.

Containers have grown in popularity as a result of their additional benefits, which include:

  • Container image creation is more simple and efficient than using VM images for developing and deploying agile applications.
  • Continuous development, integration, and deployment: enables the creation and deployment of dependable and frequent container images, as well as quick and efficient rollbacks (due to image immutability).
  • Separation of concerns between development and operations: produce application container images during build/release rather than deployment, isolating apps from infrastructure.
  • Observability: this feature exposes not just OS-level data and metrics, but also application health and other signals.
  • Consistency in the environment during development, testing, and production: On a laptop, it works the same as it does in the cloud.
  • Portability of cloud and operating system distributions: Runs on Ubuntu, RHEL, CoreOS, on-premises, on major public clouds, and everywhere else.
  • Application-centric management: Moves away from operating an OS on virtual hardware and toward running an application on an OS with logical resources.
  • Micro-services that are loosely linked, distributed, elastic, and liberated: instead of a monolithic stack operating on a single large single-purpose machine, applications are split down into smaller, independent components that can be deployed and managed dynamically.
  • Application performance is predictable due to resource separation.
  • High efficiency and density in resource usage.

Next Article
Kubernetes - Physical Servers vs Virtual Machines vs Containers

S

sanketnagare
Improve
Article Tags :
  • Difference Between
  • Kubernetes
  • Blogathon
  • DevOps
  • Blogathon-2021
  • Kubernetes-Basics

Similar Reads

    Difference between Virtual Machines and Containers
    Virtual machines and Containers are two ways of deploying multiple, isolated services on a single platform. Virtual Machine:It runs on top of an emulating software called the hypervisor which sits between the hardware and the virtual machine. The hypervisor is the key to enabling virtualization. It
    2 min read
    kubernetes Pod VS Container
    In Kubernetes, pods are the basic building blocks used for deploying and managing containers. A pod is the smallest and most effective unit in the Kubernetes object model, which represents a single instance of a running process in a cluster on the other hand containers are the encapsulated units tha
    7 min read
    What are Kubernetes Containers?
    Kubernetes is an open-source container orchestration framework that was originally developed by Google. Container orchestration is automation. It can facilitate you to deploy the identical application across different environments like physical machines, virtual machines cloud environments, or perha
    15 min read
    Kubernetes Controller VS Kubernetes Operator
    Kubernetes Controllers are ideal for managing stateless apps and maintaining the correct number of copies, but Kubernetes Operators are more appropriate for complicated, stateful applications that require human-like decision-making abilities. Kubernetes ControllerKubernetes Controllers are ideal for
    4 min read
    Kubernetes - ClusterIP vs NodePort vs LoadBalancer
    Three main service types are used in Kubernetes networking: ClusterIP, NodePort, and LoadBalancer. Each has a specific function in controlling external access and service-to-service communication. Comprehending their distinctions is essential for efficiently coordinating applications. This article e
    7 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences