etcd-io / etcd-io/etcd

Codify the the kubernetes-etcd contract into etcd robustness tests

Open
#15,820 10 comments 9 reactions 1 assignee View on GitHub

@serathius is already working on this.

Since May 3, 2023.

area/robustness-testing priority/important-soon stage/tracked type/feature
Dominant language
Go
Stars
52.3k
Forks
10.5k
Avg merge
3d 3h
Merged PRs (30d)
42

Description

What would you like to be added?

Etcd robustness tests are pretty great way to validate generic contracts, however it's pretty huge problem space and it's hard to know what should be done next.

To drive robustness testing direction and priorities I would like to propose to first to focus on Kubernetes-Etcd contract. Work would include clarifying, documenting and then codifying it into etcd robustness tests.

The end result would be an etcd model that work as a fake that Kubernetes project can use to cross test the contract. A fake is a lightweight implementation that behaves like a real system and can be used for testing.

Plan

Why is this needed?

Kubernetes is currently the main user of etcd, still there are a number of untested assumptions in the K8s-etcd contract. Changes to these underlying features may cause Kubernetes to behave incorrectly, or even not work at all.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.