O'Reilly logo

CoreOS Essentials by Rimantas Mocevicius

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Getting Started with etcd

In this chapter, we will cover etcd, CoreOS's central hub of services, which provides a reliable way of storing shared data across cluster machines and monitoring it.

For testing, we will use our already installed CoreOS VM from the previous chapter. In this chapter, we will cover the following topics:

  • Introducing etcd
  • Reading and writing to etcd from the host machine
  • Reading and writing from an application container
  • Watching changes in etcd
  • TTL (Time to Live) examples
  • Use cases of etcd

Introducing etcd

The etcd function is an open source distributed key value store on a computer network where information is stored on more than one node and data is replicated using the Raft consensus algorithm. The etcd function is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required