Moving Kubelet kernel-memgc-notification to configuration file

This commit is contained in:
Amim Knabben
2020-06-06 11:55:43 -04:00
parent 82d27aa030
commit c39cf28ed3
11 changed files with 40 additions and 27 deletions

View File

@@ -787,6 +787,13 @@ type KubeletConfiguration struct {
// Default: ""
// +optional
ProviderID string `json:"providerID,omitempty"`
// kernelMemcgNotification, if set, the kubelet will integrate with the kernel memcg notification
// to determine if memory eviction thresholds are crossed rather than polling.
// Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
// it may impact the way Kubelet interacts with the kernel.
// Default: false
// +optional
KernelMemcgNotification bool `json:"kernelMemcgNotification,omitempty"`
}
type KubeletAuthorizationMode string