Skip to content

Commit

Permalink
remove --cpu-shares flag (#10738)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhizor authored and etsybaev committed Mar 5, 2022
1 parent be0edfa commit 7db11da
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,6 @@ public Process create(final String jobId,
cmd.add(entrypoint);
}
if (resourceRequirements != null) {
if (!Strings.isNullOrEmpty(resourceRequirements.getCpuRequest())) {
cmd.add(String.format("--cpu-shares=%s", resourceRequirements.getCpuRequest()));
}
if (!Strings.isNullOrEmpty(resourceRequirements.getCpuLimit())) {
cmd.add(String.format("--cpus=%s", resourceRequirements.getCpuLimit()));
}
Expand Down

0 comments on commit 7db11da

Please sign in to comment.