Virtualization Virtual Machine (VM) : In, Basic Scheduling Unit Is
Virtualization Virtual Machine (VM) : In, Basic Scheduling Unit Is
Virtualization Virtual Machine (VM) : In, Basic Scheduling Unit Is
srinathchalla@outlook.com
Pods
Concept
Objectives
Concept
What is Pod?
Pod deployment
Multi-container
Pod networking
Pod lifecycle
Review Demo
Pod manifest file
Testing
srinathchalla@outlook.com
What is Pod?
VM Container Pod
Pod Deployment
Pod
Manifest
Cluster
Master
Multi-Container
API Server
Node
Pod
Manifest
Container
Cluster
Master
Pod Networking
Pod 1 Pod 2
API Server
Main Supporting Main
Container Container Container
10.0.30.50 10.0.30.60
Master Cluster
Inter-Pod communication
Pod 1 Pod 2
10.0.30.50 10.0.30.60
Pod Network
Master Cluster
Intra-Pod communication
Pod 1
:8080 :3000
Manifest
Local host
10.0.30.50
:8080 :3000
Cluster
Master
Pod lifecycle
Pod
Pod Pod
API Server
Pod
Failed
Master Cluster
Pod - Config
# nginx-pod.yaml
apiVersion: v1 Kind apiVersion
kind: Pod
Pod v1
metadata:
name: nginx-pod ReplicationController V1
labels:
Service v1
app: nginx
tier: dev ReplicaSet apps/v1
spec:
containers: Deployment apps/v1
- name: nginx-container DaemonSet apps/v1
image: nginx
Job batch/v1
[schalla@master ~]$ kubectl exec -it nginx-pod -- /bin/sh #Getting a shell to running cont
# hostname
nginx-pod
# exit
What is Pod?
Pod deployment
Multi-container
Pod networking
Pod lifecle
Review Demo
Pod manifest file
Testing
srinathchalla@outlook.com
Coming up…
Demo
Pods