Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup k8s garbage collection on all nodes #285

Open
3 tasks
benoit74 opened this issue Oct 14, 2024 · 0 comments
Open
3 tasks

Setup k8s garbage collection on all nodes #285

benoit74 opened this issue Oct 14, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@benoit74
Copy link
Collaborator

Since we keep deploying new images, cluster nodes keep pilling up Docker images / layers on its filesystem.

This is not automatically deleted since it is hard to know for the kubelet when an image is not needed anymore and when it might be needed again few moments later.

In #163 (comment), we've setup necessary configuration to cleanup services node automatically: if configuration works as expected, when disk usage goes above 80%, k8s will clean unused image until disk usage goes below 50%.

services node is now getting close to the point where it will use again more than 80% of its disk, so we are close to being able to confirm things work as expected.

Once done, we need to deploy this configuration on all k8s cluster nodes, and add it to the k8s nodes deployment procedure.

Tasks:

  • confirm that settings are working as expected on services node
  • deploy settings on all k8s nodes
  • document the settings for new k8s nodes in the wiki
@benoit74 benoit74 added the enhancement New feature or request label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants