Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

container keeps restarting all the time may run out of inode resource #121180

Copy link
Copy link
@Chaunceyctx

Description

@Chaunceyctx
Issue body actions

What happened?

In 1.27 k8s, container keeps restarting. Kubelet will generate so many file used for termination log in $ROOT_DIR/pods/podUID/containers/containerName path. But files cannot be deleted when container is removed. So maybe we need to delete unused files after container removed.

What did you expect to happen?

termination log file will be deleted after container removed.

How can we reproduce it (as minimally and precisely as possible)?

  1. create pod
  2. kill container multiple times >= 1(default containersToKeep value is 1)
  3. many termination log files will be generated in $ROOT_DIR/pods/podUID/containers/containerName path

Anything else we need to know?

No response

Kubernetes version

all k8s version

Cloud provider

None

OS version

No response

Install tools

No response

Container runtime (CRI) and version (if applicable)

No response

Related plugins (CNI, CSI, ...) and versions (if applicable)

No response

Metadata

Metadata

Labels

kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.Important over the long term, but may not be staffed and/or may need multiple releases to complete.sig/nodeCategorizes an issue or PR as relevant to SIG Node.Categorizes an issue or PR as relevant to SIG Node.triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

Status

Triaged
Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.