CoreOS Overview
-
Upload
nikolay-yurin -
Category
Software
-
view
386 -
download
0
description
Transcript of CoreOS Overview
CoreOS warehouse-scaled computing
Nikolay Yurin, DevOps Engineer
What is CoreOS?
● Minimal operating system
● Clustered by default
● Services as Docker containers
● Safe updating system
Profit?
● Static VM pool - multiple services
VM_1
VM_2 VM_3
DB
App
DB
VM_1
VM_3VM_2
AppDB
Supported platforms
● Amazon EC2● QEMU / KVM● VirtualBox● VMware● OpenStack● Bare-metal
CoreOS components
● etcd
● systemd
● docker
etcd
Distributed key-value storage for shared configurations
systemd[Unit]Description=My Apache FrontendAfter=docker.serviceRequires=docker.service
[Service]ExecStart=/usr/bin/docker run --name apache -p 80:80 coreos/apache /usr/sbin/apache2ctl -D FOREGROUNDExecStop=/usr/bin/docker stop apache
[X-Fleet]X-Conflicts=apache.*.service
docker
● Container manager● Automatically runs
on every CoreOS machine
● Integrated with etcd
Fleet - manage cluster with ease
● Deploy docker containers on arbitrary hosts in a cluster
● Discover machines running in the cluster● Distribute services across a cluster using
machine-level anti-affinity
Demo
https://coreos.com/using-coreos
How to learn more?
Q&ATwitter/Github/Facebook: @yurinnick