Giter Club home page Giter Club logo

Comments (14)

k8s-ci-robot avatar k8s-ci-robot commented on June 25, 2024

This issue is currently awaiting triage.

If a SIG or subproject determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

from kubernetes.

pranav-pandey0804 avatar pranav-pandey0804 commented on June 25, 2024

/sig node

from kubernetes.

pranav-pandey0804 avatar pranav-pandey0804 commented on June 25, 2024

/sig storage

from kubernetes.

pranav-pandey0804 avatar pranav-pandey0804 commented on June 25, 2024

/remove-sig node

from kubernetes.

pranav-pandey0804 avatar pranav-pandey0804 commented on June 25, 2024

hi @Black-max12138 , thanks for reporting the issue,
could you verify if the containerLogMaxSize and containerLogMaxFiles settings are correctly configured or not?

from kubernetes.

pranav-pandey0804 avatar pranav-pandey0804 commented on June 25, 2024

If these settings are not configured correctly then kubelet may not delete the old log files efficiently because these setting dictate the maximum size each log file can reach before being rotated and the max log files that can be retained !

from kubernetes.

pranav-pandey0804 avatar pranav-pandey0804 commented on June 25, 2024

you can also refer to this page for more details !

from kubernetes.

Black-max12138 avatar Black-max12138 commented on June 25, 2024

hi @Black-max12138 , thanks for reporting the issue, could you verify if the containerLogMaxSize and containerLogMaxFiles settings are correctly configured or not?

containerLogMaxSize and containerLogMaxFiles are using default values

from kubernetes.

Black-max12138 avatar Black-max12138 commented on June 25, 2024

If these settings are not configured correctly then kubelet may not delete the old log files efficiently because these setting dictate the maximum size each log file can reach before being rotated and the max log files that can be retained !

So what is the possibility of this happening if the parameters are set correctly?

from kubernetes.

tamilselvan1102 avatar tamilselvan1102 commented on June 25, 2024

Generally once the POD is terminated & a new instance is started, the log files associated with the old pod get deleted.

from kubernetes.

jsafrane avatar jsafrane commented on June 25, 2024

AFAIK container logs are managed by sig-node, not by sig-storage
/sig node
/remove-sig node

from kubernetes.

k8s-ci-robot avatar k8s-ci-robot commented on June 25, 2024

@jsafrane: Those labels are not set on the issue: sig/node

In response to this:

AFAIK container logs are managed by sig-node, not by sig-storage
/sig node
/remove-sig node

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

from kubernetes.

tamilselvan1102 avatar tamilselvan1102 commented on June 25, 2024

hi @Black-max12138 , thanks for reporting the issue, could you verify if the containerLogMaxSize and containerLogMaxFiles settings are correctly configured or not?

By default, Kubernetes truncates the pod’s container log if it reaches 10 MB.
if you want to change the file size, you can set through containerLogMaxSize parameter in the kubelet configuration.
These parameters are not related to delete/persist the log file.

from kubernetes.

haircommander avatar haircommander commented on June 25, 2024

/assign @harche

from kubernetes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.