kubelet.exe on Windows Server Core (1709): unable to read physical memory

11/23/2017

I've built kubelet, kube-proxy off master branch of kubernetes repository and when running kubelet.exe without any parameters I'm getting the following error:

error: failed to run Kubelet: unable to read physical memory

I'm building offmaster as none one of the unstable branches included the fix described (and fixed) here 55031, which I was hitting on 1.9.0-alpha.3.

-- marius-O
kubelet
kubernetes
windows-container

1 Answer

11/29/2017

After looking into it for the last week or so, it seems VMware (Fusion in my case) doesn't correctly populate the SMBIOS data related to installed memory (which is used by GetPhysicallyInstalledSystemMemory that will show the above error).

I was able to confirm that it's working fine on Hyper-V hosts. Will attempt a fix to the issue.

-- marius-O
Source: StackOverflow