Skip to content

Commit

Permalink
control-service: fix data job deployment (#3110)
Browse files Browse the repository at this point in the history
Removed redundant 'm' prefix after cpu cores.
  • Loading branch information
mivanov1988 authored Feb 14, 2024
1 parent 625e23f commit 04ba937
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
Binary file not shown.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,8 @@ private KubernetesService.CronJob getCronJob(

var jobCommand = jobCommandProvider.getJobCommand(jobName);

String cpuRequest = jobDeployment.getResources().getCpuRequestCores() + "m";
String cpuLimit = jobDeployment.getResources().getCpuLimitCores() + "m";
String cpuRequest = Float.toString(jobDeployment.getResources().getCpuRequestCores());
String cpuLimit = Float.toString(jobDeployment.getResources().getCpuLimitCores());
String memoryRequest = jobDeployment.getResources().getMemoryRequestMi() + "Mi";
String memoryLimit = jobDeployment.getResources().getMemoryLimitMi() + "Mi";

Expand Down

0 comments on commit 04ba937

Please sign in to comment.