Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Project Atomic - So You Thought You Knew Virtua...

Harish Pillay
September 06, 2014

Project Atomic - So You Thought You Knew Virtualization

A 20-minute talk introducing Project Atomic at the TechFest.sg

Harish Pillay

September 06, 2014
Tweet

More Decks by Harish Pillay

Other Decks in Technology

Transcript

  1. In Twenty Minutes ... • What is Project Atomic? •

    History of Atomic – The OSTree / rpm-ostree projects – Cockpit – Docker – Orchestration • Pulling Pieces Together • Status • Join us
  2. What is Project Atomic? • Project to provide the tools

    and patterns for creating an “Atomic” host • Community infrastructure for work going into Red Hat's Atomic efforts • Encompasses work on a number of projects: – rpm-ostree – Cockpit – Orchestration (geard, Kubernetes, Mesos) – Docker
  3. But ... Why Project Atomic? • Provide a streamlined host

    for running Docker containers • Build hosts from trusted distributions • Provide orchestration and features for running containers at scale
  4. Ostree, rpm-ostree, cgroups ... • OStree initially developed for GNOME

    continuous by Colin Walters in 2011 • The rpm-ostree stuff came slightly later • Cgroups, known then as “process containers” was developed in 2006 by two Googlers, Paul Menage and Rohit Seth, and has been in the kernel since 2.6.24 • All of this was long before Docker
  5. rpm-ostree • RPM goes one way: forward • Upgrades are

    difficult to roll back • No way to switch between distinct OSes, versions, etc. • Creates installable “tree” from RPMs • Not a package manager, but fills some of the role
  6. Cockpit • Cockpit started prior to Atomic • Server manager

    for administering Linux servers via the Web browser • Doesn't interfere with normal admin tools – you can mix and match admin via both command line and web modes • Designed to be multi-server • http://cockpit-project.org/
  7. Docker • Started early 2013 (1st release: 13 March) •

    Built on Linux Containers (LXC) which had been around for years – “BSD Jails” are a distant ancestor • Application-centric • Portable • Supports versioning • Reusable • Can provide ready-to-run services, not just bits for applications
  8. Atomic & Orchestration • For small environments, use Cockpit •

    Initially targeted geard (also used w/OpenShift) – geard features will be ported into Kubernetes • Currently working on using Kubernetes and Mesos for orchestration – Kubernetes used for orchestrating Docker containers – Mesos may be used for additional scheduling/features
  9. Fedora Atomic Hosts • Work is being done through the

    Cloud Work Group & will be part of the Cloud Product • Currently slated to land with Fedora 21 • Fedora Infrastructure is finalizing a few pieces like signing & mirroring for rpm-ostree • See here for preliminary images: – http://bit.ly/atmf21a
  10. CentOS 7 Atomic Hosts • Work is being done through

    CentOS Atomic SIG • Alpha-quality release due this week • Still work to merge into CentOS build system • Still to come: signing, etc. • http://cloud.centos.org/centos/7/devel/CentOS-7-Ato mic-CloudDockerHost.qcow2 • http://cloud.centos.org/centos/7/devel/
  11. Orchestration • Work is still ongoing with Kubernetes and Mesos

    – expect to see that land in Atomic builds as it matures • The geard stuff will largely be ported into Kubernetes • Cockpit has its own roadmap here: – http://bit.ly/atmcockpit
  12. Links and Pointers • Website: projectatomic.io • Github: github.com/projectatomic •

    G+: plus.google.com/+ProjectatomicIo • FB: facebook.com/projectatomic • Twitter: @projectatomic • IRC: freenode.net #atomic • Mailing Lists: http://www.projectatomic.io/community/