Giter Site home page Giter Site logo

etcd-wrapper's Introduction

etcd-wrapper

CI Build status Go Report Card License: Apache-2.0

etcd-wrapper configures and starts an embedded etcd.

In gardener context, each control plane (whether it is part of a seed or a shoot) gets its own etcd cluster. An etcd cluster is realized as a StatefulSet.

Each etcd member is a two container Pod which consists of:

  • etcd-wrapper which is the main etcd process.
  • etcd-backup-restore sidecar which currently provides the following capabilities (the list is not comprehensive):
    • etcd DB validation.
    • Scheduled DB defragmentation.
    • Snapshotting - delta and full snapshots are taken at regularly.
    • Backup - delta and full snapshots are backed in an object store if one is configured.
    • Restoration - In case of a DB corruption for a single member cluster it helps in restoring from last full snapshot.
    • Member control operations e.g. adding the peer etcd process as a learner.

etcd-wrapper currently depends upon backup-restore sidecar container for the following:

  • Validation of etcd DB
  • Optionally restore the etcd DB from the backup object store in case the DB is corrupt (this is only relevant in a single node etcd cluster).
  • Provide user provided etcd configuration.

To learn more about etcd-wrapper see /docs directory, please find the index here.

Future improvements

  • It is currently not possible to productively use etcd-wrapper without its sidecar(etcd-backup-restore). We intend to change this in the near future to make it possible to even productively consume etcd-wrapper independently.

Feedback and Support

We always look forward to active community engagement. Please report bugs or suggestions on how we can enhance etcd-wrapper on Github Issues.

More Learning

  • For more information on gardener refer to the docs.
  • For more information on the etcd operator that is used in gardener see etcd-druid.

etcd-wrapper's People

Contributors

unmarshall avatar aaronfern avatar seshachalam-yv avatar shreyas-s-rao avatar gardener-robot avatar aleksandarsavchev avatar ccwienk avatar ashwani2k avatar ishan16696 avatar gardener-robot-ci-2 avatar gardener-robot-ci-3 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.