From d8cd8292498b875a1109173e9f36d1ba858bf4bb Mon Sep 17 00:00:00 2001 From: acumino Date: Tue, 8 Feb 2022 11:35:41 +0530 Subject: [PATCH] Adapt changes for, In kubelet, log verbosity and flush frequency can also be configured via the configuration ref kubernetes/kubernetes#106090 --- .../original/components/kubelet/component_test.go | 7 ++++++- .../original/components/kubelet/configcodec_test.go | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/pkg/operation/botanist/component/extensions/operatingsystemconfig/original/components/kubelet/component_test.go b/pkg/operation/botanist/component/extensions/operatingsystemconfig/original/components/kubelet/component_test.go index 362d198056e6..05d38615a519 100644 --- a/pkg/operation/botanist/component/extensions/operatingsystemconfig/original/components/kubelet/component_test.go +++ b/pkg/operation/botanist/component/extensions/operatingsystemconfig/original/components/kubelet/component_test.go @@ -425,7 +425,12 @@ kubeAPIQPS: 50 kubeReserved: cpu: 80m memory: 1Gi -logging: {} +logging: + flushFrequency: 0 + options: + json: + infoBufferSize: "0" + verbosity: 0 maxOpenFiles: 1000000 maxPods: 110 memorySwap: {} diff --git a/pkg/operation/botanist/component/extensions/operatingsystemconfig/original/components/kubelet/configcodec_test.go b/pkg/operation/botanist/component/extensions/operatingsystemconfig/original/components/kubelet/configcodec_test.go index 11f9e858fcbc..aa821794cdb9 100644 --- a/pkg/operation/botanist/component/extensions/operatingsystemconfig/original/components/kubelet/configcodec_test.go +++ b/pkg/operation/botanist/component/extensions/operatingsystemconfig/original/components/kubelet/configcodec_test.go @@ -182,7 +182,12 @@ kubeAPIQPS: 50 kubeReserved: cpu: 80m memory: 1Gi -logging: {} +logging: + flushFrequency: 0 + options: + json: + infoBufferSize: "0" + verbosity: 0 maxOpenFiles: 1000000 maxPods: 110 memorySwap: {}