1 of 26

Deploying and Monitoring Containers With Kubernetes

Neependra Khare, CloudYuga

@neependra

2 of 26

Who am I ?

3 of 26

What is Container Orchestration ?

4 of 26

Why Container Orchestration is needed ?

  • To containers at scale
  • Optimally using the system resources
  • Fault Tolerance
  • Autoscaling
  • ….

5 of 26

Container Orchestrators

  • Docker Swarm
  • Kubernetes
  • Mesos Marathon
  • Nomad
  • Amazon ECS

6 of 26

Container Orchestrators

General Concepts - Container Runtimes

7 of 26

Container Orchestrators

General Concepts - Key-Value store

8 of 26

Container Orchestrators

General Concepts - Networking across the hosts

9 of 26

Container Orchestrators

General Concepts - Scheduler

10 of 26

Container Orchestrators

General Concepts - Service Discovery

11 of 26

Container Orchestrators

General Concepts - Load Balancing

12 of 26

Container Orchestrators

General Concepts - Access to external storage

13 of 26

Kubernetes

14 of 26

Kubernetes Components

  • Master
  • Node
  • APIserver
  • Scheduler
  • Kubelet
  • Kube-proxy

15 of 26

Advance Resources

  • Namespaces
  • ConfigMaps
  • Secrets
  • Bathe Jobs
  • Deployments
  • Services
  • Volumes

16 of 26

Key Resources and Concepts

  • Pods
  • Label
  • Selectors
  • Replica Sets
  • StatefulSet
  • DaemonSet
  • Ingress

17 of 26

Pods

18 of 26

ReplicaSet

19 of 26

Deployment

20 of 26

Services

21 of 26

ConfigMaps

22 of 26

Secrets

23 of 26

Sample Microservice

24 of 26

Deploying Sample Micro-serivce

25 of 26

Scaling Sample Micro-service

26 of 26

Monitoring the application