MetalBear
Read post

How We Made mirrord Run Natively on Windows

mirrord, a tool that runs local processes inside live Kubernetes clusters, previously required WSL on Windows. The team implemented native Windows support by manually replicating the Unix LD_PRELOAD mechanism: starting processes suspended, injecting the mirrord-layer DLL, and hooking CreateProcessInternalW to cover child processes. IDE integrations required per-IDE solutions — VS Code uses early process ID exposure, JetBrains IDEs use a fake JDK replacement, Gradle runs use an injected init script, and debuggers use JDWP port matching with attach. The CLI now runs natively on Windows x86_64 without WSL, VS Code since 3.69.0, and JetBrains since 3.73.0.

    #kubernetes#windows
Jul 07•9m read time•From metalbear.com
Post cover image
Table of contents
How the mirrord-layer loads on Unix #Loading the mirrord-layer on Windows #Getting the IDE plugins to work #Using mirrord on Windows #What ships today #Try it #
49.3K Impressions
MetalBear's image
MetalBear

33 Followers

•

611 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard