Fix Rsrc Insufficient System memory issue

pull/10553/head
BLasan 2021-02-21 22:46:23 +05:30
parent 413cdf6e5b
commit 03ae2d2aa3
1 changed files with 1 additions and 1 deletions

View File

@ -952,7 +952,7 @@ func validateRequestedMemorySize(req int, drvName string) {
}
if sysLimit < minUsableMem {
exitIfNotForced(reason.RsrcInsufficientSysMemory, "System only has {{.size}}MiB available, less than the required {{.req}}MiB for Kubernetes", out.V{"size": containerLimit, "driver": drvName, "req": minUsableMem})
exitIfNotForced(reason.RsrcInsufficientSysMemory, "System only has {{.size}}MiB available, less than the required {{.req}}MiB for Kubernetes", out.V{"size": sysLimit, "req": minUsableMem})
}
if req < minUsableMem {