<p dir="auto">Forked from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="98705949" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/12143" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/12143/hovercard" href="https://github.com/kubernetes/kubernetes/issues/12143">#12143</a></p>
<p dir="auto">Now that we have deployment resource, we should use that in kubectl rolling-update, instead of maintaining duplicate client side logic.</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ironcladlou/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ironcladlou">@ironcladlou</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/janetkuo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/janetkuo">@janetkuo</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bgrant0607/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bgrant0607">@bgrant0607</a></p>
<p dir="auto">cc <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><br>
As I understand it, the nickname for each operation should be unique[1]. I searched the open issues, and could not find an open issue relating to this, however my apologies if this is a duplicate.<br>
Since the introduction of 'namespaced' apis (<code class="notranslate">/api/v1/services</code> v.s.<code class="notranslate">/api/v1/namespaces/{namespaces}/services</code>), there are operations with duplicate nicknames [2][3].<br>
This means when we try to consume APIs via their swagger definition, the client overwrites the namespaced version of the API with the non-namespaced version.<br>
Maybe <code class="notranslate">listService</code> and <code class="notranslate">listServiceByNamespace</code> might be the convention to go by?</p>
<p dir="auto">Thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/webron/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/webron">@webron</a> for the help in IRC confirming this</p>
<p dir="auto">[1] <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="34737625" data-permission-text="Title is private" data-url="https://github.com/OAI/OpenAPI-Specification/issues/64" data-hovercard-type="issue" data-hovercard-url="/OAI/OpenAPI-Specification/issues/64/hovercard" href="https://github.com/OAI/OpenAPI-Specification/issues/64">OAI/OpenAPI-Specification#64</a><br>
[2] <a href="https://github.com/GoogleCloudPlatform/kubernetes/blob/master/api/swagger-spec/v1.json#L9961">https://github.com/GoogleCloudPlatform/kubernetes/blob/master/api/swagger-spec/v1.json#L9961</a><br>
[3] <a href="https://github.com/GoogleCloudPlatform/kubernetes/blob/master/api/swagger-spec/v1.json#L10863">https://github.com/GoogleCloudPlatform/kubernetes/blob/master/api/swagger-spec/v1.json#L10863</a></p>