MetalBear 🐻's Avatar

MetalBear 🐻

@metalbear.co

🐻 Building DevTools for Backend Engineers! Join our Backend Engineers Community http://discord.gg/metalbear Currently focusing on http://mirrord.dev

32
Followers
1
Following
126
Posts
08.05.2023
Joined
Posts Following

Latest posts by MetalBear 🐻 @metalbear.co

Preview
Leveling up the Kubernetes Development Experience with Remocal development by Anita Ihuman The shift from monolithic to containerized environments was meant to improve application software development processes and ease developer experience. Howeve...

At @gdglagos 2024, @Anita_ihuman delivered a talk on Remocal development with mirrord, showcasing how developers can make their K8s workflow smoother with the help of mirrord, leading to an improved developer experience and increased productivity.

πŸ‘‰ Watch the demo here:

24.02.2025 13:01 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
How to Debug Java Microservices in Kubernetes Learn to debug Java microservices in Kubernetes with mirrord, using IntelliJ IDE or the CLI for efficient, real-time troubleshooting without redeploying.

When debugging Ruby microservices, most techniques like continuous deployment, log analysis, and remote debugging can be time-consuming, with additional overhead to your workflow

Here's a guide on how to mirror traffic and environment settings from your K8s pod to your local Ruby process with easeπŸ‘‡

20.02.2025 12:00 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image
19.02.2025 14:40 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image Post image Post image Post image

- 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:

19.02.2025 14:40 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

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? πŸ“¨

19.02.2025 14:40 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

mirrord cuts iteration time by letting developers run their code against the cluster directlyβ€”without slow build, push, and deploy cycles.

But here's the kicker: to really test in the cloud, your code needs to receive and send traffic back – which may alter the environment. πŸ€”πŸ§΅

19.02.2025 14:40 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Metalbear at KubeCon EU

Metalbear at KubeCon EU

πŸš€ KubeCon EU 2025 is weeks away, and we’ve been busy! πŸ‡¬πŸ‡§

We’re getting everything ready for Londonβ€”demos, swag, and some exciting mirrord updates. And we’d love your input!

πŸ‘‰ What would you like to see from us at KubeCon? More hands-on demos? A chat with the team? Let us know in the comments!

14.02.2025 10:02 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
How to Debug Java Microservices in Kubernetes Learn to debug Java microservices in Kubernetes with mirrord, using IntelliJ IDE or the CLI for efficient, real-time troubleshooting without redeploying.

Slow iterations, complex logs, and performance overhead are challenges that often kill developer productivity when debugging Java microservices in Kubernetes.

To address these issues, we provide a guide on how to debug Java applications within a K8s context with ease. πŸ‘‡πŸΌπŸ§΅

13.02.2025 10:03 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
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

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

06.02.2025 13:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
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

Tired of fighting for logs or dealing with unwanted traffic?

Instead of pausing containers, mirrord now creates an exclusive pod for your session and scales down others in the deployment.

06.02.2025 13:00 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

➑️ 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.

05.02.2025 14:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

➑️ 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! πŸ‘

05.02.2025 14:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

➑️ 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.

05.02.2025 14:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

➑️ 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.

05.02.2025 14:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

πŸš€ New Feature Updates!πŸš€

To improve your cloud development experience, we have added a ton of exciting features and improvements to mirrord in the last 4 weeks.

Here is what’s new with mirrord! πŸ‘‡πŸΌ

05.02.2025 14:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
Discover a new Kubernetes development experience with mirrord for Teams In this demo we showcase the advanced functionality offered by mirrord for Teams. mirrord lets developers run local code in the context of their Kubernetes c...

We’re bringing back this demo for anyone who might have missed it!

Catch up on @Eyal Bukchin's demo on how mirrord for Teams can simplify the development workflow for both startups and enterprises.
See how to transform your team's developer experience with mirrod:

03.02.2025 14:00 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image Post image Post image Post image

Have questions about mirrord❓ We’ve got answers! 🧡

29.01.2025 16:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

We recently chatted with @praveensanap from @Carousell, a leading multi-category platform for secondhand in Southeast Asia, about the pain of having to debug inside Docker containers just to test against their staging environment.

Check out the full story to learn: https://buff.ly/4hu7bM8

24.01.2025 12:00 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

➑️ 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:

22.01.2025 13:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

➑️ 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.).

22.01.2025 13:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

➑️ 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.

22.01.2025 13:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

➑️ 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.

22.01.2025 13:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

mirrord Policies are used to control which features can be used with your Kubernetes targets.

Let’s break it down! 🧡

22.01.2025 13:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
KCD Accra 2 0 Final

Last year at #KCDAccra, @Anita_ihuman shared how to redefine local K8s development using the β€œmirror effect.”

In her talk, she gave a demo on how to debug a Python microservice directly from your local machine in under five minutes using mirrord.

Check out the demo here:

21.01.2025 12:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Local Development on AKS with mirrord Learn how mirrord simplifies Kubernetes local development.

If you’re running K8s on Azure and want an easier way to build and debug your app locally, look no furtherπŸͺž.

In Gemma Tipper's article, she shows how to:
πŸ’« Mirror AKS environments locally using mirrord
πŸ’« Test directly in AKS without wasting time

See article:

20.01.2025 13:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Remocal Development: The Future of Efficient Kubernetes Workflows Discover how combining local and remote environments in a remocal setup can streamline development processes enhance productivity, and reduce costs.

Is your development environment enabling a fast, reliable feedback loopβ€”or is it holding you back?
@Anita Ihuman explores how Remocal development tools, like #mirrord, balance local and remote setups to simplify your processes, enhance productivity, and cut costs.

See more:

16.01.2025 11:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

mirrord bridges the gap between local development and production, empowering developers to work faster and smarter.

As @Gavriel Zarka shared: β€œmirrord is an extraordinary plugin that reduces development time...”

Want to give it a try? Check out mirrord: https://mirrord.dev/

15.01.2025 10:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Overview The overview section.

5️⃣ Regex-Based Environment Variable Mapping

You can now enjoy maximum flexibility by mapping remote environment variables to specific values in your mirrord configuration using regex with a simple command.

Discover more about these new features here: https://buff.ly/3PyVJ5P

14.01.2025 11:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Overview The overview section.

4️⃣ Kafka Splitting with Kubernetes Secrets

Securely load Kafka client properties directly from Kubernetes secrets, streamlining your queue-based microservices debugging.

14.01.2025 11:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
Overview The overview section.

3️⃣ Prometheus Metrics Endpoint

Monitoring and observability just got better! With our new Prometheus endpoint, you can monitor and analyze mirrord usage in your cluster right in your existing Prometheus setup.

14.01.2025 11:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0