As a DevOps engineer,
I want to introduce an ENV MAX_CPU variable in the Dockerfiles,
So that I can control the maximum CPU usage for containers,
And so that the system can dynamically allocate CPU resources without exceeding a predefined limit, ensuring efficient resource management and preventing any single container from monopolizing CPU resources.
Acceptance criteria
Validation of MAX_CPU variable existence: The MAX_CPU environment variable should be present in all Dockerfiles where CPU usage needs to be controlled.
Correct usage of MAX_CPU: The MAX_CPU variable should be correctly used in the Dockerfile to set the CPU limit.
Documentation: All changes should be documented, clearly explaining how to set and modify the MAX_CPU variable.
Testing: Automated tests should confirm that the CPU limits are enforced according to the MAX_CPU setting.
Resource Optimization: After the introduction of MAX_CPU, there should be an observed improvement in resource allocation across the system.
Story statement
As a DevOps engineer, I want to introduce an ENV MAX_CPU variable in the Dockerfiles, So that I can control the maximum CPU usage for containers, And so that the system can dynamically allocate CPU resources without exceeding a predefined limit, ensuring efficient resource management and preventing any single container from monopolizing CPU resources.
Acceptance criteria
Variable : ENV MAX_CPU=