Kubernetes PPT
Kubernetes PPT
A Comprehensive
Overview
Kubernetes
Agenda
● Introduction ● Concepts
○ Who am I? ○ Core
○ What is Kubernetes? ○ Workloads
○ What does Kubernetes ○ Network
do? ○ Storage
● Architecture ○ Configuration
○ Master Components ○ Auth and Identity
○ Node Components ● Behind the Scenes
○ Additional Services ○ Deployment from Beginning
○ Networking to End
I nt ro d u c ti o n
Intro - W h a t is K u b e r n e t e s ?
Ove r v iew
Master
Components
Master C o m p o n e n t s
● Kube-apiserver
● Etcd
● Kube-controller-
manager
● Cloud-controller-
manager
● Kube-scheduler
ku b e -a p i se r ve r
● Kubelet
● Kube-proxy
● Container runtime
engine
ku b e l e t
● File path
● HTTP Endpoint
● Etcd watch acting on any changes
● HTTP Server mode accepting container manifests over a
simple API.
ku b e - p rox y
● Userspace
● iptables
● ipvs (alpha in 1.8)
C o nta i n e r R u n ti m e
● Containerd (docker)
● Cri-o
● Rkt
● Kata (formerly clear and hyper)
● Virtlet (VM CRI compatible runtime)
Additi onal Se r vice s
1) All Pods can communicate with all other Pods without NAT
2) All nodes can communicate with all Pods (and vice-versa)
without NAT.
3) The IP that a Pod sees itself as is the same IP that others see
it as.
Networking - Fundamentals Applied
Pods are given a cluster unique IP for the duration of its lifecycle,
but the pods themselves are fundamentally ephemeral.
Label - Key-value pairs that are used to identify, describe and group
together related sets of objects. Labels have a strict syntax and available
character set. *
* https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set
Labels, a n d Annotati ons,
a n d Selectors
Labels:
app: nginx
tier:
frontned
Annotations
description:
“nginx
frontend”
Selector:
app:
nginx
tier:
frontend
S e t- b a s e d selectors
Valid Operators:
● In
● NotIn
● Exists
● DoesNotExist
DaemonSet - Ensures that all nodes matching certain criteria will run
an instance of a supplied Pod. Ideal for cluster wide services such as log
forwarding, or health monitoring.
StatefulSet
Job - The job controller ensures one or more pods are executed and
successfully terminates. It will do this until it satisfies the completion and/or
parallelism condition.
[Cluster]Role - Roles contain rules that act as a set of permissions that apply
verbs like “get”, “list”, “watch” etc over resources that are scoped to apiGroups.
Roles are scoped to namespaces, and ClusterRoles are applied cluster-wide.
● Permissions translate to
url path. With “”
defaulting to core group.
12)ReplicaSet is published.
Re p l i c a S e t Controller
The Pod is
Deployed!
Q u e sti o n s ?