https://github.com/metalbear-co/mirrord Skip to content Sign up * Product + Features + Mobile + Actions + Codespaces + Packages + Security + Code review + Issues + Integrations + GitHub Sponsors + Customer stories * Team * Enterprise * Explore + Explore GitHub + Learn and contribute + Topics + Collections + Trending + Learning Lab + GitHub Sponsors + Open source guides + Connect with others + The ReadME Project + Events + Community forum + GitHub Education + GitHub Stars program * Marketplace * Pricing + Plans + Compare plans + Contact Sales + Education [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this organization All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} metalbear-co / mirrord Public * Notifications * Fork 13 * Star 521 mirrord lets you easily mirror traffic from your production environment to your development environment. mirrord.dev License MIT license 521 stars 13 forks Star Notifications * Code * Issues 22 * Pull requests 4 * Discussions * Actions * Security * Insights More * Code * Issues * Pull requests * Discussions * Actions * Security * Insights metalbear-co/mirrord This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags 2 branches 2 tags Code Latest commit @infiniteregrets infiniteregrets Refactor CI (#107) ... dcc29bf Jun 4, 2022 Refactor CI (#107) * Refactor CI dcc29bf Git stats * 135 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .cargo add mirrord-cli May 9, 2022 .devcontainer monorepo May 4, 2022 .github Refactor CI (#107) Jun 4, 2022 .vscode Use tracing_subscriber::EnvFilter to have better control over logs fr... May 11, 2022 images Last release preparations (#84) May 26, 2022 mirrord-agent Add support for Docker runtime (#96) Jun 3, 2022 mirrord-cli Prompt outdated (#102) Jun 2, 2022 mirrord-layer Add support for Docker runtime (#96) Jun 3, 2022 mirrord-protocol Add a KeepAlive on connection between layer and agent (#104) Jun 3, 2022 sample Move some functionality to separate files (#31) May 8, 2022 scripts add install.sh for mirrord installation (#93) May 26, 2022 tests Add support for Docker runtime (#96) Jun 3, 2022 vscode-ext 2.1.0 (#106) Jun 3, 2022 .dockerignore refactor sockets May 11, 2022 .gitignore Container/node inference, and get layer to work under monorepo May 4, 2022 .vscodeignore Support running an external file (bintest.sh) on debug. Feb 1, 2022 CHANGELOG.md Refactor CI (#107) Jun 4, 2022 CODE_OF_CONDUCT.md Last release preparations (#84) May 26, 2022 Cargo.lock 2.1.0 (#106) Jun 3, 2022 Cargo.toml 2.1.0 (#106) Jun 3, 2022 LICENSE fix license, update readme Feb 24, 2022 README.md Last release preparations (#84) May 26, 2022 TECHNICAL.md Few more changes Feb 25, 2022 rust-toolchain.toml add mirrord-cli May 9, 2022 rustfmt.toml monorepo May 4, 2022 View code [ ] Getting Started VSCode Extension Installation How to use CLI Tool Installation How to use How it works Contributing Help & Community [?] Code of Conduct License README.md mirrord logo dark mirrord logo light mirrord lets you easily mirror traffic from your Kubernetes cluster to your development environment. It comes as both Visual Studio Code extension and a CLI tool. Getting Started * VSCode Extension * CLI Tool mirrord uses your machine's default kubeconfig for access to the Kubernetes API. Make sure your local process is listening on the same port as the remote pod. --------------------------------------------------------------------- VSCode Extension Installation Get the extension here. How to use * Click "Enable mirrord" on the status bar * Start debugging your project * Choose pod to mirror traffic from * The debugged process will start with mirrord, and receive traffic [demo] --------------------------------------------------------------------- CLI Tool Installation curl -fsSL https://raw.githubusercontent.com/metalbear-co/mirrord/main/scripts/install.sh | bash * Windows isn't supported currently (you can use WSL) How to use mirrord exec --pod-name e.g. mirrord exec node app.js --pod-name my-pod --------------------------------------------------------------------- How it works mirrord works by letting you select a pod to mirror traffic from. It launches a privileged pod on the same nodewhich enters the namespace of the selected pod and captures traffic from it. Contributing Contributions are welcome via PRs. Help & Community [?] Join our Discord Server for questions, support and fun. 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 About mirrord lets you easily mirror traffic from your production environment to your development environment. mirrord.dev Topics api kubernetes rust cli development cloud native local ide vscode traffic sniffer debug developer-tools vscode-extension devtool develop mirrord Resources Readme License MIT license Code of conduct Code of conduct Stars 521 stars Watchers 5 watching Forks 13 forks Releases 2 2.1.0 Latest Jun 3, 2022 + 1 release Packages 1 Contributors 4 * @aviramha aviramha Aviram Hassan * @eyalb181 eyalb181 Eyal Bukchin * @infiniteregrets infiniteregrets Mehul * @meowjesty meowjesty meowjesty Languages * Rust 90.3% * TypeScript 5.7% * Shell 1.7% * JavaScript 1.4% * Dockerfile 0.9% * (c) 2022 GitHub, Inc. * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.