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 @Codetalks
Search
Timo Derstappen
October 17, 2014
Technology
2
110
CoreOS @Codetalks
Timo Derstappen
October 17, 2014
Tweet
Share
More Decks by Timo Derstappen
See All by Timo Derstappen
Automating Kubernetes Cluster Operations with Operators
teemow
0
92
Automating Kubernetes Cluster Operations with Operators
teemow
0
130
Microservices Docker @Bonn Agile
teemow
2
130
CoreOS @Railscamp
teemow
1
120
Other Decks in Technology
See All in Technology
Tech Blogを書きやすい環境づくり
lycorptech_jp
PRO
1
230
Developer Summit 2025 [14-D-1] Yuki Hattori
yuhattor
19
5.8k
10分で紹介するAmazon Bedrock利用時のセキュリティ対策 / 10-minutes introduction to security measures when using Amazon Bedrock
hideakiaoyagi
0
180
リーダブルテストコード 〜メンテナンスしやすい テストコードを作成する方法を考える〜 #DevSumi #DevSumiB / Readable test code
nihonbuson
11
6.8k
Nekko Cloud、 これまでとこれから ~学生サークルが作る、 小さなクラウド
logica0419
2
880
開発スピードは上がっている…品質はどうする? スピードと品質を両立させるためのプロダクト開発の進め方とは #DevSumi #DevSumiB / Agile And Quality
nihonbuson
2
2.4k
MC906491 を見据えた Microsoft Entra Connect アップグレード対応
tamaiyutaro
1
520
飲食店予約台帳を支えるインタラクティブ UI 設計と実装
siropaca
7
1.6k
プロセス改善による品質向上事例
tomasagi
2
2.2k
速くて安いWebサイトを作る
nishiharatsubasa
9
11k
Oracle Cloud Infrastructure:2025年2月度サービス・アップデート
oracle4engineer
PRO
1
140
データの品質が低いと何が困るのか
kzykmyzw
6
1.1k
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.2k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
4
410
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Docker and Python
trallard
44
3.3k
Automating Front-end Workflow
addyosmani
1367
200k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
The Language of Interfaces
destraynor
156
24k
Raft: Consensus for Rubyists
vanstee
137
6.8k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.2k
Scaling GitHub
holman
459
140k
Agile that works and the tools we love
rasmusluckow
328
21k
Transcript
Introduction to CoreOS Timo Derstappen @teemow
Simple service orchestration, built for developers. Based in Cologne, Germany.
Ten terrific folks, and hiring! http://giantswarm.io/
What is CoreOS?
CoreOS enables warehouse-scale computing on top of a minimal, modern
operating system. A new Linux Distribution to provide features needed to run modern infrastructure stacks. Minimal Linux
Features • Automatic Updates • Docker Containers • Cluster management
• Service Discovery
Linux Basis • Based on Gentoo • systemd • btrfs
• Images for PXE, OpenStack, AWS, GCE, Vagrant
“Immutable” System • Read-only rootfs • Writeable overlay on /etc
No classic package manager • ChromeOS inspired update engine •
Atomic Updates • Rollbacks • Using Docker to distribute software
CoreOS own tools • Etcd • Locksmith • Cloud-config •
Flannel • Fleet https://github.com/coreos
Etcd A highly-available key value store for shared configuration and
service discovery.
Etcd • Basis for > Configuration management > Service Discovery
• REST Interface • Raft consensus algorithm http://raftconsensus.github.io/
Etcd Cluster
Discovery API $> curl https://discovery.etcd.io/new https://discovery.etcd. io/463c1435f9f63c952e0899b1f459c0fe $> curl -s
https://discovery.etcd. io/463c1435f9f63c952e0899b1f459c0fe | jq ".node. nodes[].value" "http://172.31.19.1:7001" "http://172.31.19.0:7001" "http://172.31.18.255:7001"
Locksmith Reboot manager for the CoreOS update engine.
Locksmith • Reboot strategies for CoreOS updates • Uses etcd
for distributed locks • Alpha, Beta, Stable channels
Cloud Config Customize a CoreOS machine through user- data.
Cloud Config • Initialization of your instances • Configure etcd,
fleet, locksmith • YAML file • eg. EC2 user-data, Autoscaler launch- config
Configure your cluster #cloud-config coreos: update: reboot-strategy: etcd-lock
Configure your cluster #cloud-config coreos: update: reboot-strategy: etcd-lock etcd: discovery:
https://discovery.etcd.io/<token>
Configure your cluster #cloud-config coreos: update: reboot-strategy: etcd-lock etcd: discovery:
https://discovery.etcd.io/<token> users: - name: teemow coreos-ssh-import-github: teemow
Flannel Overlay networks backed by etcd.
Cloud overlay network • One subnet per machine • Get
rid of docker port mapping • Let containers talk to each other via IP addresses
Backends • Encapsulate packets in UDP • VXLAN implementation coming
Fleet Systemd for the cluster
Fleet • CLI and API to start your containers •
Uses etcd and systemd
Fleet deployment
Fleet Scheduler • Relatively simple > By meta data >
Same machine/exclusion • Resolve service dependencies! • More to come > Resource management (CPU, memory etc.)
Unit file [Unit] Description=A Redis Server [Service] TimeoutStartSec=0 ExecStartPre=/usr/bin/docker pull
teemow/redis ExecStart=/usr/bin/docker run --rm -p 6379 --name %n teemow/redis 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
Service Discovery
Three-Tier Application • Load Balancer • App • Database
Sidekick Keep configuration out of your app
Ambassador Reverse proxy for your service Keep service discovery out
of your app
Using CoreOS
CoreOS • Great foundation to create flexible distributed infrastructures •
Unix philosophy
Kubernetes • Google Container Orchestration • Runs on top of
CoreOS
cAdvisor • Monitoring for your containers • Collects, aggregates and
processes metrics • InfluxDB Backend • Monitoring of clusters with Heapster
Deis Heroku-like Open Source PaaS
Panamax • Web interface to start multi container apps •
App Templates on Github • Open Source project from CenturyLink Labs
We ♥ CoreOS
Docker Cologne - CoreOS Meetup 19:00, 14th October Startplatz Brandon
Philips, CTO of CoreOS Luke Marsden, CTO of Flocker There is a Meetup in Cologne
Sign up for the Giant Swarm private Beta Request Invite
http://giantswarm.io/
Thanks for listening! Reach out: Timo Derstappen @teemow @giantswarm