Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning CoreOS

You're reading from   Learning CoreOS

Arrow left icon
Product type Paperback
Published in Mar 2016
Publisher
ISBN-13 9781785888304
Length 190 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Shantanu Agrawal Shantanu Agrawal
Author Profile Icon Shantanu Agrawal
Shantanu Agrawal
Kingston Smiler. S Kingston Smiler. S
Author Profile Icon Kingston Smiler. S
Kingston Smiler. S
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. CoreOS, Yet Another Linux Distro? FREE CHAPTER 2. Setting Up Your CoreOS Environment 3. Creating Your CoreOS Cluster and Managing the Cluster 4. Managing Services with User-Defined Constraints 5. Discovering Services Running in a Cluster 6. Service Chaining and Networking Across Services 7. Creating a Virtual Tenant Network and Service Chaining Using OVS 8. What Next? Index

Mechanism for service discovery


Features provided by the CoreOS services etcd and fleetd can be used to discover services. The following figure explains the typical mechanism used for service discovery:

In the previous chapters, we have seen how etcd and fleetd can be used to discover the member nodes in a cluster. The etcd service is not limited for node discovery. It can be used to discover or publish information related to applications or services. The subsequent sections in this chapter cover how to publish and discover service-related information using etcd.

There are two kinds of member nodes in the cluster: frontend service nodes and backend service nodes.

  • The frontend service handles all service requests and routes the request to the backend service for actual processing. This is the simplified but typical architecture for any high-capacity system. In the frontend service nodes, the following services will be running:

    • Discovery service

    • etcd service

    • fleetd service

    • Frontend or route service...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime