Introduction to containers running dockers using kubernetes - הרצאה לכנס...

Post on 15-Aug-2015

39 views 1 download

transcript

LINNOVATEOPEN SOURCE SOLUTIONS

INTRODUCTION TO CONTAINERS:RUNNING DOCKERS USING KUBERNETES

Headquartered in Israel

LINNOVATE IN A NUTSHELLEstablished in 2006

Creator of MEAN.IO

Established the IL Drupal community

Open Source Consultants of Microsoft Azure, IDF, GOV.IL and more

LINNOVATE - SOLUTIONS

Open Source WEB Development - Extend

and augment core teams

Professional Services

Support Plans - Maintenance and Support of Web

systems and applications

Cloud Services

Audit tools, Democrasee, SEO

Optimization for JS based applications

SAAS

About Me - ZOHAR STOLAR

● Partner @Linnovate

● 15 years in the open source world

● In charge of IT, Cloud technologies and Linnovate’s 24x7

Professional support

● Operating European and global activity from France

THE CHALLENGES:

100% UP TIMEFAST RESPONSE

CONTAINERS - WHAT ARE THEY (GOOD FOR)?

LIGHTWEIGHT OPEN SECURE

HOW DOES IT LOOK LIKE?

A SAMPLE DOCKER FILE

QUICK COMPARISON: VMs and CONTAINERS(using Docker)

sour

ce: h

ttps:

//ww

w.d

ocke

r.com

/wha

tisdo

cker

Docker Architecture

Image 1Linux

Image 2PHP

Image 3 - Our project

Wordpress

What is Kubernetes?● Open source container cluster

manager

● Used as a backend in Google’s App

Engine

● Runs on Private and Public Clouds, and

even on Bare metal

KUBERNETES ARCHITECTURE SIMPLIFIED

Master

NodesA

C

B

C

B

C

B

A

C

B

C

A

Pods

KUBERNETES ARCHITECTURE

Pods Pod

Image 1Linux

Image 2PHP

Image 3 - Our project

Wordpress

Image 1Linux

Image 2node.js

Image 3 - Our project

node.js app

● Holds one or more dockers

● Usually separate for DB and App

Docker A Docker B

Pod C:PHP + Node.js apps

KUBERNETES ARCHITECTURE

Pods

Pod A:MongoDB

● Holds one or more dockers

● Usually separate for DB and App

Pod B:MySQL DB

KUBERNETES ARCHITECTURE

Master

NodesA

C

B

C

B

C

B

A

C

B

C

A

MOVING YOUR APPS TO DOCKERS● Identify your app’s separable parts● Dockerize each part● Test and Run● Visit https://registry.hub.docker.com to

discover the choice● Try tools like Kitematic to try Docker locally

THANK YOU!