<p dir="auto">From <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="53765208" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/3318" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/3318/hovercard" href="https://github.com/kubernetes/kubernetes/pull/3318">#3318</a>:</p>
<blockquote>
<p dir="auto">In the short term a pre creation hook can convert volume object characteristics (I am a persistent volume that is a GCE disk, therefore I require one unit of "storage" attach) and move that into the container resources as a summation, which the scheduler would look at as an arbitrary resource.  The binder can do this once we have finalization mechanisms</p>
</blockquote>
<p dir="auto">Above is from <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>.  Discussed something similar with <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> and <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> a while back.</p>
<p dir="auto">I understand what we want to do, but lack the technical design to make it happen.</p>
<p dir="auto">How does a pod/volume communicate what kind of "slot" is consumes?  Is this all contained in the scheduler (it is counting all resources consumed and placed)?  Where do the rules go (e.g, 16 GCE disks per node)?</p>
<p dir="auto">Feedback is requested, please.</p>
<p dir="auto">Currently all flags are defined in the binary which makes a big mess. We need some way to deal with duplicate names.</p>
<p dir="auto">cc @kubernetes/goog-control-plane</p>