Comments (14)
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.
/sig node
from kubernetes.
/sig storage
from kubernetes.
/remove-sig node
from kubernetes.
hi @Black-max12138 , thanks for reporting the issue,
could you verify if the containerLogMaxSize
and containerLogMaxFiles
settings are correctly configured or not?
from kubernetes.
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.
you can also refer to this page for more details !
from kubernetes.
hi @Black-max12138 , thanks for reporting the issue, could you verify if the
containerLogMaxSize
andcontainerLogMaxFiles
settings are correctly configured or not?
containerLogMaxSize
and containerLogMaxFiles
are using default values
from kubernetes.
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.
Generally once the POD is terminated & a new instance is started, the log files associated with the old pod get deleted.
from kubernetes.
AFAIK container logs are managed by sig-node, not by sig-storage
/sig node
/remove-sig node
from kubernetes.
@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.
hi @Black-max12138 , thanks for reporting the issue, could you verify if the
containerLogMaxSize
andcontainerLogMaxFiles
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.
/assign @harche
from kubernetes.
Related Issues (20)
- readinessProbe not failing if command is not installed HOT 5
- ephermal containers stdout written to container logs HOT 4
- kubelet: add flag for upconverting a component config HOT 4
- [scheduler] Improve Handling of Node Status HOT 6
- Change in `kubelet --node-ip` behavior in 1.29 breaks some deployment models on clouds HOT 7
- [flaking test] ci-crio-cgroupv2-node-e2e-conformance.Overall HOT 3
- [flaky] TestReflectorWatchHandler is flaking HOT 4
- endpointslicemirroring controller not create endpointslice when the endpoints are recreate HOT 3
- DRA: verification that kubelet uses node name filter HOT 3
- kubeadm leaves backup files after a successful upgrade HOT 4
- [Flaking test] capz-windows-master (Replication Controller Issues) HOT 3
- [Flaking test] capz-windows-master (unhealthy readiness and liveness probes) HOT 4
- Pod IP temporarily removed from status when pod transitions to a terminal state HOT 7
- Kubelet admission failures metric HOT 2
- Unstructured converter should produce int64 given uint input HOT 2
- Kubelet stop watching Pods from API-Server HOT 3
- [RFC] Remove Kubelet soft-admission HOT 6
- [FG:InPlacePodVerticalScaling] Race condition setting pod resize status HOT 1
- After the kubelet restarted, the ready state of the pod should not change. HOT 4
- Kubectl does not support secret creation from `.env` files with multiline values HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubernetes.