Motivation removal of V2 API in #12913
Context Etcd supports Discovery protocol https://etcd.io/docs/v3.4/dev-internal/discovery_protocol/ based on V2 API. In v3.6 we are removing V2 API so we need a replacement that will work in v3.6+ versions. In v3.6 discovery v2 should still be able to do on older vclusters
Goal:
Deprecation plan:
- Make
v3 default in v3.7
- Remove
v2 option in v3.8
Motivation removal of V2 API in #12913
Context Etcd supports Discovery protocol https://etcd.io/docs/v3.4/dev-internal/discovery_protocol/ based on V2 API. In v3.6 we are removing V2 API so we need a replacement that will work in v3.6+ versions. In v3.6 discovery v2 should still be able to do on older vclusters
Goal:
--discovery-versionflag that acceptsv2(default) andv3value. Usingv3will switch Etcd to use discovery protocol using V3 APIDeprecation plan:
v3default in v3.7v2option in v3.8