question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to preview when using yaml file on a windows network volume (\\wsl$)

See original GitHub issue

Describe the bug Unable to preview Kustomization when accessing yaml files on a shared drive on windows to access files from a wsl2 distro.

To Reproduce Steps to reproduce the behavior:

  1. Have some yaml files on a wsl2 distro
  2. Open Monokle on windows
  3. Access the yaml files on \wsl$<distro_name><project_dir>\
  4. Clic preview to launch kustomize build
  5. Error

Expected behavior Kustomize preview

Error message

Kustomize Error
Error: Command failed kubectl kustomize ./'\\wsl$\<distro_name>\<project_dir>\' CMD.EXE [...] not compatible with UNC paths [...] Unable to find kustomization.yaml [...]

Desktop (please complete the following information):

  • OS: Windows
  • Monokle v1.2.2

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ngaujecommented, Oct 13, 2021

Of course @olensmar 😃

0reactions
olensmarcommented, Oct 31, 2021

Hi again @ngauje - i have another branch for you to try out - https://github.com/kubeshop/monokle/tree/olelensmar/fix/tool-cwd-fix - this one should hopefully work; i’ve tested it with manifests on a windows share on my local network (although not WSL) - let me know if you have time to try it out! Thanks in advance…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Volume not mounting Ubuntu via WSL on Windows #4852
Ubuntu via WSL on Windows 10 Pro 1703 Docker version 17.03.1-ce, ... json-file Cgroup Driver: cgroupfs Plugins: Volume: local Network: ...
Read more >
Mounted Windows Network Drive using WSL is not visible in ...
I am using WSL2 and Docker Desktop for Windows. I managed to “successfully” mount my network drive using WSL bash terminal like this:...
Read more >
Setting Up Docker for Windows and WSL to Work Flawlessly
With a couple of tweaks the WSL (Windows Subsystem for Linux, also known as Bash for Windows) can be used with Docker for...
Read more >
WSL+Docker: Kubernetes on the Windows Desktop
The cluster has been successfully created, and because we are using Docker Desktop, the network is all set for us to use "as...
Read more >
Volume binding using docker compose on Windows
1) Place your folder under drive "C" · 2) Open "Settings" in Docker Desktop -> "Shared Drives" -> "Reset Credentials" -> select drive...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found