38
Killing containers to make weather beautiful Jacob Tomlinson Met Oce Informatics Lab @_jacobtomlinson

KubeCon EU 2016: Killing containers to make weather beautiful

Embed Size (px)

Citation preview

Page 1: KubeCon EU 2016: Killing containers to make weather beautiful

Killing containers to make weather

beautifulJacob Tomlinson

Met Office Informatics Lab @_jacobtomlinson

Page 2: KubeCon EU 2016: Killing containers to make weather beautiful

Who am I?

Page 3: KubeCon EU 2016: Killing containers to make weather beautiful
Page 4: KubeCon EU 2016: Killing containers to make weather beautiful

Visualising 4D data in a

web browser

Confidence in

integration

Page 5: KubeCon EU 2016: Killing containers to make weather beautiful

Visualising 4D data in a web browser

Page 6: KubeCon EU 2016: Killing containers to make weather beautiful

Ingestion

Page 7: KubeCon EU 2016: Killing containers to make weather beautiful

Supercomputer

Binary files

PNG images

Videos

The browser

Page 8: KubeCon EU 2016: Killing containers to make weather beautiful
Page 9: KubeCon EU 2016: Killing containers to make weather beautiful
Page 10: KubeCon EU 2016: Killing containers to make weather beautiful

Service types

Page 11: KubeCon EU 2016: Killing containers to make weather beautiful

Long running daemons

Short running workers

Page 12: KubeCon EU 2016: Killing containers to make weather beautiful

Kubernetes

Page 13: KubeCon EU 2016: Killing containers to make weather beautiful

Mixing job types

Page 14: KubeCon EU 2016: Killing containers to make weather beautiful

Docker Host

nginx

Syst

em C

apac

ity

Docker Host

nginxSy

stem

Cap

acity

Docker Host

nginx

Syst

em C

apac

ity

Page 15: KubeCon EU 2016: Killing containers to make weather beautiful

Docker Host

Syst

em C

apac

ity

Docker Host

Syst

em C

apac

ity

Docker Host

Syst

em C

apac

ity

nginx nginx nginx

Page 16: KubeCon EU 2016: Killing containers to make weather beautiful

Docker Host

nginx

Syst

em C

apac

ity

Docker Host

nginxSy

stem

Cap

acity

Docker Host

nginx

Syst

em C

apac

ity

Page 17: KubeCon EU 2016: Killing containers to make weather beautiful

Docker Host

nginx

Syst

em C

apac

ity

Docker Host

nginxSy

stem

Cap

acity

Docker Host

nginx

Syst

em C

apac

ity

worker

worker

worker

worker

worker

worker

worker

worker

worker

worker

worker

worker

Page 18: KubeCon EU 2016: Killing containers to make weather beautiful

Docker Host

nginx

Syst

em C

apac

ity

Docker Host

Syst

em C

apac

ity

Docker Host

Syst

em C

apac

ity

worker

nginx nginx

workerworker

Page 19: KubeCon EU 2016: Killing containers to make weather beautiful

Docker

nginxSyst

em

worker

Docker

Syst

em

worker

nginx

Docker

Syst

em

worker

nginx

Docker

Syst

em

worker

worker

worker

worker

worker

Page 20: KubeCon EU 2016: Killing containers to make weather beautiful

Docker

Syst

em

worker

Docker

Syst

em

worker

Docker

Syst

em

worker

Docker

Syst

em

worker

nginx

worker

nginxnginxnginx

workerworkerworker

Page 21: KubeCon EU 2016: Killing containers to make weather beautiful

Persistence

Page 22: KubeCon EU 2016: Killing containers to make weather beautiful

EBS backed persistent volumes

Page 23: KubeCon EU 2016: Killing containers to make weather beautiful

Docker Host

mongo

EBS Volume

Docker Host Docker Host

Page 24: KubeCon EU 2016: Killing containers to make weather beautiful

Docker Host

EBS Volume

Docker Host Docker Host

mongo mongo

Page 25: KubeCon EU 2016: Killing containers to make weather beautiful

Docker Host

EBS Volume

Docker Host Docker Host

mongo

Page 26: KubeCon EU 2016: Killing containers to make weather beautiful

Scaling by queue

Page 27: KubeCon EU 2016: Killing containers to make weather beautiful

AWS cost vs scale

Page 28: KubeCon EU 2016: Killing containers to make weather beautiful

Confidence in integration

Page 29: KubeCon EU 2016: Killing containers to make weather beautiful

Short containers

Long containersDaemon processes which listen to requests

Asynchronous processes doing repetitive workloads

Page 30: KubeCon EU 2016: Killing containers to make weather beautiful

Short containers

Page 31: KubeCon EU 2016: Killing containers to make weather beautiful

∞ jobs 1 job

n jobs

Page 32: KubeCon EU 2016: Killing containers to make weather beautiful

Pros Conceptual simplicity

Confidence

Cons Overhead

Page 33: KubeCon EU 2016: Killing containers to make weather beautiful

Long containers

Page 34: KubeCon EU 2016: Killing containers to make weather beautiful

Run forever

Finite runtime

Page 35: KubeCon EU 2016: Killing containers to make weather beautiful

Scaling down

Page 36: KubeCon EU 2016: Killing containers to make weather beautiful

Being confident

Page 37: KubeCon EU 2016: Killing containers to make weather beautiful

Conclusion

Page 38: KubeCon EU 2016: Killing containers to make weather beautiful

Questions

Jacob Tomlinson @_jacobtomlinson