The Abandoned Workloads can detect workloads that have not sent or received a meaningful rate of traffic over a configurable duration. This workflow includes:
- Deployment configurations for MongoDB, including a StatefulSet and associated Service.
- Writing query pod applicaiton logic in Python.
- Creation of a Kubecost query pod to fetch and store abandoned workloads data in MongoDB.
- Creating APIs using flask
- Deployment of a Flask backend to serve the data and provide an functionality to take necessary actions.
- Robusta actions that will delete the pod, deployment and reduce replicas of deployment.
- Necessary Roles and RoleBindings
The Abandoned Workloads can detect workloads that have not sent or received a meaningful rate of traffic over a configurable duration. This workflow includes: