The usage implementation is inside the usagechecker folder.
The entrypoint is the usagechecker/index.ts file.
volume-manager: Reads the yaml template file, injects PVC and volume configurations, and renders the final templatelog-formatter: Processes raw PVC/log data and generates formatted disk usage (df) outputjob-operator: Orchestrates the entire workflow including template rendering, job creation, and Kubernetes deployment
bun installThere are component's tests inside the usagechecker/tests folder.
bun run testTo build the configurator and generate the usage.js file, run the following command:
bun run buildIt will generate the usage.js file and move it in the parent, where it can be used by the opsfile task.