added --reserved-cpus kubelet command option

Kubernetes-commit: 89dfd244838f21ecaf9bc9bf28662a7cccdd8425
This commit is contained in:
Jianzhu Zhang 2019-10-07 14:53:41 -04:00 committed by Kubernetes Publisher
parent dce13a480d
commit 823c296e56
1 changed files with 4 additions and 0 deletions

View File

@ -710,6 +710,10 @@ type KubeletConfiguration struct {
// Default: nil
// +optional
KubeReserved map[string]string `json:"kubeReserved,omitempty"`
// This ReservedSystemCPUs option specifies the cpu list reserved for the host level system threads and kubernetes related threads.
// This provide a "static" CPU list rather than the "dynamic" list by system-reserved and kube-reserved.
// This option overwrites CPUs provided by system-reserved and kube-reserved.
ReservedSystemCPUs string `json:"reservedSystemCPUs,omitempty"`
// This flag helps kubelet identify absolute name of top level cgroup used to enforce `SystemReserved` compute resource reservation for OS system daemons.
// Refer to [Node Allocatable](https://git.k8s.io/community/contributors/design-proposals/node/node-allocatable.md) doc for more information.
// Dynamic Kubelet Config (beta): This field should not be updated without a full node