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
97
Automating Kubernetes Cluster Operations with Operators
teemow
0
140
Microservices Docker @Bonn Agile
teemow
2
130
CoreOS @Codetalks
teemow
2
120
Other Decks in Technology
See All in Technology
イオン店舗一覧ページのパフォーマンスチューニング事例 / Performance tuning example for AEON store list page
aeonpeople
1
220
Devinを使ったモバイルアプリ開発 / Mobile app development with Devin
yanzm
0
160
JOAI発表資料 @ 関東kaggler会
joai_committee
1
210
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
8.6k
モダンな現場と従来型の組織——そこに生じる "不整合" を解消してこそチームがパフォーマンスを発揮できる / Team-oriented Organization Design 20250825
mtx2s
5
500
LLM時代の検索とコンテキストエンジニアリング
shibuiwilliam
2
1.1k
どこで動かすか、誰が動かすか 〜 kintoneのインフラ基盤刷新と運用体制のシフト 〜
ueokande
0
180
Product Management Conference -AI時代に進化するPdM-
kojima111
0
190
.NET開発者のためのAzureの概要
tomokusaba
0
230
メルカリIBIS:AIが拓く次世代インシデント対応
0gm
2
520
Understanding Go GC #coefl_go_jp
bengo4com
0
1.1k
[OCI Skill Mapping] AWSユーザーのためのOCI(2025年8月20日開催)
oracle4engineer
PRO
2
130
Featured
See All Featured
Done Done
chrislema
185
16k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
The Cost Of JavaScript in 2023
addyosmani
53
8.8k
Designing for humans not robots
tammielis
253
25k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
560
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
Practical Orchestrator
shlominoach
190
11k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
Into the Great Unknown - MozCon
thekraken
40
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!