Monday 12 October 2020

Kubernetes

 Kubernetes

Kubernetes is a platform to schedule and run containers on cluster of virtual machines. 

It runs on bare metal, VMs,, private datacenter and public cloud.













Daemon Sets -- ensure that all nodes run a copy of a specific pod.
As nodes are added or removed from the cluster, a DaemonSet will add or remove the required pods.

Jobs -- Supervisor process for pods carrying out batch jobs.

Services -- allow communication between one set of deployments with another.
Use a service to get pods in two deployments to talk to each other.


Labels, Selectors, and Namespaces



Selectors - 2 types
Equality-based selectors ( = , !=)
Set-based selectors (IN,  NOT IN, EXISTS)

Namespaces