How can I get WMI object from kubernetes pod

5/12/2020

When I'm running a container with the docker run command, The Get-WmiObjet cmdlet executes without any problems to a remote server. However when the container image is started by Kubernetes, I get Get-WmiObject : The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)

The kubernetes cluster is configured with the flannel network plugin and all servers are on premise.

-- lalwk
get-wmiobject
kubernetes
powershell
wmi

0 Answers