mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-20 01:23:48 +00:00
remove DynamicKubeletConfig logic from kubelet
This commit is contained in:
@@ -442,19 +442,16 @@ func TestSetDefaultsKubeletConfiguration(t *testing.T) {
|
||||
EvictionMinimumReclaim: map[string]string{
|
||||
"imagefs.available": "1Gi",
|
||||
},
|
||||
PodsPerCore: 1,
|
||||
EnableControllerAttachDetach: utilpointer.Bool(true),
|
||||
ProtectKernelDefaults: true,
|
||||
MakeIPTablesUtilChains: utilpointer.Bool(true),
|
||||
IPTablesMasqueradeBit: utilpointer.Int32(1),
|
||||
IPTablesDropBit: utilpointer.Int32(1),
|
||||
FeatureGates: map[string]bool{
|
||||
"DynamicKubeletConfig": true,
|
||||
},
|
||||
FailSwapOn: utilpointer.Bool(true),
|
||||
MemorySwap: v1beta1.MemorySwapConfiguration{SwapBehavior: "UnlimitedSwap"},
|
||||
ContainerLogMaxSize: "1Mi",
|
||||
ContainerLogMaxFiles: utilpointer.Int32(1),
|
||||
PodsPerCore: 1,
|
||||
EnableControllerAttachDetach: utilpointer.Bool(true),
|
||||
ProtectKernelDefaults: true,
|
||||
MakeIPTablesUtilChains: utilpointer.Bool(true),
|
||||
IPTablesMasqueradeBit: utilpointer.Int32(1),
|
||||
IPTablesDropBit: utilpointer.Int32(1),
|
||||
FailSwapOn: utilpointer.Bool(true),
|
||||
MemorySwap: v1beta1.MemorySwapConfiguration{SwapBehavior: "UnlimitedSwap"},
|
||||
ContainerLogMaxSize: "1Mi",
|
||||
ContainerLogMaxFiles: utilpointer.Int32(1),
|
||||
ConfigMapAndSecretChangeDetectionStrategy: v1beta1.TTLCacheChangeDetectionStrategy,
|
||||
SystemReserved: map[string]string{
|
||||
"memory": "1Gi",
|
||||
@@ -588,19 +585,16 @@ func TestSetDefaultsKubeletConfiguration(t *testing.T) {
|
||||
EvictionMinimumReclaim: map[string]string{
|
||||
"imagefs.available": "1Gi",
|
||||
},
|
||||
PodsPerCore: 1,
|
||||
EnableControllerAttachDetach: utilpointer.Bool(true),
|
||||
ProtectKernelDefaults: true,
|
||||
MakeIPTablesUtilChains: utilpointer.Bool(true),
|
||||
IPTablesMasqueradeBit: utilpointer.Int32(1),
|
||||
IPTablesDropBit: utilpointer.Int32(1),
|
||||
FeatureGates: map[string]bool{
|
||||
"DynamicKubeletConfig": true,
|
||||
},
|
||||
FailSwapOn: utilpointer.Bool(true),
|
||||
MemorySwap: v1beta1.MemorySwapConfiguration{SwapBehavior: "UnlimitedSwap"},
|
||||
ContainerLogMaxSize: "1Mi",
|
||||
ContainerLogMaxFiles: utilpointer.Int32(1),
|
||||
PodsPerCore: 1,
|
||||
EnableControllerAttachDetach: utilpointer.Bool(true),
|
||||
ProtectKernelDefaults: true,
|
||||
MakeIPTablesUtilChains: utilpointer.Bool(true),
|
||||
IPTablesMasqueradeBit: utilpointer.Int32(1),
|
||||
IPTablesDropBit: utilpointer.Int32(1),
|
||||
FailSwapOn: utilpointer.Bool(true),
|
||||
MemorySwap: v1beta1.MemorySwapConfiguration{SwapBehavior: "UnlimitedSwap"},
|
||||
ContainerLogMaxSize: "1Mi",
|
||||
ContainerLogMaxFiles: utilpointer.Int32(1),
|
||||
ConfigMapAndSecretChangeDetectionStrategy: v1beta1.TTLCacheChangeDetectionStrategy,
|
||||
SystemReserved: map[string]string{
|
||||
"memory": "1Gi",
|
||||
|
Reference in New Issue
Block a user