Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
CoreOS @Codetalks
Search
Timo Derstappen
October 17, 2014
Technology
140
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
CoreOS @Codetalks
Timo Derstappen
October 17, 2014
Transcript
43 slides
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
More Decks by Timo Derstappen
See All by Timo Derstappen
Automating Kubernetes Cluster Operations with Operators
teemow
0
130
Automating Kubernetes Cluster Operations with Operators
teemow
0
180
Microservices Docker @Bonn Agile
teemow
2
140
CoreOS @Railscamp
teemow
1
140
Other Decks in Technology
See All in Technology
一口馬主の募集馬をAIで診断してみた
yoshimura_datam
0
130
Amazon ECS ネットワークモード選びに悩まない ~検証を通じて見えたネットワークモードの選び方~ / 20261114 Masaki Okuda
shift_evolve
PRO
2
170
AI時代に問い直す「プロダクションミーティング」の価値 〜チームでサービスの信頼性を高める取り組み〜
mackerelio
0
260
攻撃と守りは何が変わり、何が変わらないのか~最近の不正アクセスから考える、リスク評価と標準の使いどころ
oidfj
2
390
対話 AI プラットフォーム「アイブリー」で実践する自然言語処理と事業開発
ivry_presentationmaterials
0
250
フルTypeScript × AI駆動開発で開発量が数倍に (JSConf JP 2026 スポンサーLT:NCDC株式会社)
keitaibaraki
1
800
データから見る AI時代のエンジニア転職と採用
junya_okura
4
1.5k
AIが学べる子供の夏休みの自由研究教材を作ったが空振りだった話
yoshimura_datam
0
130
技術同人誌を作る方法
yoshimura_datam
0
120
新規事業開発でのAWS活用成功談&失敗談! 〜新規事業開発を専門に行うRelicならではのAWS活用〜
amixedcolor
1
170
AIエージェントの認証がまとめて進化! ~pre:Inventで来た3つのアップデート~
minorun365
PRO
1
280
メディアアートを〈拡張〉する——器官学と個体化論を手がかりに
_kotobuki_
1
420
Featured
See All Featured
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.3k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
1k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
300
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
1
320
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
The agentic SEO stack - context over prompts
schlessera
0
1k
From π to Pie charts
rasagy
1
460
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.7k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
870