etcd-io / etcd

Distributed reliable key-value store for the most critical data of a distributed system
https://etcd.io
Apache License 2.0
47.38k stars 9.72k forks source link

Add server level feature gate #18023

Open siyuanfoundation opened 4 months ago

siyuanfoundation commented 4 months ago

What would you like to be added?

Add the Kubernetes style feature gate framework into etcd to gate future feature enhancement. Users would be able to turn features on or off for the single server and query feature enablement in a consistent way.

This issue is for tracking KEP-4578. Tasks in this KEP include

Why is this needed?

To make it easier to add and use new features in etcd. Please refer to https://github.com/kubernetes/enhancements/issues/4578 for more details.

siyuanfoundation commented 4 months ago

while https://github.com/kubernetes/enhancements/pull/4610 is still in review, I think there is no much contention regarding server level feature gate. we can get started on the implementation. /cc @stackbaek @henrybear327

henrybear327 commented 4 months ago

Thanks @siyuanfoundation for the heads up! Happy to contribute to this feature :) Looking forward to it!

serathius commented 3 months ago

Can we wait for approvals for the KEP so the implementation done by contributors don't need to be updated when the design details are changed frustrating the contributors?

siyuanfoundation commented 1 month ago

/cc @YoyinZyc