Admission control plugin: Resource controller proposal

This proposal proposes a system for enforcing resource limits as part of admission control (see #2501)

I would like to get a resource standardized in the community that can enumerate resource constraints.

Would love some bike-shedding on the names, but I hope the core concepts are clear.  I have a functional prototype of the behavior described working that I continue to evolve, but would like to start submitting pull requests.

@erictune @smarterclayton @liggitt @jwforres 
It's already in code base.  I can augment doc to add it for clarity. 

Sent from my iPhone

> On Dec 19, 2014, at 7:10 PM, davidopp <notifications@github.com> wrote:
> 
> In docs/design/resource_controller.md:
> 
> > +Authorized users are able to set the **ResourceController.Spec** fields to enumerate desired constraints.
> > +
> > +```
> > +// ResourceController is an enumerated set of resources constraints enforced as part admission control plug-in
> > +type ResourceController struct {
> > +  TypeMeta   `json:",inline"`
> > +  ObjectMeta `json:"metadata,omitempty"`
> > +  // Spec represents the imposed constraints for allowed resources
> > +  Spec ResourceControllerSpec `json:"spec,omitempty"`
> > +  // Status represents the observed allocated resources to inform constraints
> > +  Status ResourceControllerStatus `json:"status,omitempty"`
> > +}
> > +
> > +type ResourceControllerSpec struct {
> > +  // Allowed represents the available resources allowed in a quota
> > +  Allowed ResourceList `json:"allowed,omitempty"`
> Where do you define ResourceList?
> 
> —
> Reply to this email directly or view it on GitHub.
>