Learning Path: Mendix for Private Cloud - error with kubectl
I'm trying to follow the Advanced Learning Path ‘Mendix for the Private Cloud’. I've been following the instructions to set up Microk8s (which is no picknick) but when I try to run the installation in Powershell I get the following error message: Error: failed to access cluster: unable to locate 'kubectl’ binary: exec: “kubectl”: executable file not found in %PATH% I've tinkered around with it quite a bit and checked and rechecked all my settings. The kubetcl.exe file is in the C:\Users\UserName\Documents directory. I filled in ‘C:\Users\UserName\Documents\kubectl’ in my system environment variables. Any ideas are welcome.
Ruben de Roos
Just a guess: got the right rights? Will it help to run powershell ‘as administrator’?
Tim v Steenbergen
Easiest is to just copy the kubectl executable to a directory currently known in PATH. In my case: