back to home

metalbear-co / mirrord

Connect your local process and your cloud environment, and run local code in cloud conditions.

4,997 stars
183 forks
201 issues
RustTypeScriptShell

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing metalbear-co/mirrord in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/metalbear-co/mirrord)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

mirrord lets developers run local processes in the context of their Kubernetes environment. It’s meant to provide the benefits of running your service on a cloud environment (e.g. staging) without actually going through the hassle of deploying it there, and without disrupting the environment by deploying untested code. It comes as a Visual Studio Code extension, an IntelliJ plugin and a CLI tool. You can read more about it here. Or maybe you're just Looking for the KubeCon Atlanta raffle password. Contents • Contents • Getting Started • VS Code Extension • Installation • How To Use • IntelliJ Plugin • Installation • How To Use • CLI Tool • Installation • How To Use • How It Works • Additional capabilities • FAQ • Contributing • Help and Community • Code of Conduct • License --- Getting Started • VS Code Extension • IntelliJ Plugin • CLI Tool > mirrord uses your machine's default kubeconfig for access to the Kubernetes API. --- VS Code Extension Installation Get the extension here. How To Use • Click "Enable mirrord" on the status bar • Start debugging your project • Choose pod to impersonate • The debugged process will be plugged into the selected pod by mirrord --- IntelliJ Plugin Installation Get the plugin here. How To Use • Click the mirrord icon in the Navigation Toolbar • Start debugging your project • Choose a namespace and pod to impersonate • The debugged process will be plugged into the selected pod by mirrord --- CLI Tool Installation You can use either or or using Nix (not official, community maintained): or on Windows using Chocolatey: How To Use e.g. --- How It Works When you select a pod to impersonate, mirrord launches a pod on the same node as the pod you selected. The new pod is then used to connect your local process and the impersonated pod: it mirrors incoming traffic from the pod to your process, routes outgoing traffic from your process through the pod, and does the same for file reads, file writes, and environment variables. You can read more about it here. Additional capabilities Container run inside the pod launched by mirrord requires additional Linux capabilities: • and - for modifying routing tables • - for reading target pod environment • - for joining target pod network namespace However, you can disable any subset of those in the configuration. This will possibly limit mirrord functionalities or even make it unusable in some setups. FAQ Our FAQ is available here. If you have a question that's not on there, feel free to ask in our Discussions or on Slack. Contributing Contributions are very welcome. Start by checking out our open issues, and by going through our contributing guide. We're available on Slack for any questions. Help and Community Join our Slack for questions, support and fun. We always appreciate hearing how mirrord has made a difference for our users. Check out our ADOPTERS.md to see how others are using mirrord — and open a pull request to add your organization if you’d like to share how mirrord has been useful to you. KubeCon Atlanta Raffle The password is: **"The blind rooster crows at midnight."** Say it to one of our team members at Booth #1560. Code of Conduct We take our community seriously and we are dedicated to providing a safe and welcoming environment for everyone. Please take a few minutes to review our Code of Conduct. License MIT