{"repo":"gianlucam76/k8s-cleaner","free":true,"listed":false,"github":"https://github.com/gianlucam76/k8s-cleaner","clone":"git clone https://github.com/gianlucam76/k8s-cleaner.git","description":"Cleaner is a Kubernetes controller that identifies unused or unhealthy resources, helping you maintain a streamlined and efficient Kubernetes cluster. It provides flexible scheduling, label filtering, Lua-based selection criteria, resource removal or update and notifications via Slack, Webex and Discord. it can also automate clusters operations.","language":"Go","stars":813,"topics":["kubernetes","kubernetes-operator","lua","notifications","slack","webex","discord","unused-resources","orphaned-resources","stale-resources"],"license":"Apache-2.0","category":"chat-messaging","readme_excerpt":"The Kubernetes controller Cleaner identifies, removes, or updates stale/orphaned or unhealthy resources to maintain a clean and efficient Kubernetes cluster. It is designed to handle any Kubernetes resource types (including your own custom resources) and provides sophisticated filtering capabilities, including label-based selection and custom Lua-based criteria. Cleaner can also be used to identify unhealthy resources. k8s-cleaner keeps you in the loop with handy notifications through: 1. Slack 1. Webex 1. Discord 1. Teams 1. Telegram 1. SMTP 1. Kubernetes Event 1. Reports Each notification contains list of all resources successfully deleted (or modified) by k8s-cleaner. Choose what works best for you! Currently k8s-cleaner has rich set of working examples to identify and list unused : - ConfigMaps/Secrets - ClusterRoles/Roles - ServiceAccounts - PersistentVolumes/PersistentVolumeClaims - Deployments/StatefulSets - Identify resources based on annotation indicating the maximum lifespan or the expiration date - More There are also examples to identify unhealthy resources: - Pods Mounting Secrets with Old Content: Detect pods that are not utilizing the most recent Secret data. - Pods Using Expired Certificates: Pinpoint pods that are operating with expired security certificates. - Pods with Repeated FailedMount Events: Identify pods stuck unable to mount a volume. - Pods with an OOM in Their Previous Log: Identify crash-looping pods whose last exit was an out-of-memory kill. And","default_branch":null,"files":null,"tree":[],"storefront":"/r/gianlucam76","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gianlucam76/k8s-cleaner/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}