Enviar búsqueda
Cargar
CoreOS: Control Your Fleet
•
47 recomendaciones
•
16,085 vistas
Matthew Jones
Seguir
A quick introduction into CoreOS.
Leer menos
Leer más
Tecnología
Denunciar
Compartir
Denunciar
Compartir
1 de 55
Descargar ahora
Descargar para leer sin conexión
Recomendados
CoreOS + Kubernetes @ All Things Open 2015
CoreOS + Kubernetes @ All Things Open 2015
Brandon Philips
CoreOS intro
CoreOS intro
Timo Derstappen
CoreOS in a Nutshell
CoreOS in a Nutshell
CoreOS
CoreOS @Codetalks Hamburg
CoreOS @Codetalks Hamburg
Timo Derstappen
CoreOS introduction - Johann Romefort
CoreOS introduction - Johann Romefort
Stylight
Docker orchestration using core os and ansible - Ansible IL 2015
Docker orchestration using core os and ansible - Ansible IL 2015
Leonid Mirsky
CoreOS Intro
CoreOS Intro
Isaac Johnston
Introduction to Docker & CoreOS - Symfony User Group Cologne
Introduction to Docker & CoreOS - Symfony User Group Cologne
D
Recomendados
CoreOS + Kubernetes @ All Things Open 2015
CoreOS + Kubernetes @ All Things Open 2015
Brandon Philips
CoreOS intro
CoreOS intro
Timo Derstappen
CoreOS in a Nutshell
CoreOS in a Nutshell
CoreOS
CoreOS @Codetalks Hamburg
CoreOS @Codetalks Hamburg
Timo Derstappen
CoreOS introduction - Johann Romefort
CoreOS introduction - Johann Romefort
Stylight
Docker orchestration using core os and ansible - Ansible IL 2015
Docker orchestration using core os and ansible - Ansible IL 2015
Leonid Mirsky
CoreOS Intro
CoreOS Intro
Isaac Johnston
Introduction to Docker & CoreOS - Symfony User Group Cologne
Introduction to Docker & CoreOS - Symfony User Group Cologne
D
CoreOSによるDockerコンテナのクラスタリング
CoreOSによるDockerコンテナのクラスタリング
Yuji ODA
Declare your infrastructure: InfraKit, LinuxKit and Moby
Declare your infrastructure: InfraKit, LinuxKit and Moby
Moby Project
Deploying Symfony2 app with Ansible
Deploying Symfony2 app with Ansible
Roman Rodomansky
Scaling Next-Generation Internet TV on AWS With Docker, Packer, and Chef
Scaling Next-Generation Internet TV on AWS With Docker, Packer, and Chef
bridgetkromhout
Amazon EC2 Container Service in Action
Amazon EC2 Container Service in Action
Remotty
Lessons from running potentially malicious code inside containers
Lessons from running potentially malicious code inside containers
Ben Hall
Launching containers with fleet
Launching containers with fleet
충섭 김
Docker up and running
Docker up and running
Victor S. Recio
CoreOS : 설치부터 컨테이너 배포까지
CoreOS : 설치부터 컨테이너 배포까지
충섭 김
What Have Syscalls Done for you Lately?
What Have Syscalls Done for you Lately?
Docker, Inc.
IT Automation with Ansible
IT Automation with Ansible
Rayed Alrashed
Small, Simple, and Secure: Alpine Linux under the Microscope
Small, Simple, and Secure: Alpine Linux under the Microscope
Docker, Inc.
Learn basic ansible using docker
Learn basic ansible using docker
Larry Cai
2017-03-11 02 Денис Нелюбин. Docker & Ansible - лучшие друзья DevOps
2017-03-11 02 Денис Нелюбин. Docker & Ansible - лучшие друзья DevOps
Омские ИТ-субботники
Getting instantly up and running with Docker and Symfony
Getting instantly up and running with Docker and Symfony
André Rømcke
Docker Runtime Security
Docker Runtime Security
Sysdig
Quay 3.3 installation
Quay 3.3 installation
Jooho Lee
Running High Performance and Fault Tolerant Elasticsearch Clusters on Docker
Running High Performance and Fault Tolerant Elasticsearch Clusters on Docker
Sematext Group, Inc.
Object Storage with Gluster
Object Storage with Gluster
Gluster.org
OpenShift4 Installation by UPI on kvm
OpenShift4 Installation by UPI on kvm
Jooho Lee
CoreOS Overview and Current Status
CoreOS Overview and Current Status
Sreenivas Makam
Karl Grzeszczak: September Docker Presentation at Mediafly
Karl Grzeszczak: September Docker Presentation at Mediafly
Mediafly
Más contenido relacionado
La actualidad más candente
CoreOSによるDockerコンテナのクラスタリング
CoreOSによるDockerコンテナのクラスタリング
Yuji ODA
Declare your infrastructure: InfraKit, LinuxKit and Moby
Declare your infrastructure: InfraKit, LinuxKit and Moby
Moby Project
Deploying Symfony2 app with Ansible
Deploying Symfony2 app with Ansible
Roman Rodomansky
Scaling Next-Generation Internet TV on AWS With Docker, Packer, and Chef
Scaling Next-Generation Internet TV on AWS With Docker, Packer, and Chef
bridgetkromhout
Amazon EC2 Container Service in Action
Amazon EC2 Container Service in Action
Remotty
Lessons from running potentially malicious code inside containers
Lessons from running potentially malicious code inside containers
Ben Hall
Launching containers with fleet
Launching containers with fleet
충섭 김
Docker up and running
Docker up and running
Victor S. Recio
CoreOS : 설치부터 컨테이너 배포까지
CoreOS : 설치부터 컨테이너 배포까지
충섭 김
What Have Syscalls Done for you Lately?
What Have Syscalls Done for you Lately?
Docker, Inc.
IT Automation with Ansible
IT Automation with Ansible
Rayed Alrashed
Small, Simple, and Secure: Alpine Linux under the Microscope
Small, Simple, and Secure: Alpine Linux under the Microscope
Docker, Inc.
Learn basic ansible using docker
Learn basic ansible using docker
Larry Cai
2017-03-11 02 Денис Нелюбин. Docker & Ansible - лучшие друзья DevOps
2017-03-11 02 Денис Нелюбин. Docker & Ansible - лучшие друзья DevOps
Омские ИТ-субботники
Getting instantly up and running with Docker and Symfony
Getting instantly up and running with Docker and Symfony
André Rømcke
Docker Runtime Security
Docker Runtime Security
Sysdig
Quay 3.3 installation
Quay 3.3 installation
Jooho Lee
Running High Performance and Fault Tolerant Elasticsearch Clusters on Docker
Running High Performance and Fault Tolerant Elasticsearch Clusters on Docker
Sematext Group, Inc.
Object Storage with Gluster
Object Storage with Gluster
Gluster.org
OpenShift4 Installation by UPI on kvm
OpenShift4 Installation by UPI on kvm
Jooho Lee
La actualidad más candente
(20)
CoreOSによるDockerコンテナのクラスタリング
CoreOSによるDockerコンテナのクラスタリング
Declare your infrastructure: InfraKit, LinuxKit and Moby
Declare your infrastructure: InfraKit, LinuxKit and Moby
Deploying Symfony2 app with Ansible
Deploying Symfony2 app with Ansible
Scaling Next-Generation Internet TV on AWS With Docker, Packer, and Chef
Scaling Next-Generation Internet TV on AWS With Docker, Packer, and Chef
Amazon EC2 Container Service in Action
Amazon EC2 Container Service in Action
Lessons from running potentially malicious code inside containers
Lessons from running potentially malicious code inside containers
Launching containers with fleet
Launching containers with fleet
Docker up and running
Docker up and running
CoreOS : 설치부터 컨테이너 배포까지
CoreOS : 설치부터 컨테이너 배포까지
What Have Syscalls Done for you Lately?
What Have Syscalls Done for you Lately?
IT Automation with Ansible
IT Automation with Ansible
Small, Simple, and Secure: Alpine Linux under the Microscope
Small, Simple, and Secure: Alpine Linux under the Microscope
Learn basic ansible using docker
Learn basic ansible using docker
2017-03-11 02 Денис Нелюбин. Docker & Ansible - лучшие друзья DevOps
2017-03-11 02 Денис Нелюбин. Docker & Ansible - лучшие друзья DevOps
Getting instantly up and running with Docker and Symfony
Getting instantly up and running with Docker and Symfony
Docker Runtime Security
Docker Runtime Security
Quay 3.3 installation
Quay 3.3 installation
Running High Performance and Fault Tolerant Elasticsearch Clusters on Docker
Running High Performance and Fault Tolerant Elasticsearch Clusters on Docker
Object Storage with Gluster
Object Storage with Gluster
OpenShift4 Installation by UPI on kvm
OpenShift4 Installation by UPI on kvm
Destacado
CoreOS Overview and Current Status
CoreOS Overview and Current Status
Sreenivas Makam
Karl Grzeszczak: September Docker Presentation at Mediafly
Karl Grzeszczak: September Docker Presentation at Mediafly
Mediafly
Kanban in operations
Kanban in operations
Matthew Jones
Microsoft Pwrpt
Microsoft Pwrpt
RBratton
Startup in Action - Alfred pitch
Startup in Action - Alfred pitch
Codemotion
Simple slide for startup pitch
Simple slide for startup pitch
presentonomics
WTF Is Rancher?
WTF Is Rancher?
Chris Tankersley
Introduction to chef
Introduction to chef
Damith Kothalawala
[2C4]Clustered computing with CoreOS, fleet and etcd
[2C4]Clustered computing with CoreOS, fleet and etcd
NAVER D2
Tutorial on using CoreOS Flannel for Docker networking
Tutorial on using CoreOS Flannel for Docker networking
LorisPack Project
Overview of Chef - Fundamentals Webinar Series Part 1
Overview of Chef - Fundamentals Webinar Series Part 1
Chef
London Presentation - Case Study Higher Geography
London Presentation - Case Study Higher Geography
J0N35
DevOps
DevOps
Matthew Jones
Infrastructure as code: running microservices on AWS using Docker, Terraform,...
Infrastructure as code: running microservices on AWS using Docker, Terraform,...
Yevgeniy Brikman
Building A Modern Data Analytics Architecture on AWS
Building A Modern Data Analytics Architecture on AWS
Amazon Web Services
Introduction to IOT & Smart City
Introduction to IOT & Smart City
Dr. Mazlan Abbas
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI Explainer
Luminary Labs
Visual Design with Data
Visual Design with Data
Seth Familian
3 Things Every Sales Team Needs to Be Thinking About in 2017
3 Things Every Sales Team Needs to Be Thinking About in 2017
Drift
Build Features, Not Apps
Build Features, Not Apps
Natasha Murashev
Destacado
(20)
CoreOS Overview and Current Status
CoreOS Overview and Current Status
Karl Grzeszczak: September Docker Presentation at Mediafly
Karl Grzeszczak: September Docker Presentation at Mediafly
Kanban in operations
Kanban in operations
Microsoft Pwrpt
Microsoft Pwrpt
Startup in Action - Alfred pitch
Startup in Action - Alfred pitch
Simple slide for startup pitch
Simple slide for startup pitch
WTF Is Rancher?
WTF Is Rancher?
Introduction to chef
Introduction to chef
[2C4]Clustered computing with CoreOS, fleet and etcd
[2C4]Clustered computing with CoreOS, fleet and etcd
Tutorial on using CoreOS Flannel for Docker networking
Tutorial on using CoreOS Flannel for Docker networking
Overview of Chef - Fundamentals Webinar Series Part 1
Overview of Chef - Fundamentals Webinar Series Part 1
London Presentation - Case Study Higher Geography
London Presentation - Case Study Higher Geography
DevOps
DevOps
Infrastructure as code: running microservices on AWS using Docker, Terraform,...
Infrastructure as code: running microservices on AWS using Docker, Terraform,...
Building A Modern Data Analytics Architecture on AWS
Building A Modern Data Analytics Architecture on AWS
Introduction to IOT & Smart City
Introduction to IOT & Smart City
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI Explainer
Visual Design with Data
Visual Design with Data
3 Things Every Sales Team Needs to Be Thinking About in 2017
3 Things Every Sales Team Needs to Be Thinking About in 2017
Build Features, Not Apps
Build Features, Not Apps
Similar a CoreOS: Control Your Fleet
CoreOS, or How I Learned to Stop Worrying and Love Systemd
CoreOS, or How I Learned to Stop Worrying and Love Systemd
Richard Lister
PuppetConf 2017: Use Puppet to Tame the Dockerfile Monster- Bryan Belanger, A...
PuppetConf 2017: Use Puppet to Tame the Dockerfile Monster- Bryan Belanger, A...
Puppet
Null Bachaav - May 07 Attack Monitoring workshop.
Null Bachaav - May 07 Attack Monitoring workshop.
Prajal Kulkarni
Keep it simple web development stack
Keep it simple web development stack
Eric Ahn
REST with Eve and Python
REST with Eve and Python
PiXeL16
AWS Study Group - Chapter 03 - Elasticity and Scalability Concepts [Solution ...
AWS Study Group - Chapter 03 - Elasticity and Scalability Concepts [Solution ...
QCloudMentor
Debugging: Rules & Tools
Debugging: Rules & Tools
Ian Barber
Debugging: Rules And Tools - PHPTek 11 Version
Debugging: Rules And Tools - PHPTek 11 Version
Ian Barber
httpd — Apache Web Server
httpd — Apache Web Server
webhostingguy
PHP on Windows Azure
PHP on Windows Azure
Microsoft Openness Japan
A 2-2 php on windows azure
A 2-2 php on windows azure
GoAzure
EC2
EC2
Igor Kapkov
Learning kubernetes
Learning kubernetes
Eueung Mulyana
DEF CON 27 - PATRICK WARDLE - harnessing weapons of Mac destruction
DEF CON 27 - PATRICK WARDLE - harnessing weapons of Mac destruction
Felipe Prado
Systems Automation with Puppet
Systems Automation with Puppet
elliando dias
Service discovery and configuration provisioning
Service discovery and configuration provisioning
Source Ministry
Docker remote-api
Docker remote-api
Eric Ahn
HashiCorp's Vault - The Examples
HashiCorp's Vault - The Examples
Michał Czeraszkiewicz
Continuous Delivery: The Next Frontier
Continuous Delivery: The Next Frontier
Carlos Sanchez
Docker 基本概念與指令操作
Docker 基本概念與指令操作
NUTC, imac
Similar a CoreOS: Control Your Fleet
(20)
CoreOS, or How I Learned to Stop Worrying and Love Systemd
CoreOS, or How I Learned to Stop Worrying and Love Systemd
PuppetConf 2017: Use Puppet to Tame the Dockerfile Monster- Bryan Belanger, A...
PuppetConf 2017: Use Puppet to Tame the Dockerfile Monster- Bryan Belanger, A...
Null Bachaav - May 07 Attack Monitoring workshop.
Null Bachaav - May 07 Attack Monitoring workshop.
Keep it simple web development stack
Keep it simple web development stack
REST with Eve and Python
REST with Eve and Python
AWS Study Group - Chapter 03 - Elasticity and Scalability Concepts [Solution ...
AWS Study Group - Chapter 03 - Elasticity and Scalability Concepts [Solution ...
Debugging: Rules & Tools
Debugging: Rules & Tools
Debugging: Rules And Tools - PHPTek 11 Version
Debugging: Rules And Tools - PHPTek 11 Version
httpd — Apache Web Server
httpd — Apache Web Server
PHP on Windows Azure
PHP on Windows Azure
A 2-2 php on windows azure
A 2-2 php on windows azure
EC2
EC2
Learning kubernetes
Learning kubernetes
DEF CON 27 - PATRICK WARDLE - harnessing weapons of Mac destruction
DEF CON 27 - PATRICK WARDLE - harnessing weapons of Mac destruction
Systems Automation with Puppet
Systems Automation with Puppet
Service discovery and configuration provisioning
Service discovery and configuration provisioning
Docker remote-api
Docker remote-api
HashiCorp's Vault - The Examples
HashiCorp's Vault - The Examples
Continuous Delivery: The Next Frontier
Continuous Delivery: The Next Frontier
Docker 基本概念與指令操作
Docker 基本概念與指令操作
Último
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Zilliz
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Andrey Devyatkin
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Orbitshub
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
apidays
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
jfdjdjcjdnsjd
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Zilliz
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
Nanddeep Nachan
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
Zilliz
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
johnbeverley2021
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
Zilliz
Architecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
Remote DBA Services
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
rafiqahmad00786416
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
apidays
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Orbitshub
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
apidays
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
Último
(20)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
Architecting Cloud Native Applications
Architecting Cloud Native Applications
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
CoreOS: Control Your Fleet
1.
CoreOS Control your fleet @geekle
2.
What is CoreOS? Systemd Docker Etcd Fleet Cloudinit
3.
Docker LXC made easy Public
repository Easy to share WYSIWY(M)G™
4.
etcd Key value store,
written in go Configuration and service discovery Simple API RAFT Protocol (distributed consensus) Nice extras: ttl, locks
5.
Fleet Uses systemd Extra conditionals Runs
on etcd
6.
Cloudinit Subset of cloud-config CoreOS
specific parameters OS agnostic
7.
Demo
8.
Demoish
9.
Fetch a discovery
URL
10.
$ curl https://discovery.etcd.io/new
11.
$ curl https://discovery.etcd.io/new https://discovery.etcd.io/cce83b966a3947533bc9e9a00b0c8788
12.
$ curl https://discovery.etcd.io/new https://discovery.etcd.io/cce83b966a3947533bc9e9a00b0c8788 $
curl https://discovery.etcd.io/cce83b966a3947533bc9e9a00b0c8788
13.
$ curl https://discovery.etcd.io/new https://discovery.etcd.io/cce83b966a3947533bc9e9a00b0c8788 $
curl https://discovery.etcd.io/cce83b966a3947533bc9e9a00b0c8788 {"action":"get","node":{"key":" /_etcd/registry/cce83b966a3947533bc9e9a00b0c8788","dir":true," modifiedIndex":5285489,"createdIndex":5285489}
14.
Let’s create our
cloud-init
15.
#cloud-config coreos: etcd: discovery: https://discovery.etcd.io/cce83b966a3947533bc9e9a00b0c8788 addr: $private_ipv4:4001 peer-addr:
$private_ipv4:7001 units: - name: etcd.service command: start - name: fleet.service command: start users: - name: core coreos-ssh-import-github: geekle write_files:
16.
#cloud-config coreos: etcd: discovery: https://discovery.etcd.io/cce83b966a3947533bc9e9a00b0c8788 addr: $private_ipv4:4001 peer-addr:
$private_ipv4:7001 units: - name: etcd.service command: start - name: fleet.service command: start users: - name: core coreos-ssh-import-github: geekle write_files:
17.
#cloud-config coreos: etcd: discovery: https://discovery.etcd.io/cce83b966a3947533bc9e9a00b0c8788 addr: $private_ipv4:4001 peer-addr:
$private_ipv4:7001 units: - name: etcd.service command: start - name: fleet.service command: start users: - name: core coreos-ssh-import-github: geekle write_files:
18.
coreos: etcd: discovery: https://discovery.etcd.io/cce83b966a3947533bc9e9a00b0c8788 addr: $private_ipv4:4001 peer-addr:
$private_ipv4:7001 units: - name: etcd.service command: start - name: fleet.service command: start users: - name: core coreos-ssh-import-github: geekle write_files: - path: /etc/fleet/fleet.conf
19.
etcd: discovery: https://discovery.etcd.io/cce83b966a3947533bc9e9a00b0c8788 addr: $private_ipv4:4001 peer-addr:
$private_ipv4:7001 units: - name: etcd.service command: start - name: fleet.service command: start users: - name: core coreos-ssh-import-github: geekle write_files: - path: /etc/fleet/fleet.conf content: |
20.
discovery: https://discovery.etcd.io/cce83b966a3947533bc9e9a00b0c8788 addr: $private_ipv4:4001 peer-addr:
$private_ipv4:7001 units: - name: etcd.service command: start - name: fleet.service command: start users: - name: core coreos-ssh-import-github: geekle write_files: - path: /etc/fleet/fleet.conf content: | public_ip="$private_ipv4"
21.
addr: $private_ipv4:4001 peer-addr: $private_ipv4:7001 units: -
name: etcd.service command: start - name: fleet.service command: start users: - name: core coreos-ssh-import-github: geekle write_files: - path: /etc/fleet/fleet.conf content: | public_ip="$private_ipv4" metadata="elastic_ip=true,public_ip=$public_ipv4"
22.
peer-addr: $private_ipv4:7001 units: - name:
etcd.service command: start - name: fleet.service command: start users: - name: core coreos-ssh-import-github: geekle write_files: - path: /etc/fleet/fleet.conf content: | public_ip="$private_ipv4" metadata="elastic_ip=true,public_ip=$public_ipv4"
23.
units: - name: etcd.service command:
start - name: fleet.service command: start users: - name: core coreos-ssh-import-github: geekle write_files: - path: /etc/fleet/fleet.conf content: | public_ip="$private_ipv4" metadata="elastic_ip=true,public_ip=$public_ipv4"
24.
units: - name: etcd.service command:
start - name: fleet.service command: start users: - name: core coreos-ssh-import-github: geekle write_files: - path: /etc/fleet/fleet.conf content: | public_ip="$private_ipv4" metadata="elastic_ip=true,public_ip=$public_ipv4"
25.
units: - name: etcd.service command:
start - name: fleet.service command: start users: - name: core coreos-ssh-import-github: geekle write_files: - path: /etc/fleet/fleet.conf content: | public_ip="$private_ipv4" metadata="elastic_ip=true,public_ip=$public_ipv4"
26.
units: - name: etcd.service command:
start - name: fleet.service command: start users: - name: core coreos-ssh-import-github: geekle write_files: - path: /etc/fleet/fleet.conf content: | public_ip="$private_ipv4" metadata="elastic_ip=true,public_ip=$public_ipv4"
27.
Boot with your
favorite Paas
28.
$ curl https://discovery.etcd.io/new https://discovery.etcd.io/cce83b966a3947533bc9e9a00b0c8788 $
curl https://discovery.etcd.io/cce83b966a3947533bc9e9a00b0c8788 {"action":"get","node":{"key":" /_etcd/registry/cce83b966a3947533bc9e9a00b0c8788","dir":true," modifiedIndex":5285489,"createdIndex":5285489}
29.
$ curl https://discovery.etcd.io/new https://discovery.etcd.io/cce83b966a3947533bc9e9a00b0c8788 $
curl https://discovery.etcd.io/cce83b966a3947533bc9e9a00b0c8788 {"action":"get","node":{"key":" /_etcd/registry/cce83b966a3947533bc9e9a00b0c8788","dir":true," modifiedIndex":5285489,"createdIndex":5285489} $ curl https://discovery.etcd.io/cce83b966a3947533bc9e9a00b0c8788
30.
$ curl https://discovery.etcd.io/new https://discovery.etcd.io/cce83b966a3947533bc9e9a00b0c8788 $
curl https://discovery.etcd.io/cce83b966a3947533bc9e9a00b0c8788 {"action":"get","node":{"key":" /_etcd/registry/cce83b966a3947533bc9e9a00b0c8788","dir":true," modifiedIndex":5285489,"createdIndex":5285489} $ curl https://discovery.etcd.io/cce83b966a3947533bc9e9a00b0c8788 {"action":"get","node":{"key":" /_etcd/registry/cce83b966a3947533bc9e9a00b0c8788","dir":true,"nodes": [{"key":" /_etcd/registry/cce83b966a3947533bc9e9a00b0c8788/24bb98332c044a1287e937c216 f5d27a","value":"http://10.0.1.50:7001","expiration":"2014-04-14T11:40: 57.102816593Z","ttl":604576,"modifiedIndex":5288689,"createdIndex": 5288689},{"key":" /_etcd/registry/cce83b966a3947533bc9e9a00b0c8788/cf321c2c8dbc46d99236fd4a28 84e353","value":"http://10.0.0.114:7001","expiration":"2014-04-14T11:44: 07.598817138Z","ttl":604766,"modifiedIndex":5289124,"createdIndex": 5289124},{"key":"
31.
Let’s login
32.
$ ssh -A
core@54.206.85.138
33.
$ ssh -A
core@54.206.85.138 ______ ____ _____ / ____/___ ________ / __ / ___/ / / / __ / ___/ _ / / / /__ / /___/ /_/ / / / __/ /_/ /___/ / ____/____/_/ ___/____//____/ core@ip-10-0-0-114 ~ $
34.
$ ssh -A
core@54.206.85.138 ______ ____ _____ / ____/___ ________ / __ / ___/ / / / __ / ___/ _ / / / /__ / /___/ /_/ / / / __/ /_/ /___/ / ____/____/_/ ___/____//____/ core@ip-10-0-0-114 ~ $ fleetctl list-machines
35.
$ ssh -A
core@54.206.85.138 ______ ____ _____ / ____/___ ________ / __ / ___/ / / / __ / ___/ _ / / / /__ / /___/ /_/ / / / __/ /_/ /___/ / ____/____/_/ ___/____//____/ core@ip-10-0-0-114 ~ $ fleetctl list-machines MACHINE IP METADATA 12206e61... 10.0.1.50 elastic_ip=false bd57c96a... 10.0.0.114 elastic_ip=true, public_ip=54.206.85.138 37e5ec47... 10.0.0.231 elastic_ip=true, public_ip=54.206.52.131 core@ip-10-0-0-114 ~ $
36.
$ ssh -A
core@54.206.85.138 ______ ____ _____ / ____/___ ________ / __ / ___/ / / / __ / ___/ _ / / / /__ / /___/ /_/ / / / __/ /_/ /___/ / ____/____/_/ ___/____//____/ core@ip-10-0-0-114 ~ $ fleetctl list-machines MACHINE IP METADATA 12206e61... 10.0.1.50 elastic_ip=false bd57c96a... 10.0.0.114 elastic_ip=true, public_ip=54.206.85.138 37e5ec47... 10.0.0.231 elastic_ip=true, public_ip=54.206.52.131 core@ip-10-0-0-114 ~ $ echo "o/"
37.
$ ssh -A
core@54.206.85.138 ______ ____ _____ / ____/___ ________ / __ / ___/ / / / __ / ___/ _ / / / /__ / /___/ /_/ / / / __/ /_/ /___/ / ____/____/_/ ___/____//____/ core@ip-10-0-0-114 ~ $ fleetctl list-machines MACHINE IP METADATA 12206e61... 10.0.1.50 elastic_ip=false bd57c96a... 10.0.0.114 elastic_ip=true, public_ip=54.206.85.138 37e5ec47... 10.0.0.231 elastic_ip=true, public_ip=54.206.52.131 core@ip-10-0-0-114 ~ $ echo "o/" o/
38.
Let’s login remotely
39.
$ fleetctl --tunnel
'54.206.85.138' list-machines
40.
$ fleetctl --tunnel
'54.206.85.138' list-machines MACHINE IP METADATA f7898d12... 10.0.1.50 elastic_ip=false ca1355b0... 10.0.0.231 elastic_ip=true, public_ip=54.206.52.131 40e69aa8... 10.0.0.114 elastic_ip=true, public_ip=54.206.85.138
41.
$ fleetctl --tunnel
'54.206.85.138' list-machines MACHINE IP METADATA f7898d12... 10.0.1.50 elastic_ip=false ca1355b0... 10.0.0.231 elastic_ip=true, public_ip=54.206.52.131 40e69aa8... 10.0.0.114 elastic_ip=true, public_ip=54.206.85.138
42.
$ fleetctl --tunnel
'54.206.85.138' list-machines MACHINE IP METADATA f7898d12... 10.0.1.50 elastic_ip=false ca1355b0... 10.0.0.231 elastic_ip=true, public_ip=54.206.52.131 40e69aa8... 10.0.0.114 elastic_ip=true, public_ip=54.206.85.138 $ fleetctl --tunnel '54.206.85.138' ssh f7898d12
43.
$ fleetctl --tunnel
'54.206.85.138' list-machines MACHINE IP METADATA f7898d12... 10.0.1.50 elastic_ip=false ca1355b0... 10.0.0.231 elastic_ip=true, public_ip=54.206.52.131 40e69aa8... 10.0.0.114 elastic_ip=true, public_ip=54.206.85.138 $ fleetctl --tunnel '54.206.85.138' ssh f7898d12 ______ ____ _____ / ____/___ ________ / __ / ___/ / / / __ / ___/ _ / / / /__ / /___/ /_/ / / / __/ /_/ /___/ / ____/____/_/ ___/____//____/ core@ip-10-0-1-50 ~ $
44.
Let’s create some
services
45.
[Unit] Description=HAProxy Service [Service] ExecStart=/usr/bin/docker run
--rm --name %n -p 80:80 -p 443:443 -p 8080:8080 redguava/haproxy-etcd ExecStop=/usr/bin/docker stop %n
46.
[Unit] Description=Apache Service [Service] ExecStart=/usr/bin/docker run
--rm --name %n -p 80 thomaswelton/apache ExecStop=/usr/bin/docker stop %n [X-Fleet] X-Conflicts=haproxy.service
47.
[Unit] Description=Apache Announce BindsTo=apache.service [Service] ExecStart=/bin/bash -c
"HOST_IP=$(/bin/ifconfig eth0 | awk '/inet /{print $2}') && CONTAINER_PORT=$(docker inspect apache.service | grep -m 1 HostPort | tr -d ' ' | cut -d: -f2 | tr -d '"') && while true; do etcdctl set /services/web/%H "{ "host": "$HOST_IP", "port": "$CONTAINER_PORT" }" --ttl 60;sleep 45;done" ExecStop=/usr/bin/etcdctl rm /services/web/%H [X-Fleet] X-ConditionMachineOf=apache.service
48.
Let’s add the
services
49.
$ fleetctl --tunnel
'54.206.85.138' submit *.service $ fleetctl --tunnel '54.206.85.138' list-units UNIT LOAD ACTIVE SUB DESC MACHINE apache-announce.service - - - Apache Announce - apache.service - - - Apache Service - haproxy.service - - - HAProxy Service -
50.
$ fleetctl --tunnel
'54.206.85.138' start --require 'elastic_ip=true' haproxy.service $ fleetctl --tunnel '54.206.85.138' list-units UNIT LOAD ACTIVE SUB DESC MACHINE apache-announce.service - - - Apache Announce - apache.service - - - Apache Service - haproxy.service loaded active running HAProxy Service ca1355b0... /10.0.0.231
51.
$ fleetctl --tunnel
'54.206.85.138' start apache*.service $ fleetctl --tunnel '54.206.85.138' list-units UNIT LOAD ACTIVE SUB DESC MACHINE apache-announce.service loaded active running Apache Announce f7898d12.../10.0.1.50 apache.service loaded active running Apache Service f7898d12... /10.0.1.50 haproxy.service loaded active running HAProxy Service ca1355b0... /10.0.0.231
52.
core@ip-10-0-1-50 ~ $
etcdctl ls --recursive /services /services/web /services/web/ip-10-0-1-50 core@ip-10-0-1-50 ~ $ etcdctl get /services/web/ip-10-0-1-50 { "host": "10.0.1.50", "port": "49154" }
53.
54.
55.
Things You Should
Know - discovery.etcd.io has a 1 week TTL - It is in alpha. Beta on the way. - Automatic restarts after updates during the alpha. You can disable this.
Descargar ahora