From f94fbf31a946934b289338623bf724c5fab0fec5 Mon Sep 17 00:00:00 2001 From: elieser pereira Date: Sat, 2 Nov 2024 18:03:39 -0300 Subject: [PATCH 1/2] update container-log-max-files-max-size --- hack/ci/e2e-k8s.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hack/ci/e2e-k8s.sh b/hack/ci/e2e-k8s.sh index f440d64d52..29741c7451 100755 --- a/hack/ci/e2e-k8s.sh +++ b/hack/ci/e2e-k8s.sh @@ -115,7 +115,9 @@ create_cluster() { apiServer_extra_args="${apiServer_extra_args} \"logging-format\": \"${CLUSTER_LOG_FORMAT}\"" fi - kubelet_extra_args=" \"v\": \"${KIND_CLUSTER_LOG_LEVEL}\"" + kubelet_extra_args=" \"v\": \"${KIND_CLUSTER_LOG_LEVEL}\" + \"container-log-max-files\": \"10\" + \"container-log-max-size\": \"5Mi\"" KUBELET_LOG_FORMAT=${KUBELET_LOG_FORMAT:-$CLUSTER_LOG_FORMAT} if [ -n "$KUBELET_LOG_FORMAT" ]; then check_structured_log_support "KUBECTL_LOG_FORMAT" From c613603ebb6e896e848e15d38cd07518435abd7a Mon Sep 17 00:00:00 2001 From: elieser pereira Date: Sun, 3 Nov 2024 08:39:18 -0300 Subject: [PATCH 2/2] update container-log-max-size Co-authored-by: Antonio Ojea --- hack/ci/e2e-k8s.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/ci/e2e-k8s.sh b/hack/ci/e2e-k8s.sh index 29741c7451..6e692c3a6e 100755 --- a/hack/ci/e2e-k8s.sh +++ b/hack/ci/e2e-k8s.sh @@ -117,7 +117,7 @@ create_cluster() { fi kubelet_extra_args=" \"v\": \"${KIND_CLUSTER_LOG_LEVEL}\" \"container-log-max-files\": \"10\" - \"container-log-max-size\": \"5Mi\"" + \"container-log-max-size\": \"100Mi\"" KUBELET_LOG_FORMAT=${KUBELET_LOG_FORMAT:-$CLUSTER_LOG_FORMAT} if [ -n "$KUBELET_LOG_FORMAT" ]; then check_structured_log_support "KUBECTL_LOG_FORMAT"