Rahulkrishnan R A
@rahulkrishnanra
Building block of Kubernetes
Chennai Kubernetes
Slide 2
Slide 2 text
- Containers are normal process
- Process executed using two Linux kernel features
- Cgroups
- Namespace
Containers
Virtual Machines
How containers looks like?
Nginx v1
Mount
Hostname
PID
Network
IPC
Nginx v2
Mount
Hostname
PID
Network
IPC
Container 1 Container 2
Isolation using namespace
Isolated Containers
Slide 7
Slide 7 text
No content
Slide 8
Slide 8 text
nginx
Hostname
PID
Network
IPC
cache
localhost
Pod with multiple containers
Slide 9
Slide 9 text
How POD looks like?
Namespaces
- Net
- IPC
……
Label 1
Label 2
Label 3
Pause Container
Init Container
Post Start
Pre Stop
Main
Readiness
Liveness
Slide 10
Slide 10 text
Usecase of POD
Slide 11
Slide 11 text
How to create pod?
1) kubectl run --image= --port=
Eg: $kubectl run nginx –image=nginx:latest –port=80
2) Using Manifest file
kubectl create – f
Eg: kubectl create –f pod.yaml
Note : Always create POD with the help of controllers
Slide 12
Slide 12 text
Manifest file
Slide 13
Slide 13 text
Demo Time
Slide 14
Slide 14 text
POD is the Building block of Kubernetes
Slide 15
Slide 15 text
@rahulkrishnanra
Thank you
https://www.meetup.com/Chennai-Kubernetes
@k8schennai
k8schennai.slack.com