8000 GitHub - kencruz/mirrord: By mirroring traffic to and from your machine, mirrord surrounds your local service with a mirror image of its cloud environment.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

By mirroring traffic to and from your machine, mirrord surrounds your local service with a mirror image of its cloud environment.

License

Notifications You must be signed in to change notification settings

kencruz/mirrord

 
 

Repository files navigation

mirrord logo dark

mirrord logo light

mirrord lets you easily mirror traffic from your Kubernetes cluster to your development environment. It comes as both a Visual Studio Code extension and a CLI tool.

Getting Started

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


CLI Tool

Installation

curl -fsSL https://raw.githubusercontent.com/metalbear-co/mirrord/main/scripts/install.sh | bash
  • Windows isn't currently supported (you can use WSL)

How To Use

mirrord exec <process command> --pod-name <name of the pod to impersonate>

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 node which 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

By mirroring traffic to and from your machine, mirrord surrounds your local service with a mirror image of its cloud environment.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 90.8%
  • TypeScript 3.6%
  • Python 1.9%
  • JavaScript 1.5%
  • Go 0.8%
  • Shell 0.8%
  • Dockerfile 0.6%
0