mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-05 11:36:56 +00:00
virtcontainers: Disable cpuset and cpumem
Disable cpuset and cpumem constraints as this is not properly supported yet. If we add "cpuset_cpus" and "cpuset_mems" to the container.json, kata-runtime failed to start, so we need to disable them. Fixes: #221. Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
This commit is contained in:
parent
8088a62805
commit
a608ff0e7d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user