Cloud Foundry Diego, Lattice, Docker and more
-
Upload
cornelia-davis -
Category
Software
-
view
940 -
download
3
Transcript of Cloud Foundry Diego, Lattice, Docker and more
2© 2015 Pivotal Software, Inc. All rights reserved. 2© 2015 Pivotal Software, Inc. All rights reserved.
Lattice, Docker and MoreDenver Cloud Foundry Meetup
Cornelia Davis, Director, Platform Engineering, Cloud Foundry @cdavisafcMay 19 2015
3© 2015 Pivotal Software, Inc. All rights reserved.
The Tour…
Diego
Lattice
Docker (and other image formats)
Cloud Rocker
4© 2015 Pivotal Software, Inc. All rights reserved.
What is Diego?
Rewrite of the CF Runtime
Goals:– NATS distributed, shared memory (etcd)– Support for different container image formats– Superior workload scheduling
... which enables:– Windows support– Placement pools– cf ssh– TCP routing– container to container messaging
5© Copyright 2013 Pivotal. All rights reserved.
Rout
er
Failed Application Instances Replaced (DEA)
BlobstoreCloud Controller
Health Manager
Actual StateDesired State
Messaging(NATS)
DEA DEA DEA
Pivotal CF Elastic Runtime
6© Copyright 2015 Pivotal. All rights reserved.
Failed Application Instances Replaced (Diego)
Rout
erBlobstore
Cloud Controller
etcd
Cell Cell Cell
Pivotal Cloud FoundryElastic Runtime
Access App
DBServicecredentialscreds
Converger & Auctioneer
Desired State
credscreds
Actual State
8© Copyright 2015 Pivotal. All rights reserved.
Containers and Container Images
Docker is:– Image format– A runtime/interpreter for Docker images
leveraging linux container support
Garden is a runtime/interpreter, leveraging linux container support, for:
– Droplets (linux containers)– Docker images (linux containers)– .Net applications (windows “containers”)
Windows cells installed via msi
Cell
App App
App App
Cell
App App
App App
Cell
App App
App App
9© Copyright 2015 Pivotal. All rights reserved.
All that is in the Elastic Runtime
Heavy-duty startup
Bosh-lite still complex
Pivotal CF Elastic Runtime
Dynamic Router
OAuth 2.0 Server (UAA)
Health Manager
Application Execution (DEA)
Warden
Build Packs
Login Server
Cloud Controller
Blob Store
Message Bus(NATS)
Sys Log
Serv
ice
Brok
ers
Collector Loggregator
ROUTING
AUTHENTICATION
APP LIFECYCLE
APP STORAGE& EXECUTION
MESSAGING
METRICS & LOGGING
Pivotal CF OpsManager/BOSH
10© Copyright 2015 Pivotal. All rights reserved.
Lattice
Deployment options:– Local
– Clusters: AWS, Digital Ocean, Google
Cloud, Openstack
Developer accessibility
Demonstrate docker (and
similar) support
Part of app lifecycle –
developer support
Pivotal CF Elastic Runtime
Dynamic Router
OAuth 2.0 Server (UAA)
Diego Health
Application Execution (Diego)
Garden
Login Server
Cloud Controller
Blob Store
Message Bus(NATS)
Sys Log
Serv
ice
Brok
ers
Collector Loggregator
ROUTING
AUTHENTICATION
APP LIFECYCLE
APP STORAGE& EXECUTION
MESSAGING
METRICS & LOGGING
Pivotal CF OpsManager/BOSH
12© Copyright 2015 Pivotal. All rights reserved. 12© Copyright 2013 Pivotal. All rights reserved.
Demo
16© Copyright 2015 Pivotal. All rights reserved.
Cloud Foundry Created Images
cf push
build & run
+ =
20© Copyright 2015 Pivotal. All rights reserved. 20© Copyright 2013 Pivotal. All rights reserved.
Demo
23© Copyright 2015 Pivotal. All rights reserved.
All Together
Cloud Rocker
rock add-buildpack
rock up
rock build
docker push
ltc CLI
ltc target
ltc create ...
ltc scale
Docker Hub
CellCellCellCellCellBrain
Router
Logging
Receptor
etcd
…
24© 2015 Pivotal Software, Inc. All rights reserved. 24© Copyright 2015 Pivotal. All rights reserved.
Thank You
@cdavisafc
25© Copyright 2015 Pivotal. All rights reserved.
References
Diego: https://github.com/cloudfoundry-incubator/diego-design-notes
lattice.cf
Cloud rocker: https://github.com/CloudCredo/cloudrocker
Xray: https://github.com/pivotal-cf-experimental/xray