Closed aojea closed 2 weeks ago
/help /priority important-soon
@aojea: This request has been marked as needing help from a contributor.
Please ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met.
If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-help
command.
/assign
The default values for log rotation on the kubelet
are not enough to keep all the logs of a job
https://gcsweb.k8s.io/gcs/kubernetes-ci-logs/pr-logs/pull/128474/pull-kubernetes-e2e-kind/1852600889194319872/artifacts/kind-control-plane/pods/kube-system_kube-apiserver-kind-control-plane_88820ae9448fa5cfa46a5444a7bf898e/kube-apiserver/
This makes hard to debug or troubleshoot CI problems, specially rare flakes that happen very infrequently, since it is impossible to understand what happened without logs.
We need to use some values that allow to store all the logs that happen during the entire job duration
I think that increasing the values to:
The place to change them is in https://github.com/kubernetes-sigs/kind/blob/4f444f8afa344eb2de27e68a2a24b823301fc8d9/hack/ci/e2e-k8s.sh#L101-L124
https://knowledge.broadcom.com/external/article/327480/customizing-the-kubelet-parameters-for-l.html