Merge pull request #236 from devimc/cpu/cpuset

virtcontainers: kata_agent: enable cpus and mem sets
This commit is contained in:
Sebastien Boeuf 2018-04-20 00:43:43 -07:00 committed by GitHub
commit dec01c1ec0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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