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 deploymentbun install
There are component's tests inside the usagechecker/tests folder.
bun run test
To build the configurator and generate the usage.js file, run the following command:
bun run build
It will generate the usage.js file and move it in the parent, where it can be used by the opsfile task.