<p dir="auto">After <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="97430498" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/11878" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/11878/hovercard" href="https://github.com/kubernetes/kubernetes/pull/11878">#11878</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="98145224" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/12020" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/12020/hovercard" href="https://github.com/kubernetes/kubernetes/pull/12020">#12020</a> pkg/registry is no longer coupled with etcd - it is now (relatively) generic.</p>
<p dir="auto">Few thing that we should cleanup there:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> move any references to etcd to something more generic (e.g. pkg/registry/<em>/etcd to pkg/registry/</em>/storageclient) - please suggest better name for it :)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> migrate services to use rest.StandardStorage and move it to service/ directory (from pkg/registry/etcd/)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> unify limitrange and events with all other resources (all other resources have: registry.go, rest.go and etcd/etcd.go files) - events and limitrange are structured differently</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> refactor tests under pkg/registry/*/etcd directoris to use common testing infrastructure from pkg/api/rest/resttest</li>
</ul>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/thockin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/thockin">@thockin</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/smarterclayton/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/smarterclayton">@smarterclayton</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/derekwaynecarr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/derekwaynecarr">@derekwaynecarr</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lavalamp/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lavalamp">@lavalamp</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nikhiljindal/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nikhiljindal">@nikhiljindal</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/fgrzadkowski/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/fgrzadkowski">@fgrzadkowski</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/davidopp/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/davidopp">@davidopp</a></p>
<p dir="auto">Now that all elements in the registry have been switched to use the storage layer we should probably move to rename the /etcd* to something more generic, as we work to shard to different backends.</p>
<p dir="auto">I still have to finish up some other transformations 1st, but this is a placeholder.</p>
<p dir="auto">My vote might be keyval.</p>
<p dir="auto">/cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jayunit100/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jayunit100">@jayunit100</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lavalamp/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lavalamp">@lavalamp</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wojtek-t/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wojtek-t">@wojtek-t</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rrati/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rrati">@rrati</a></p>