O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.
Timo Derstappen
@teemow
CoreOS Introduction
CoreOS
● Minimal OS to host your containers
● Automatic Updates
● Cluster Management
● Service Discovery
CoreOS
● distributed
containers
● configuration in
etcd
CoreOS 101
● minimal Gentoo
● PXE, KVM, AWS, OpenStack, Vagrant
● read-only rootfs (writable overlay)
● cloud config
● etc...
Cloud Config
● handles early initialization of a cloud
instance
● configure fleet, etcd
● create users
● write files
● etc...
Etcd
● Highly available K/V store
● Basis for
○ Configuration management
○ Service Discovery
● Raft consensus algorithm
● ...
Locksmith
● reboot strategies for CoreOS updates
● uses etcd for distributed locks
Fleet
● Define and launch containers
● Fleet is systemd for the cluster
● Utilizes etcd + systemd
Unit file
[Unit]
Description=A Redis Server
[Service]
TimeoutStartSec=0
EnvironmentFile=/etc/environment
Environment="IMAG...
Launch a service
# start
fleetctl --tunnel my.coreos-cluster.com start redis.service
# status
fleetctl --tunnel my.coreos-...
CoreOS
● distributed
containers
● configuration in
etcd
Sidekick
● Keep
configuration out
of your app
Ambassador
● Reverse proxy for
your service
● Keep service
discovery out of
your app
CoreOS
● Great foundation to create flexible distributed
infrastructures
● Unix philosophy
Lessons Learned
● 150+ Instances on AWS
● Micro Services
● Polyglot Persistence
● DevOps
Próximos SlideShares
Carregando em…5
×

19

Compartilhar

Baixar para ler offline

CoreOS intro

Baixar para ler offline

An introduction to CoreOS for the Docker Cologne Meetup.

Audiolivros relacionados

Gratuito durante 30 dias do Scribd

Ver tudo

CoreOS intro

  1. 1. Timo Derstappen @teemow CoreOS Introduction
  2. 2. CoreOS ● Minimal OS to host your containers ● Automatic Updates ● Cluster Management ● Service Discovery
  3. 3. CoreOS ● distributed containers ● configuration in etcd
  4. 4. CoreOS 101 ● minimal Gentoo ● PXE, KVM, AWS, OpenStack, Vagrant ● read-only rootfs (writable overlay) ● cloud config ● etcd ● systemd / fleet ● locksmith
  5. 5. Cloud Config ● handles early initialization of a cloud instance ● configure fleet, etcd ● create users ● write files ● etc...
  6. 6. Etcd ● Highly available K/V store ● Basis for ○ Configuration management ○ Service Discovery ● Raft consensus algorithm ● Discovery API ● REST Interface
  7. 7. Locksmith ● reboot strategies for CoreOS updates ● uses etcd for distributed locks
  8. 8. Fleet ● Define and launch containers ● Fleet is systemd for the cluster ● Utilizes etcd + systemd
  9. 9. Unit file [Unit] Description=A Redis Server [Service] TimeoutStartSec=0 EnvironmentFile=/etc/environment Environment="IMAGE=teemow/redis" ExecStartPre=/usr/bin/docker pull $IMAGE ExecStart=/bin/bash -c "exec /usr/bin/docker run --rm -p $COREOS_PRIVATE_IPV4::6379 --name %n $IMAGE" ExecStop=-/usr/bin/docker kill %n
  10. 10. Launch a service # start fleetctl --tunnel my.coreos-cluster.com start redis.service # status fleetctl --tunnel my.coreos-cluster.com list-units fleetctl --tunnel my.coreos-cluster.com status redis.service fleetctl --tunnel my.coreos-cluster.com journal redis.service # stop fleetctl --tunnel my.coreos-cluster.com stop redis.service fleetctl --tunnel my.coreos-cluster.com destroy redis.service
  11. 11. CoreOS ● distributed containers ● configuration in etcd
  12. 12. Sidekick ● Keep configuration out of your app
  13. 13. Ambassador ● Reverse proxy for your service ● Keep service discovery out of your app
  14. 14. CoreOS ● Great foundation to create flexible distributed infrastructures ● Unix philosophy
  15. 15. Lessons Learned ● 150+ Instances on AWS ● Micro Services ● Polyglot Persistence ● DevOps
  • ThiagoDias97

    Jul. 14, 2016
  • sunnycmf

    Jul. 18, 2015
  • OraZen

    May. 24, 2015
  • WangTianqing

    Jan. 28, 2015
  • cellx

    Dec. 25, 2014
  • indi06

    Dec. 24, 2014
  • 40a

    Nov. 13, 2014
  • higebu

    Nov. 11, 2014
  • justinleeschmidtmn

    Nov. 8, 2014
  • ssuser7c9ca1

    Oct. 15, 2014
  • curse666

    Aug. 21, 2014
  • uzy_exe

    Aug. 18, 2014
  • hwanshin

    Aug. 13, 2014
  • chjin

    Jul. 28, 2014
  • iolo

    Jul. 28, 2014
  • williamyeh

    Jun. 18, 2014
  • darkdth

    Jun. 14, 2014
  • jerolimov

    Jun. 3, 2014
  • Joshua_lee

    May. 27, 2014

An introduction to CoreOS for the Docker Cologne Meetup.

Vistos

Vistos totais

4.625

No Slideshare

0

De incorporações

0

Número de incorporações

43

Ações

Baixados

103

Compartilhados

0

Comentários

0

Curtir

19

×