Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
CoreOS @Railscamp
Search
Timo Derstappen
September 30, 2014
Technology
1
120
CoreOS @Railscamp
CoreOS tools and concepts
Timo Derstappen
September 30, 2014
Tweet
Share
More Decks by Timo Derstappen
See All by Timo Derstappen
Automating Kubernetes Cluster Operations with Operators
teemow
0
91
Automating Kubernetes Cluster Operations with Operators
teemow
0
130
Microservices Docker @Bonn Agile
teemow
2
130
CoreOS @Codetalks
teemow
2
110
Other Decks in Technology
See All in Technology
急成長する企業で作った、エンジニアが輝ける制度/ 20250214 Rinto Ikenoue
shift_evolve
2
880
偶然 × 行動で人生の可能性を広げよう / Serendipity × Action: Discover Your Possibilities
ar_tama
1
740
第13回 Data-Centric AI勉強会, 画像認識におけるData-centric AI
ksaito_osx
0
360
MC906491 を見据えた Microsoft Entra Connect アップグレード対応
tamaiyutaro
1
480
AWSでRAGを実現する上で感じた3つの大事なこと
ymae
3
1k
Developers Summit 2025 浅野卓也(13-B-7 LegalOn Technologies)
legalontechnologies
PRO
0
150
オブザーバビリティの観点でみるAWS / AWS from observability perspective
ymotongpoo
7
1k
株式会社EventHub・エンジニア採用資料
eventhub
0
4.2k
データ資産をシームレスに伝達するためのイベント駆動型アーキテクチャ
kakehashi
PRO
2
230
Building Products in the LLM Era
ymatsuwitter
10
4.4k
家電アプリ共通PF "Linova" のAPI利用とPostman活用事例ご紹介
yukiogawa
0
130
室長と気ままに学ぶマイクロソフトのビジネスアプリケーションとビジネスプロセス
ryoheig0405
0
320
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
137
6.8k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.3k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
4
400
Making Projects Easy
brettharned
116
6k
Writing Fast Ruby
sferik
628
61k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Faster Mobile Websites
deanohume
306
31k
Adopting Sorbet at Scale
ufuk
74
9.2k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
29
2.2k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.2k
Transcript
Timo Derstappen Co-Founder giantswarm.io @teemow
• Minimal Linux to run your containers • Automatic Updates
• Cluster Management • Service Discovery What is CoreOS?
Linux Basis • Based on Gentoo • Images for PXE,
OpenStack, AWS, GCE, Vagrant • Systemd, btrfs • Read-only rootfs (writable overlay)
CoreOS own tools • Etcd • Fleet • Locksmith •
Cloud-config • Flannel github.com/coreos
Etcd • Key/Value store • Basis for ◦ Configuration management
◦ Service Discovery • Raft consensus algorithm • REST Interface
Discovery API > curl https://discovery.etcd.io/new https://discovery.etcd. io/463c1435f9f63c952e0899b1f459c0fe
Cloud Config • Initialization of your instances • Configure etcd,
fleet, locksmith • YAML file • eg. EC2 user data
Configure your cluster #cloud-config coreos: etcd: discovery: https://discovery.etcd.io/<token> addr: $private_ipv4:4001
peer-addr: $private_ipv4:7001
Locksmith • Reboot strategies for CoreOS updates • Uses etcd
for distributed locks • Alpha, Beta, Stable channels
Flannel • Overlay networks backed by etcd • Encapsulate packets
in UDP • VXLAN implementation coming
Fleet • Fleet is systemd for the cluster • Uses
etcd • CLI and API to start your containers
Fleet Scheduler • Simple (eg. based on Metadata) • But
resolves service dependencies! • More to come (eg. based on available resources)
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 stop %n
Manage a service fleetctl start redis.service fleetctl list-units fleetctl status
redis.service fleetctl journal redis.service fleetctl stop redis.service fleetctl destroy redis.service
Release it! • Load Balancer • App • Database
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
Kubernetes • Google Container Orchestration • Runs on top of
CoreOS
Kubernetes Master kubecfg Minion 1 Minion 2
Kubernetes Minion Internet Master kubelet service Etcd
cAdvisor • Monitoring for your containers • Collects, aggregates and
processes metrics • InfluxDB Backend • Monitoring of clusters with Heapster
Deis • Open Source PaaS • used Heroku build packs
• now recommends Docker-native builds
Panamax • Web interface to start multi container apps •
App Templates on Github • Open Source project from CenturyLink Labs
• Simple Service Orchestration • Based in Cologne, Germany •
Built on top of CoreOS http://giantswarm.io Giant Swarm
Timo Derstappen @teemow http://giantswarm.io Thanks for listening!