WIP: Add atomic resource reservation to nodes.

Add explicit resource reservation to nodes.  To be used to handle port allocation amongst other things. 

Only updated a single types.go, since I expect some iteration here.  Will update all types when we reach consensus.
Yes, we need to track ports that are in use in an atomic fashion (and
eventually other things too SSD, etc)

That's the intent of this PR.

--brendan

On Mon, Nov 3, 2014 at 1:00 PM, Dawn Chen <notifications@github.com> wrote:

> In pkg/api/types.go:
>
> > @@ -531,6 +531,8 @@ type EndpointsList struct {
> >  type NodeResources struct {
> >  	// Capacity represents the available resources.
> >  	Capacity ResourceList `json:"capacity,omitempty" yaml:"capacity,omitempty"`
> > +	// Usage represents the currently used resources.
> > +	Usage ResourceList `json:"usage,omitempty" yaml:"usage,omitempty"`
>
> +1 on status
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/GoogleCloudPlatform/kubernetes/pull/2093/files#r19763453>
> .
>