today i learned
tags
projects
about
Kubernetes: Intro
created:
updated:
What is Kubernetes?
- Also known as k8s.
- an open-source project.
- orchestration technology for containers.
Container
- Most popular technology: Docker
- run each component in a separate container with its own libraries and dependencies.
- build docker configuration once
- isolated environments as if they can have their own process and services
- like virtual machine, sharing the same operating kernel.
- Docker can run any flavor of OS on top if the machine’s OS
- Docker utilizes lxc containers.
- The main purpose is to containerize applications and to ship and run them
Operating Systems
- consist of OS kernel and a set of software
- kernel is responsible for interacting with the underlying hardware
- software may consistent of different UI drivers, etc.
- common Linux kernel shared across all operating systems.
- cannot run Windows-based container on a Docker host with Linux OS on it
- require Docker on a Windows server
Containers vs VM
- VM requires ‘Hypervisor’ and each VM has its own Operating System
- This causes higher cost
- VM uses higher spaces
- Docker containers boot up faster
- Docker has less isolation, VM has complete isolation
Container vs Image
- container: running instance of images, isolated
- image: package or template, used to create one or more containers
Referenes