redkubes / otomi-core

Application Platform for Kubernetes

Home Page:https://otomi.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Garbage collection

j-zimnowoda opened this issue · comments

commented

WHY

Provide a context behind this user story that explains why it is needed.

User Story

AS A cluster admin
I WANT TOgarbage collect pods that are finished
SOetcd in the k8s cluster is not filled up AND container logs do not fill up the disk.

Acceptance criteria

GIVEN Tekton pipeline leaves pods after finishing its task.
WHEN there are more than 256 pipeline pods in Succeeded of Failed state
THENthe oldest one are removed

Definition of done

  • Relevant PRs are merged
  • Tested by peer
  • Updated documentation reviewed by peer
  • Short demo video recorded and stored on google drive (if applicable)