Cbopctl CreateFile error

Running the following command from PowerShell in Windows 10

.\bin\cbopctl create -f .\couchbase-cluster.yaml

Results in

CreateFile .kube\config: The system cannot find the path specified.

Can anyone suggest how to get around this and/or what is going wrong?

Thanks

1 Like

On further investigation this looks like a path handling issue on the windows version. If I run the command with full paths from my user home folder it works.

Hi @Christopher_Hall,

Thanks for letting us know.

Are you running minikube on Windows 10 for your testing? Can you let us know your K8S setup.

Thanks!

I’m running docker for Windows desktop with k8s enabled locally. I also have AKS cluster. This isn’t related the the k8s config in use.

Also, the executables in the bin folder of the zip file for Windows do not have file extensions, thus windows doesn’t recognize them as executables until they are renamed appropriately.

Hi @Christopher_Hall,

I was having the same issue and I am in a similar setup as you did (windows 10, docker for desktop and k8s is enabled from docker).
I found a work around - since it complain cannot find .kube/config, the word around is to put the couchbase-cluster.yaml file into the home folder which helps cbopctl to find the k8s config file.
Hope this helps.

Regards,
Xi