Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KEP-4743: Kubernetes-etcd interface #4744

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

serathius
Copy link
Contributor

@serathius serathius commented Jun 28, 2024

@k8s-ci-robot
Copy link
Contributor

@serathius: GitHub didn't allow me to request PR reviews from the following users: dead2k.

Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

/cc @ahrtr @wojtek-t @dims @jpbetz @Dead2K

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory sig/etcd Categorizes an issue or PR as relevant to SIG Etcd. approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jun 28, 2024
* **Improved Testability:** Enable thorough testing of etcd and Kubernetes
interactions through a well-defined interface, as envisioned in [#15820].
* **Error Prevention:** Reduce incorrect contract usage, addressing issues like Kubernetes [#110210].
* **Reviewable Changes:** Make contract modifications easily reviewable and trackable, ensuring a transparent and collaborative evolution.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we call out backward compatibility here directly? I realize it's implied in work like this, but it gets a bit more interesting with SIG-etcd's proposals to introduce feature introspection and progressive enhancements.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The etcd-kubernetes interface is just part of etcd client SDK. Regarding comparability, it's about the compatibility between etcd client sdk and etcdserver. So it isn't the scope of this KEP?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jpbetz Can you clarify your comment? Do you mean backward compatibility of the interface or backward compatibility of how K8s uses etcd or something else?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Backward compatibility between k8s and etcd is my main concern. How the kubernetes-etcd interface facilitates that is what I'm hoping to see more details about in this document.

* **Improved Testability:** Enable thorough testing of etcd and Kubernetes
interactions through a well-defined interface, as envisioned in [#15820].
* **Error Prevention:** Reduce incorrect contract usage, addressing issues like Kubernetes [#110210].
* **Reviewable Changes:** Make contract modifications easily reviewable and trackable, ensuring a transparent and collaborative evolution.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The etcd-kubernetes interface is just part of etcd client SDK. Regarding comparability, it's about the compatibility between etcd client sdk and etcdserver. So it isn't the scope of this KEP?

keps/sig-etcd/4743-kuberernetes-etcd-interface/README.md Outdated Show resolved Hide resolved
keps/sig-etcd/4743-kuberernetes-etcd-interface/README.md Outdated Show resolved Hide resolved
keps/sig-etcd/4743-kuberernetes-etcd-interface/README.md Outdated Show resolved Hide resolved
@k8s-triage-robot
Copy link

Unknown CLA label state. Rechecking for CLA labels.

Send feedback to sig-contributor-experience at kubernetes/community.

/check-cla
/easycla

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 28, 2024
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this KEP the kind that is tied to a release, or the kind that isn't?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, etcd KEPs are not tied to release.

@k8s-ci-robot k8s-ci-robot removed the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 1, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: serathius

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 1, 2024
@serathius
Copy link
Contributor Author

/hold
To collect reviews.

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 1, 2024
@serathius serathius force-pushed the kep4743 branch 2 times, most recently from 6446f4b to ae7a369 Compare July 1, 2024 12:21
@dims
Copy link
Member

dims commented Jul 1, 2024

cc @shyamjvs @chaochn47

@ahrtr
Copy link
Member

ahrtr commented Jul 1, 2024

/lgtm

Thanks

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 1, 2024
@wojtek-t
Copy link
Member

wojtek-t commented Jul 2, 2024

/lgtm

@dims
Copy link
Member

dims commented Jul 2, 2024

@serathius 2 tiny nits, but looks great overall! thanks.

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 2, 2024
@serathius
Copy link
Contributor Author

Added backward compatibility as a goal and updated the interface. PTAL @jpbetz @wojtek-t

@wojtek-t
Copy link
Member

wojtek-t commented Aug 7, 2024

/lgtm

@jpbetz - PTAL

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/etcd Categorizes an issue or PR as relevant to SIG Etcd. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants