• Tim St. Clair's avatar
    Implement node Allocatable · e2ffd007
    Tim St. Clair authored
    Add `kube-reserved` and `system-reserved` flags for configuration
    reserved resources for usage outside of kubernetes pods. Allocatable is
    provided by the Kubelet according to the formula:
    ```
    Allocatable = Capacity - KubeReserved - SystemReserved
    ```
    
    Also provides a method for estimating a reasonable default for
    `KubeReserved`, but the current implementation probably is low and needs
    more tuning.
    e2ffd007
types.go 2.22 KB