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.
Próximos SlideShares
CoreOS intro
Avançar
Transfira para ler offline e ver em ecrã inteiro.

2

Compartilhar

Baixar para ler offline

CoreOS introduction - Johann Romefort

Baixar para ler offline

CoreOS introduction - Johann Romefort

  1. 1. CoreOS Introduction Johann Romefort http://containera.io
  2. 2. What is CoreOS?
  3. 3. What is CoreOS? • A minimal Linux distro (~100MB) • Huge focus on security: CoreOS mission is “Secure the Internet” • The best way to run containers • A read-only rootfs • Automatic updates
  4. 4. Automatic Updates • Active / Passive partitions • Update Partition B while partition A is running. Reboot to partition B, reverse to A if any problem found. • Reboot causes app downtime… unless…
  5. 5. etcd • Distributed Key-Value store • Service discovery • No local configuration
  6. 6. Running Containers on CoreOS
  7. 7. Fleet • Distributed init system for cluster • Uses etcd • Actually relies on systemd: Submit a systemd Unit file and handles scheduling on the cluster • Enable high-availability services
  8. 8. Running Containers on fleet
  9. 9. Boot Sequence • Look for cloud-config • Lookup how to join an existing cluster • Start etcd service • Start fleet service
  10. 10. Creating a CoreOS cluster on Digital Ocean
  11. 11. Pre-requesites • Make sure you use a SSH key • Create a DigitalOcean Personal Access Token (to use the DO API)
  12. 12. Generate a New Discovery URL • Unique address that stores peer CoreOS addresses and metadata
  13. 13. Write a Cloud-Config metadata: region=europe,public_ip=$public_ipv4
  14. 14. Create a Service Unit file • hello.service
  15. 15. Using fleet to schedule a service • fleetctl submit hello.service • fleetctl list-unit-files • fleetctl cat hello.service • fleetctl start hello.service • fleetctl list-units • fleetctl status hello.service • fleetctl journal hello.service
  16. 16. What’s next…
  17. 17. Thank You! romefort@gmail.com http://linkedin.com/in/romefort http://twitter.com/romefort Ping me here:
  • ThiagoDias97

    Jul. 14, 2016
  • maurorodrigues29

    May. 8, 2015

Vistos

Vistos totais

1.189

No Slideshare

0

De incorporações

0

Número de incorporações

22

Ações

Baixados

28

Compartilhados

0

Comentários

0

Curtir

2

×