Closed qvicksilver closed 5 years ago
have a hunch that its possible that if its less than 1 MB, then it becomes 0 because of memory = (*s.Linux.Resources.Memory.Limit) / (1 << 20)
.
https://github.com/nabla-containers/runnc/blob/master/libcontainer/configs/spec.go#L37-L43
A potential fix would be to take the floor of the default memory requirement and the processed one.
Running runnc containers on Kubernetes 1.13.5 with containerd 1.2.6 results in the following error:
Workaround: Specify resource limits