πŸš€ DevOps Certified Professional
πŸ“… Starting: 1st of Every Month 🀝 +91 8409492687 | 🀝 +1 (469) 756-6329 πŸ” Contact@DevOpsSchool.com

Kubernetes in Vaibhav’s Words !!

DevOps

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

What is Kubernetes?
β€” Launched by Google
β€” Part of CNCF
β€” Written in golang
β€” Kubernetes is a container orchestrator, and helps to manage containerized applications
β€” Helps in workload placement on different nodes
β€” Does infrastructure abstraction
β€” Maintains desired state.

Why Kubernetes?
β€” speed of deployment
β€” ability of absorb changes
β€” ability to recover quickly
β€” We can deploy a scalable solution using kubernetes
β€” hide complexity in the cluster

How Kubernetes works?
Components of Kubernetes:

kube-apiserver

β€” front-end to the control plane.
β€” expose the Rest API
β€” uses JSON format

CLuster Store

β€” Persistent storage cluster state and config
β€” uses etcd
β€” Distributed .. consistent .. watchable

kube-controller-manager

Controls different controllers:
β€” node controller
β€” endpoint controller
β€” namespace controller

Watchers the changes
Helps maintain desired state

Kube-scheduler

keep watching api-server
api-server assign work to scheduler.

Assignment of work to worker nodes
β€” affinity
β€” constraint
β€” resources

What is POD?
–- Compute unit
β€” running in worker node
β€” pod is instantiated not created by Kubelet
β€” Atomic unit of scheduling
β€” Pods cannot be re-deployed
β€” Contains one or more containers.
β€” Live till the container is live
β€” Lifecycle: pending –> running –> Failed / Succeed