MetalBear 🐻
metalbear.co
MetalBear 🐻
@metalbear.co
🐻
Building DevTools for Backend Engineers!
Join our Backend Engineers Community http://discord.gg/metalbear
Currently focusing on http://mirrord.dev
February 19, 2025 at 2:40 PM
- If a dev writes to a DB, won’t that mess up others' tests?
mirrord enables concurrent usage of the same cluster through the following capabilities:
February 19, 2025 at 2:40 PM
This raises some big questions:
- What happens when multiple developers use the same cluster? 👩🏿‍🤝‍👨🏼
- If one dev steals traffic from a service, does that block others?🚦
- If a service reads from a queue, will one dev steal all the messages? 📨
February 19, 2025 at 2:40 PM
This means🧵 👇 :
✅ Immediate effect on queues & traffic.

✅ A stable, high-level Kubernetes API solution.

✅ No reliance on container runtime internals.

📢 Read the full story on how we built—and deprecated—our container pause feature in this article by @Aviramyh: https://buff.ly/3CHK3uP
On Pausing Containers - how we built, and why we deprecated, our container pause feature
How we implemented the container pause feature, and why we decided to deprecate it
buff.ly
February 6, 2025 at 1:00 PM
➡️ New File Operation Support – Huge thanks to @facundopoblete for adding support for rmdir, unlink, unlinkat, and statfs! 👏

A big shoutout to our amazing community for making mirrord even more powerful! 🎉
Try out the latest updates, and let us know what you think.
February 5, 2025 at 2:00 PM
➡️ Prometheus Metrics Export – Export mirrord agent metrics for improved observability and debugging.

➡️ mirrord CLI Improvements – Thanks to @waveywaves, the `-f / --config-file` argument now assumes `./.mirrord/mirrord.json` by default! 👏
February 5, 2025 at 2:00 PM
➡️ IPv6 Support – Expanded support for outgoing traffic, incoming traffic interception, and domain name resolution. (Mirroring in progress!)

➡️ Kubernetes Service as a Target – Mirror traffic from an entire Kubernetes Service, making debugging multi-replica workloads easier.
February 5, 2025 at 2:00 PM
➡️ mirrord Policies – Gain initial controls for file operations, offering more flexibility in managing remote file interactions.

➡️ IntelliJ Plugin Namespace Selection – No more manual switching! Select your Kubernetes namespace directly in the target selection dialog.
February 5, 2025 at 2:00 PM
➡️ How to use the mirrord policy:

If you want to block stealing traffic on all webserver deployments in a namespace, you can write a policy like this:
January 22, 2025 at 1:00 PM
➡️ Controllable Features🔧

Some policies don’t block features outright; they override user configurations:

- Env Policy: Controls which environment variables can be retrieved.
- FS Policy: Controls which files can be accessed or how they can be opened (e.g., read-only, local, etc.).
January 22, 2025 at 1:00 PM
➡️ Blockable Features 🚫

You can use mirrord policies to block the following features:

- steal: Prevents stealing traffic from targeted pods.
- steal-without-filter: Same as above, but only if no HTTP filter is used.
- mirror: Prevents mirroring traffic.
January 22, 2025 at 1:00 PM
➡️ What are mirrord Policies?

When you install the mirrord operator, it creates two types of policies that have the same specifications:

- MirrordPolicy: Applies to targets in the same namespace.
- MirrordClusterPolicy: Applies to targets across the entire cluster.
January 22, 2025 at 1:00 PM