mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-29 21:29:24 +00:00
memory manager: update API constant to have camel case format
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
This commit is contained in:
@@ -75,11 +75,11 @@ const (
|
||||
PodTopologyManagerScope = "pod"
|
||||
// NoneMemoryManagerPolicy is a memory manager none policy, under the none policy
|
||||
// the memory manager will not pin containers memory of guaranteed pods
|
||||
NoneMemoryManagerPolicy = "none"
|
||||
NoneMemoryManagerPolicy = "None"
|
||||
// StaticMemoryManagerPolicy is a memory manager static policy, under the static policy
|
||||
// the memory manager will try to pin containers memory of guaranteed pods to the smallest
|
||||
// possible sub-set of NUMA nodes
|
||||
StaticMemoryManagerPolicy = "static"
|
||||
StaticMemoryManagerPolicy = "Static"
|
||||
)
|
||||
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
@@ -430,7 +430,7 @@ type KubeletConfiguration struct {
|
||||
// Requires the CPUManager feature gate to be enabled.
|
||||
// Dynamic Kubelet Config (beta): This field should not be updated without a full node
|
||||
// reboot. It is safest to keep this value the same as the local config.
|
||||
// Default: "none"
|
||||
// Default: "None"
|
||||
// +optional
|
||||
CPUManagerPolicy string `json:"cpuManagerPolicy,omitempty"`
|
||||
// CPU Manager reconciliation period.
|
||||
|
||||
Reference in New Issue
Block a user