On Wed, Jul 13, 2016 at 12:05 AM, Mayank <[email protected]> wrote:

> Thanks David. I guess my question was not entirely clear. What you mention
> here makes complete sense. What would be nice is, to see somewhere in the
> nodes, how much free resources are remaining without doing the math. That
> way we could also alarm if the node is reaching its capacity. Is there an
> issue filed for this or i can goahead and file this .
>

I don't think there's an issue; feel free to file one. It's a little tricky
to describe it properly because there are many definitions of free. The one
I used in the previous email is "free based on request." There's also "free
based on limit" (which can be negative due to overcommit) and "free based
on usage" (which we will be able to show once the metrics API is plumbed
through the API server). But probably the first one is what people are most
interested in, since that's the one that determines how much more request
you can schedule onto a node.

We also could integrate it with "kubectl top
<https://github.com/kubernetes/kubernetes/issues/11382>" though that seems
like maybe too much feature creep.


>
>
>
> On Monday, July 11, 2016 at 1:06:11 PM UTC-7, David Oppenheimer wrote:
>>
>> The node capacity is the physical size of the node, and never changes. I
>> think you're thinking of the amount of free resources on the node, which
>> does change when you deploy pods to the node. To find the free resources,
>> subtract "Allocated resources" from "Capacity" (in "kubectl describe node").
>>
>>
>>
>> On Mon, Jul 11, 2016 at 9:41 AM, Mayank <[email protected]> wrote:
>>
>>> I have kubernetes cluster deployed on bare metal. When I deploy pods or
>>> use deployments with resource limits I don't see the resource being
>>> subtracted from there overall node capacity . Is there something specific I
>>> need to on the nose configuration to enable this?
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Containers at Google" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at https://groups.google.com/group/google-containers.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Containers at Google" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/google-containers.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Containers at Google" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-containers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to