Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
virtcontainers: kata_agent: enable cpus and mem sets
Browse files Browse the repository at this point in the history
this patch is to honour docker `--cpuset-cpus` and
`--cpuset-mems` options.

fixes #221

Signed-off-by: Julio Montes <[email protected]>
  • Loading branch information
Julio Montes committed Apr 19, 2018
1 parent 1c7a02e commit e9404cc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions virtcontainers/kata_agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -579,8 +579,6 @@ func constraintGRPCSpec(grpcSpec *grpc.Spec) {
grpcSpec.Linux.Resources.BlockIO = nil
grpcSpec.Linux.Resources.HugepageLimits = nil
grpcSpec.Linux.Resources.Network = nil
grpcSpec.Linux.Resources.CPU.Cpus = ""
grpcSpec.Linux.Resources.CPU.Mems = ""

// Disable network namespace since it is already handled on the host by
// virtcontainers. The network is a complex part which cannot be simply
Expand Down

0 comments on commit e9404cc

Please sign in to comment.