OpenShift CRC in Windows: Maintain from WSL

Posted on

Hi,

sorry, but my Company makes me to use Windows as a development platform. Luckily, modern Windows supports tools like Microsoft Terminal and WSL which makes is somehow usable. Now I am required to run OpenShift CRC as we aim to install our Products into a real Cluster.

CRC runs in my Windows like a charm however using the CLI in Powershell is painful to say the least. So I came up with the idea to let the OpenShift run in Windows natively and let it do it's thing while I run the whole CLI stuff from my WSL where I have all the good stuff like git, grep, vim and so on to do real work.
Has this been done before? And how would I install the command line tools like oc into my WSL and connect it to the host system's cluster without running 'crc setup' inside the WSL?

Best Regard
Markus

Responses