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

Commit

Permalink
Merge pull request #222 from chavafg/topic/cpu-resources
Browse files Browse the repository at this point in the history
virtcontainers: Disable cpuset and cpumem
  • Loading branch information
bergwolf authored Apr 17, 2018
2 parents 8088a62 + a608ff0 commit be6ef03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions virtcontainers/kata_agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,8 @@ 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 be6ef03

Please sign in to comment.