Closed lvarin closed 3 months ago
This pull request adds functionality to set CPU limits in the Kubernetes container resources. Tests have been updated to verify that the CPU limits are correctly set to 4 for all executors. Additionally, a JSON comparison test has been commented out.
Files | Changes |
---|---|
src/test/java/uk/ac/ebi/tsc/tesk/k8s/convert/TesKubernetesConverterTest.java src/test/resources/fromTesToK8s/taskmaster_param.json |
Updated tests to include checks for CPU limits in the container resources. |
src/main/java/uk/ac/ebi/tsc/tesk/k8s/convert/TesKubernetesConverter.java |
Implemented setting of CPU limits in the Kubernetes container resources. |
Summary by Sourcery
Set CPU limits in Kubernetes container resources to match CPU requests and update tests to verify this behavior.
Bug Fixes:
Tests: