<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Blog on</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/</link><description>Recent content in Blog on</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>Copyright (c) 2022 MetalBear</copyright><lastBuildDate>Thu, 12 May 2022 08:49:55 +0000</lastBuildDate><atom:link href="https://bce40cb0.metalbear-com.pages.dev/blog/index.xml" rel="self" type="application/rss+xml"/><item><title>New Features We Find Exciting in the Kubernetes 1.34 Release</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/kubernetes-1-34/</link><pubDate>Fri, 29 Aug 2025 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/kubernetes-1-34/</guid><description>Kubernetes 1.34 brings incremental but powerful improvements including Dynamic Resource Allocation for specialized hardware like GPUs, fine-grained anonymous authentication controls, relaxed DNS search validation for legacy workloads, and new traffic distribution policies for better performance.</description></item><item><title>MetalBear Reads Mean Comments</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/mean-comments/</link><pubDate>Tue, 19 Aug 2025 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/mean-comments/</guid><description>We address the critical comments we&amp;rsquo;ve received about mirrord, explaining how it helps developers test using staging environments more efficiently without replacing the need for proper staging deployments.</description></item><item><title>How We Chose a Documentation Platform for Our DevTool</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/devtool-docs/</link><pubDate>Wed, 13 Aug 2025 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/devtool-docs/</guid><description>Our experience evaluating documentation platforms for mirrord, from Hugo&amp;rsquo;s limitations to Mintlify&amp;rsquo;s integration issues, and why we ultimately chose GitBook for its AI-powered search, chatbot, and PostHog support.</description></item><item><title>Accelerating AI-Assisted Development With mirrord</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/cursor-windsurf-mirrord-extension/</link><pubDate>Thu, 24 Jul 2025 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/cursor-windsurf-mirrord-extension/</guid><description>The mirrord extension for Cursor and Windsurf eliminates the bottleneck in AI-assisted development by letting you test AI-generated code instantly in production-like Kubernetes environments. Instead of waiting for CI pipelines and deployments, you can run your local code directly in the cluster context, accessing real environment variables, files, and services. This dramatically speeds up iteration cycles and increases confidence in AI-generated code before shipping it.</description></item><item><title>5 KubeCon India Talks I’m Really Looking Forward To</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/kubecon-india-2025/</link><pubDate>Thu, 17 Jul 2025 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/kubecon-india-2025/</guid><description>KubeCon India is back in Hyderabad! With so many sessions happening, it’s easy to feel overwhelmed. In this blog, I share five talks I’m personally looking forward to—and why they stood out to me.</description></item><item><title>Supercharging Development With Dapr and mirrord</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/dapr-mirrord/</link><pubDate>Thu, 10 Jul 2025 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/dapr-mirrord/</guid><description>Dapr makes developing cloud-native apps easier, but local Kubernetes development can still be challenging. mirrord lets you quickly test your local Dapr code against the real Kubernetes environment, keeping your workflow simple and productive.</description></item><item><title>Stop Deploying Just To Test!</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/stop-deploying-to-test/</link><pubDate>Tue, 01 Jul 2025 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/stop-deploying-to-test/</guid><description>Developers shouldn&amp;rsquo;t have to deploy code just to test small changes. This blog explores how remocal workflows, like those enabled by mirrord, let you test against staging or production-like environments without the time-consuming deploy step. Cut feedback loops from hours to seconds, stay in flow, and validate more accurately without clogging your CI pipelines.</description></item><item><title>Inspecting Service Traffic with mirrord dump</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/mirrord-dump/</link><pubDate>Wed, 25 Jun 2025 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/mirrord-dump/</guid><description>The &lt;code>mirrord dump&lt;/code> command gives you a powerful way to inspect incoming traffic to your Kubernetes resources directly in your terminal. Whether you’re debugging a mysterious 500 error, onboarding mirrord across your team, or just need to see what headers are flowing between services, this built-in command makes it easy to get visibility without extra setup. Learn how it works, when to use it, and how it works behind the scenes.</description></item><item><title>A Cloud Dev Hack: Connecting Local Code to Remote Clusters</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/cloud-dev-hack/</link><pubDate>Wed, 18 Jun 2025 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/cloud-dev-hack/</guid><description>Local development in cloud-native environments has become increasingly complex, especially as apps rely on hard-to-replicate services like managed queues, internal APIs, and cloud-integrated identity providers. This guide introduces a practical approach for developers to bridge local workflows with remote Kubernetes clusters using mirrord. Instead of rebuilding, deploying, and testing in the cloud for every change, you can run your code locally while accessing real cluster services and traffic.</description></item><item><title>Why Your Shift-Left Strategy Fails (and How DevX Saves It)</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/shift-left-strategy-fails-devx-saves-it/</link><pubDate>Mon, 02 Jun 2025 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/shift-left-strategy-fails-devx-saves-it/</guid><description>Everyone talks about shift-left testing, but most teams still wait until code is deployed to catch bugs. In this top-of-funnel overview, we explore the hidden friction in cloud-native pipelines and introduce the concept of “remocal” DevX. You’ll see why traditional environments stall early testing and how tools like mirrord help you get feedback from real cloud services without lengthy build-deploy cycles.</description></item><item><title>Top 6 DevX Tools Every Kubernetes Developer Should Know</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/devx-tools-kubernetes-developers/</link><pubDate>Mon, 26 May 2025 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/devx-tools-kubernetes-developers/</guid><description>Chasing bugs in staging, fighting drift and stepping on a teammate’s kube-config? These six DevX tools bring production realism to your laptop, speed up rebuild-deploy cycles, and standardize environments—so you ship faster with fewer surprises.</description></item><item><title>Enabling Developers To Ship Cloud-Native Applications Faster</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/enabling-developers-to-ship-cloud-native-applications-faster/</link><pubDate>Tue, 13 May 2025 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/enabling-developers-to-ship-cloud-native-applications-faster/</guid><description>Learn how you can enable your developers to ship faster by avoiding slow CI loops with the help of mirrord.</description></item><item><title>New Features in Kubernetes 1.33 Octarine: The Discworld-Inspired Release You Didn’t Know You Needed</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/new-features-in-kubernetes-1.33-octarine-the-discworld-inspired-release-you-didnt-know-you-needed/</link><pubDate>Mon, 12 May 2025 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/new-features-in-kubernetes-1.33-octarine-the-discworld-inspired-release-you-didnt-know-you-needed/</guid><description>From smarter traffic routing to in-place vertical scaling, Kubernetes 1.33 delivers magical improvements for modern clusters — inspired by Discworld’s elusive eighth color.</description></item><item><title>Couldn’t make it to KubeCon EU 2025? Here’s what you missed and why it matters</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/couldnt-make-it-to-kubecon-eu-2025-heres-what-you-missed-and-why-it-matters/</link><pubDate>Thu, 01 May 2025 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/couldnt-make-it-to-kubecon-eu-2025-heres-what-you-missed-and-why-it-matters/</guid><description>&lt;p>Earlier this month, the MetalBear team was in London for &lt;a href="https://events.linuxfoundation.org/kubecon-cloudnativecon-europe/" target="_blank">KubeCon + CloudNativeCon EU&lt;/a>. This was our second time sponsoring the event, and it was an incredible few days of meeting developers, talking cloud native trends, and sharing the magic of &lt;a href="https://metalbear.com/mirrord/?utm_source=blog&amp;amp;utm_medium=blog&amp;amp;utm_campaign=kubecon_london_blog" target="_blank">mirrord&lt;/a>.&lt;/p>
&lt;p>If you couldn’t attend, we’ve got you covered. Here’s what stood out on the ground: what the buzz was about, the dev pain points people were talking about, and why &lt;a href="https://metalbear.com/mirrord/product/?utm_source=blog&amp;amp;utm_medium=blog&amp;amp;utm_campaign=kubecon_london_blog" target="_blank">mirrord&lt;/a> struck such a chord with so many teams.&lt;/p></description></item><item><title>Four KubeCon + CloudNativeCon Schedules for Four Types of Attendees</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/four-kubecon--cloudnativecon-schedules-for-four-types-of-attendees/</link><pubDate>Thu, 07 Nov 2024 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/four-kubecon--cloudnativecon-schedules-for-four-types-of-attendees/</guid><description>&lt;p>KubeCon is one of those huge events where so much is happening, and so much is happening at the same time. If you don&amp;rsquo;t
plan in advance, you&amp;rsquo;re very likely to miss out on some events that would have been interesting for you. Our first tip
is: don’t worry too much about missing talks, as all talks will be recorded and uploaded to YouTube shortly after the
event. Social events, workshops, discussions etc. cannot be caught up later.&lt;/p></description></item><item><title>Discover mirrord’s approach to fast, cloud-connected local dev at KubeCon</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/discover-mirrords-approach-to-fast-cloud-connected-local-dev-at-kubecon/</link><pubDate>Mon, 04 Nov 2024 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/discover-mirrords-approach-to-fast-cloud-connected-local-dev-at-kubecon/</guid><description>&lt;p>We get it—“Another blog about a company’s KubeCon booth?” These posts can be a bit predictable. So, we’ll keep this one brief and focused on how &lt;a href="https://bce40cb0.metalbear-com.pages.dev/mirrord/">mirrord&lt;/a> can actually make cloud development easier.&lt;/p>
&lt;p>As one CTO put it, “&lt;em>at our company, mirrord is doing as much for developer productivity as AI is&lt;/em>.” That’s high praise, and while we’re not here to boast, we do think it’s worth checking out if you’re looking for a smoother development process.&lt;/p></description></item><item><title>There and Back Again: Port Forwarding with mirrord</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/there-and-back-again-port-forwarding-with-mirrord/</link><pubDate>Wed, 30 Oct 2024 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/there-and-back-again-port-forwarding-with-mirrord/</guid><description>&lt;h3 id="port-forwarding-in-the-wild">Port forwarding in the wild &lt;a href="#port-forwarding-in-the-wild" class="anchor" aria-hidden="true">#&lt;/a>&lt;/h3>
&lt;p>Port forwarding via SSH, also called SSH tunneling, is a method for communicating securely over an insecure connection. In this way sensitive info can be transmitted over the internet, for example to access your company&amp;rsquo;s testing environment data from home.&lt;/p>
&lt;figure>&lt;img src="https://bce40cb0.metalbear-com.pages.dev/blog/there-and-back-again-port-forwarding-with-mirrord/ssh-port-forwarding.png"
alt="diagram of SSH port forwarding" width="100%" height="100%">
&lt;/figure>
&lt;p>More recently, port forwarding might also refer to &lt;code>kubectl port-forward&lt;/code>, allowing the user to forward traffic into a Kubernetes cluster from a local port by going through the Kubernetes API. This is a faster way to access a pod without having to write special configuration to set up ingress or a service, but is generally considered “just good enough” for lightweight debugging.&lt;/p></description></item><item><title>Split Queues To Share Cloud Development Environments</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/split-queues-to-share-cloud-development-environments/</link><pubDate>Tue, 01 Oct 2024 06:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/split-queues-to-share-cloud-development-environments/</guid><description>&lt;p>One of the reasons &lt;a href="https://bce40cb0.metalbear-com.pages.dev/mirrord/docs/overview/teams/">mirrord for Teams&lt;/a> is a gamechanger for many
organizations is that it makes it possible for a whole team to work with one shared cloud environment. They don’t
need to run the whole environment for each developer, they don’t need to have their entire architecture running on
their laptops, and they don&amp;rsquo;t need to redeploy to Kubernetes to test new code or debug it. Developers just press
“run” in their IDE, and their code is executed &lt;a href="https://bce40cb0.metalbear-com.pages.dev/mirrord/">remocally&lt;/a>: the code runs locally, but with
access to any required resources in the Kubernetes cluster or outside of it. With mirrord for Teams, developers can
even work on the same service at the same time, and control how to divide between them consumable data like
incoming HTTP requests, and now also queue messages.&lt;/p></description></item><item><title>Bear in Mind #1: Platform Engineering</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/bear-in-mind-1/</link><pubDate>Mon, 22 Jul 2024 06:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/bear-in-mind-1/</guid><description>&lt;p>      At MetalBear we build open-source dev tools for backend developers, which puts our domain at the intersection of some pretty interesting topics. There&amp;rsquo;s still a lot of great content being written about things that aren&amp;rsquo;t AI - things like Kubernetes, DevEx, Open Source, Rust, and more - and we go through a lot of it as part of our daily work. How easy it would then be, we collectively thought, to provide our growing community of curious but busy backend developers with a periodic, curated list of our favorite pieces of writing on these topics?&lt;/p></description></item><item><title>Validation at Scale with Open Source MVPs</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/validation-at-scale-with-open-source-mvps/</link><pubDate>Sun, 14 Jul 2024 06:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/validation-at-scale-with-open-source-mvps/</guid><description>&lt;p>      Minimum Viable Products (MVPs) are generally accepted as the right way to kickstart a product startup. It’s easy - you whip up a quick prototype, get it in front of some users, and boom - you’ve got some feedback plus an initial user base. All that’s left to do is iterate for a few years until you reach Unicorn status. What’s often left unaddressed in this version of the story is - &lt;em>how do you get users for your MVP, and in a large enough amount that their feedback isn’t skewed or overfitted&lt;/em>?&lt;/p></description></item><item><title>mirrord for Teams – a Step Into the Remocal Future</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/mirrord-for-teams-a-step-into-the-remocal-future/</link><pubDate>Mon, 17 Jun 2024 06:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/mirrord-for-teams-a-step-into-the-remocal-future/</guid><description>&lt;figure>&lt;img src="https://bce40cb0.metalbear-com.pages.dev/blog/mirrord-for-teams-a-step-into-the-remocal-future/mftlaunch.png" width="100%" height="100%">
&lt;/figure>
&lt;p>      Today we’re excited to announce that after two years of development on mirrord Open Source, our tool that enables Remocal development for Backend engineers, we’re releasing &lt;em>mirrord for Teams&lt;/em> to bring that awesome power to entire Engineering organizations. If you’re new to the term, Remocal development combines the best of both worlds of the dominant modern cloud software engineering paradigms – &lt;em>Remote&lt;/em> development, where you maintain no local environment and everything is cloud dependent, and &lt;em>Local&lt;/em> development, where you develop software on your computer, sync code to staging and production, and test. &lt;em>Remocal&lt;/em> development allows developers to work locally while their process &lt;em>thinks&lt;/em> it is running remotely on Staging – and it’s done via a bit of magic we call mirrord. If a tool for shortened software development lifecycles and better collaboration for backend developers, packaged as an enterprise-ready platform with security and governance features included could help you, read on – we think you’ll be very interested in &lt;em>mirrord for Teams&lt;/em>. But first, a bit about how we got there.&lt;/p></description></item><item><title>KubeCon 2024 Takeaways</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/kubecon-2024-takeaways/</link><pubDate>Wed, 03 Apr 2024 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/kubecon-2024-takeaways/</guid><description>&lt;p>Last month marked a huge milestone for us as we attended our first KubeCon! This was KubeCon Europe, which took place in Paris, city of lights and cloud orchestration. Below is a summary of our collective impressions and insights.&lt;/p>
&lt;h2 id="co-located-events-and-surprising-highlights">Co-Located Events and Surprising Highlights &lt;a href="#co-located-events-and-surprising-highlights" class="anchor" aria-hidden="true">#&lt;/a>&lt;/h2>
&lt;p>We arrived a day before KubeCon proper started so we could attend the co-located events. We ended up mostly going to AppDeveloperCon sessions, and it was surprisingly crowded. Our highlight from the first day was Daniel Bryant’s excellent talk &lt;strong>“&lt;a href="https://www.youtube.com/watch?v=3tP31j_T6IE" target="_blank">Testing Cloud Apps: Mocks vs. Service Virtualization vs. Remocal Tools&lt;/a>”&lt;/strong>. Daniel covered our favorite pain - being unable to work against a real environment and iterate with it as part of the development workflow. We were pleased to see a very friendly shoutout to mirrord and our to talk later in the convention!&lt;/p></description></item><item><title>Comparison of Internal Developer Platforms</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/comparison-of-internal-developer-platforms/</link><pubDate>Fri, 22 Mar 2024 06:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/comparison-of-internal-developer-platforms/</guid><description>&lt;p>DevOps emerged to address the need for better developer productivity and a more efficient development lifecycle. However, DevOps teams often find themselves bogged down by operational tasks like security, scaling, and infrastructure management. The demand for robust developer platforms continues to grow, and with the rise of cloud computing, organizations struggle to keep pace with the complexities and speed involved. This is where Internal Developer Platforms (IDPs) come in – a trendy concept in Platform Engineering that promises to streamline processes and boost developer productivity.&lt;/p></description></item><item><title>On Pausing Containers - how we built, and why we deprecated, our container pause feature</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/on-pausing-containers-how-we-built-and-why-we-deprecated-our-container-pause-feature/</link><pubDate>Mon, 04 Mar 2024 06:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/on-pausing-containers-how-we-built-and-why-we-deprecated-our-container-pause-feature/</guid><description>&lt;p>Did you know that you can ”freeze” running containers? We found out about this feature while developing a particularly handy capability for mirrord.
mirrord lets developers run local code in the context of a remote Kubernetes pod. This lets them test their code in cloud conditions without going through CI and deployment. In most cases, stealing or mirroring incoming traffic from the remote pod to the local process is good enough. However, when you have applications that consume tasks and do more than react to incoming requests, the user might want to &lt;a href="https://github.com/metalbear-co/mirrord/discussions/2016" target="_blank">pause the remote application completely&lt;/a>, so that it doesn’t compete with their local process for tasks.&lt;/p></description></item><item><title>Five Talks We're Waiting for at KubeCon Europe 2024</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/five-talks-were-waiting-for-at-kubecon-europe-2024/</link><pubDate>Thu, 22 Feb 2024 06:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/five-talks-were-waiting-for-at-kubecon-europe-2024/</guid><description>&lt;p>Bonjour Kubernauts! Kubecon Europe is less than a month away, and it’s coming to the city of lights. The MetalBear team will be joining the fun in Paris this year, and we’ve prepared a list of five talks that we’re particularly excited about.&lt;/p>
&lt;figure class="center mid-width">&lt;img src="https://bce40cb0.metalbear-com.pages.dev/blog/five-talks-were-waiting-for-at-kubecon-europe-2024/kubecon-paris.png"
alt="mirrord at KubeCon Europe 2024">
&lt;/figure>
&lt;h2 id="whats-new-at-kubecon-this-year">What’s New at KubeCon This Year? &lt;a href="#whats-new-at-kubecon-this-year" class="anchor" aria-hidden="true">#&lt;/a>&lt;/h2>
&lt;p>Every year, the event unveils transformative tech trends that are making waves in the tech ecosystem, causing end-users, developers, engineers, and stakeholders to reflect on the past and how these trends can impact their future.
KubeCon + CloudNativeCon 2024 promises to spotlight several groundbreaking projects that have flourished within the Kubernetes ecosystem. Unsurprisingly, the main buzzword this year is AI.&lt;/p></description></item><item><title>Scaling Out Development Environments</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/scaling-out-development-environments/</link><pubDate>Tue, 02 Jan 2024 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/scaling-out-development-environments/</guid><description>&lt;blockquote>
&lt;p>Cross-posted from &lt;a href="https://audacioustux.com/Scaling-Out-Development-Environment-ceb823260a1f4a10b717a87e998480de" target="_blank">https://audacioustux.com/Scaling-Out-Development-Environment-ceb823260a1f4a10b717a87e998480de&lt;/a>&lt;/p>&lt;/blockquote>
&lt;p>Once upon a time, there was LAMP Stack… &lt;strong>L&lt;/strong>inux, &lt;strong>A&lt;/strong>pache, &lt;strong>M&lt;/strong>ysql, &lt;strong>P&lt;/strong>hp/&lt;strong>P&lt;/strong>ython/&lt;strong>P&lt;/strong>erl - That’s what I’ve used to start my Software Engineering journey. Things were simple, in a sense that there were less “options” to choose from. But today, I have to deploy multiple types of databases, event store + processing pipeline, and other behemoths to work on my application locally.&lt;/p>
&lt;p>Well, maybe I can use docker-compose to keep things clean and tidy, re-producible for the other team members, but what about the compute resources usage? I don’t know about the M2/M3 users out there, but my Linux laptop either halts or burns my lap.&lt;/p></description></item><item><title>The Traffic Police 🚨 - Controlling outgoing traffic with mirrord</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/the-traffic-police-controlling-outgoing-traffic-with-mirrord/</link><pubDate>Tue, 29 Aug 2023 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/the-traffic-police-controlling-outgoing-traffic-with-mirrord/</guid><description>&lt;p>So, you&amp;rsquo;ve been using mirrord to simplify your development process (if you haven’t, go &lt;a href="https://bce40cb0.metalbear-com.pages.dev/mirrord/">here!&lt;/a>). Naturally, you want the traffic from the app you&amp;rsquo;re debugging to go through the cluster environment, so your app can communicate with its &lt;em>clustery&lt;/em> pals. There is a problem though: your latest change adds some new columns to the database, and you don’t want to modify the database in the cluster and affect everyone else working on it. You do have a local instance of the database that you can modify, so your app can use that, but you still want it to talk to all the other components in the cluster. So what now? The new &lt;strong>outgoing traffic filter&lt;/strong> feature is here to solve exactly this type of problem!&lt;/p></description></item><item><title>mirrord as an alternative to Telepresence</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/mirrord-as-an-alternative-to-telepresence/</link><pubDate>Mon, 10 Jul 2023 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/mirrord-as-an-alternative-to-telepresence/</guid><description>&lt;p>A question that comes up often from those already familiar with local Kubernetes development is how mirrord compares to Telepresence. The idea at the base of both products is indeed similar: instead of deploying your new code to the cloud and testing it there, connect it to the cloud from your local machine. By shifting left on cloud testing this way you utilize your cloud environment much more effectively and speed up your development process. The people at Ambassador Labs &lt;a href="https://www.getambassador.io/docs/telepresence-oss/latest/concepts/devworkflow" target="_blank">wrote about it at length&lt;/a>.&lt;/p></description></item><item><title>Easy K8S Connectivity for Local Utils</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/easy-k8s-connectivity-for-local-utils/</link><pubDate>Sun, 04 Jun 2023 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/easy-k8s-connectivity-for-local-utils/</guid><description>&lt;p>With the new targetless mode of mirrord, you can run a program locally on your machine, and mirrord will forward
network connections initiated by the program to the cluster, such that the program gets the connectivity it would
have if it were deployed to the cluster. Together with the secret sauce of in-cluster DNS resolution, you can run a
program on your computer and have it access cluster-internal services that do not have any external IP. The
program would also have access to third-party services that are open to IPs from your cluster, but not to your
local IP.&lt;/p></description></item><item><title>Writing a Kubernetes Operator</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/writing-a-kubernetes-operator/</link><pubDate>Thu, 09 Mar 2023 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/writing-a-kubernetes-operator/</guid><description>&lt;p>As part of mirrord For Teams, we wanted to build a persistent component that would run in our user’s cluster and synchronize independent uses of mirrord. It quickly became apparent that we needed a component that was both:&lt;/p>
&lt;ol>
&lt;li>&lt;strong>Kubernetes-native&lt;/strong> - meaning it leverages the Kubernetes APIs and ecosystem&lt;/li>
&lt;li>&lt;strong>Cluster-synchronized&lt;/strong> - Manage and synchronize the use of our open-source project, mirrord, from the cluster’s point of view.&lt;/li>
&lt;/ol>
&lt;p>Some research pointed us in the direction of the Kubernetes Operator pattern.
The operator pattern can be quite ambiguous, and we found the guides that currently exist for it to be quite dense and technical. In this post, I want to instead take a step-by-step approach and provide a quick start for newcomers looking to explore the APIService flavor of the operator pattern.&lt;/p></description></item><item><title>Fun with macOS's SIP</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/fun-with-macoss-sip/</link><pubDate>Tue, 24 Jan 2023 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/fun-with-macoss-sip/</guid><description>&lt;p>While developing mirrord, which heavily relies on injecting itself into other people&amp;rsquo;s binaries, we ran into some challenges posed by macOS’s SIP (System Integrity Protection). This post details how we ultimately overcame these challenges, and we hope it can be of help to other people hoping to learn about SIP, as we&amp;rsquo;ve learned the hard way that there&amp;rsquo;s very little written about this subject on the internet.&lt;/p>
&lt;h2 id="what-is-mirrord">What is mirrord? &lt;a href="#what-is-mirrord" class="anchor" aria-hidden="true">#&lt;/a>&lt;/h2>
&lt;p>&lt;a href="https://bce40cb0.metalbear-com.pages.dev/mirrord/">mirrord&lt;/a> lets you run a local process in the context of a cloud service, which means we can test our code on our staging cluster without actually deploying it there. This leads to shorter feedback loops (you don’t have to wait on long CI processes to test your code in staging conditions) and a more stable staging environment (since untested services aren’t being deployed there). There is a detailed overview of mirrord in &lt;a href="https://metalbear.com/blog/mirrord-3.0-is-out/" target="_blank">this&lt;/a> blog post.&lt;/p></description></item><item><title>Approaches in Cloud Development Ergonomics</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/approaches-in-cloud-development-ergonomics/</link><pubDate>Mon, 31 Oct 2022 06:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/approaches-in-cloud-development-ergonomics/</guid><description>&lt;p>The advent of microservice architectures and cloud-native has taken some pretty severe tolls on developer ergonomics. It feels as if the tools cloud developers have at their disposal haven’t evolved fast enough to keep up with the rapid progress in infrastructure, and this tool debt is readily apparent in the day-to-day of the modern developer.&lt;/p>
&lt;p>The clearest example of this is that it’s now &lt;strong>really hard to just run your application&lt;/strong>. Not the one microservice you’re currently working on, but your actual entire application, which you ultimately deploy to the cloud and serves your customers. You used to be able to fire up your monolith right there on your laptop from within your IDE (crash, change some code, run it again), but architectures today have become resource-intensive, reliant on third-party services, and mostly just plain convoluted to the point where local execution is no longer a viable option.&lt;/p></description></item><item><title>mirrord 3.0 is out!</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/mirrord-3.0-is-out/</link><pubDate>Thu, 20 Oct 2022 06:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/mirrord-3.0-is-out/</guid><description>&lt;p>Today we’re very excited to launch the first full, stable version of mirrord! Full because it’s the first version where mirrord completely wraps your process in the context of your Kubernetes cluster - it connects everything, from network traffic to file access to environment variables, so that you can keep running your process from the familiar comfort of your local environment, but with input, configuration, and state from the cloud.&lt;/p></description></item><item><title>Hooking Go from Rust - Hitchhiker’s Guide to the Go-laxy</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/hooking-go-from-rust-hitchhikers-guide-to-the-go-laxy/</link><pubDate>Wed, 17 Aug 2022 15:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/hooking-go-from-rust-hitchhikers-guide-to-the-go-laxy/</guid><description>&lt;p>Most mainstream programming languages strive to fit into a few common standards, to increase interoperability and decrease adoption friction. Golang isn’t one of those (there &lt;a href="https://spectralops.io/blog/rust-vs-go-why-not-use-both/" target="_blank">are&lt;/a> &lt;a href="https://words.filippo.io/rustgo/" target="_blank">several&lt;/a> &lt;a href="https://fasterthanli.me/articles/lies-we-tell-ourselves-to-keep-using-golang" target="_blank">articles&lt;/a> on the subject). In this blog post we’ll demonstrate how to overcome Go’s isolationist design and integrate with it from another language (in our case Rust).&lt;/p>
&lt;p>Why do we need to interop with Go? mirrord&lt;sup id="fnref:1">&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref">1&lt;/a>&lt;/sup> works by &lt;a href="https://metalbear.com/blog/mirrord-internals-hooking-libc-functions-in-rust-and-fixing-bugs/" target="_blank">hooking system calls to the operating systems&lt;/a> and applying logic that decides whether to execute locally or remotely. To do that, mirrord side-loads (using &lt;code>LD_PRELOAD&lt;/code>) into the process, then hooks relevant functions.
To cover most common scenarios, mirrord hooks libc functions and this works for most common languages (Python, Go on macOS, Rust, Node to name a few) as they all rely on libc.&lt;/p></description></item><item><title>Starting a Backend Developers Community</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/starting-a-backend-developers-community/</link><pubDate>Tue, 02 Aug 2022 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/starting-a-backend-developers-community/</guid><description>&lt;p>Hey all, this blog post is a bit meta. tl;dr - we’re starting a &lt;a href="https://discord.gg/metalbear" target="_blank">backend developers community on Discord&lt;/a>. Its purpose is to have a place for backend developers to have discussions, share ideas, and collaborate.&lt;/p>
&lt;h2 id="why-do-we-need-another-community">Why do we need another community? &lt;a href="#why-do-we-need-another-community" class="anchor" aria-hidden="true">#&lt;/a>&lt;/h2>
&lt;p>Most developer communities are dedicated to languages (Go, Python, Rust) or frameworks (FastAPI, Tokio). However, most modern backend developers work on complex cloud architectures combining multiple languages and ecosystems, and this is only becoming more common as microservice architectures become more prevalent. The modern backend engineer is a &lt;a href="https://medium.com/soluto-nashville/why-be-a-polyglot-software-engineer-29cf53465d15" target="_blank">polyglot&lt;/a>, making them more versatile and equipped to solve a wider array of problems. Besides, backend developers face many common issues &lt;em>unrelated&lt;/em> to the language or ecosystem they use - things to do with architecture, databases and other third party services, CI/CD and SDLC, even development methodology and team management.&lt;/p></description></item><item><title>Getting Started With Ephemeral Containers</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/getting-started-with-ephemeral-containers/</link><pubDate>Thu, 21 Jul 2022 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/getting-started-with-ephemeral-containers/</guid><description>&lt;p>If you’re following the latest news on Kubernetes, you probably would have heard about Ephemeral Containers. Not sure? Fear not! In this blog post we will try to shed some light on this new feature soon to be stable&lt;sup id="fnref:1">&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref">1&lt;/a>&lt;/sup> in Kubernetes v1.25.&lt;/p>
&lt;h2 id="what-are-ephemeral-containers">What are Ephemeral Containers? &lt;a href="#what-are-ephemeral-containers" class="anchor" aria-hidden="true">#&lt;/a>&lt;/h2>
&lt;p>&lt;a href="https://kubernetes.io/docs/concepts/workloads/pods/ephemeral-containers/" target="_blank">Ephemeral containers&lt;/a> let us run a container with a specific image in the context of an already running container in a Pod. This comes in handy when debugging/troubleshooting distroless images or images that lack certain utilities, where &lt;code>kubectl exec&lt;/code> won’t be helpful.&lt;/p></description></item><item><title>mirrord internals - hooking libc functions in Rust and fixing bugs</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/mirrord-internals-hooking-libc-functions-in-rust-and-fixing-bugs/</link><pubDate>Mon, 04 Jul 2022 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/mirrord-internals-hooking-libc-functions-in-rust-and-fixing-bugs/</guid><description>&lt;p>&amp;ldquo;Is mirrord some kind of &lt;a href="https://man7.org/linux/man-pages/man2/ptrace.2.html" target="_blank">ptrace&lt;/a> magic?”, that’s what I exactly thought when I was introduced to this idea of “mirroring traffic”. To my surprise, the idea and design behind mirrord are based on simple concepts implemented in a novel way! This is what I want to discuss in this blog post along with my experience as a Junior Engineer learning how to tackle bugs working on this badass project.&lt;/p>
&lt;h2 id="what-is-mirrord-">What is mirrord? 🪞 &lt;a href="#what-is-mirrord-" class="anchor" aria-hidden="true">#&lt;/a>&lt;/h2>
&lt;p>&lt;a href="https://github.com/metalbear-co/mirrord" target="_blank">mirrord&lt;/a> lets you run a local process in the context of a cloud service, which means we can test our code on staging, without actually deploying it there. This leads to shorter feedback loops (you don’t have to wait on long CI processes to test your code in staging conditions) and a more stable staging environment (since untested services aren’t being deployed there). There is a detailed overview of mirrord and what we strive to achieve with it in &lt;a href="https://metalbear.com/blog/reintroducing-mirrord/" target="_blank">this&lt;/a> blog post.&lt;/p></description></item><item><title>Carcinisation of mirrord (or: why we use Rust)</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/carcinisation-of-mirrord-or-why-we-use-rust/</link><pubDate>Tue, 14 Jun 2022 00:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/carcinisation-of-mirrord-or-why-we-use-rust/</guid><description>&lt;p>&lt;figure class="center">&lt;img src="https://bce40cb0.metalbear-com.pages.dev/blog/carcinisation-of-mirrord-or-why-we-use-rust/rustacean-flat-happy.svg">
&lt;/figure>
&lt;strong>Carcinisation&lt;/strong> (or &lt;strong>carcinization&lt;/strong>) is an example of &lt;a href="https://en.wikipedia.org/wiki/Convergent_evolution" target="_blank">convergent evolution&lt;/a> in which a &lt;a href="https://en.wikipedia.org/wiki/Crustacean" target="_blank">crustacean&lt;/a> &lt;a href="https://en.wikipedia.org/wiki/Evolution" target="_blank">evolves&lt;/a> into a &lt;a href="https://en.wikipedia.org/wiki/Crab" target="_blank">crab&lt;/a>-like form from a non-crab-like form. (source: &lt;a href="https://en.wikipedia.org/wiki/Carcinisation" target="_blank">Wikipedia&lt;/a>).&lt;/p>
&lt;p>A classic example of carcinisation is MetalBear&amp;rsquo;s mirrord project, where several different components converged on Rust as their main language. In this post, we&amp;rsquo;ll detail their different evolutionary paths and explain why they ended up being written in Rust.&lt;/p>
&lt;h1 id="first-of-all-what-is-mirrord">First of all, what is mirrord? &lt;a href="#first-of-all-what-is-mirrord" class="anchor" aria-hidden="true">#&lt;/a>&lt;/h1>
&lt;p>mirrord is an open-source tool that lets developers run local processes in the context of their cloud environment. It is meant to provide the benefits of running your service in a cloud environment (e.g. staging) without going through the hassle of actually deploying it there, and without disrupting the environment by deploying untested code.&lt;sup id="fnref:1">&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref">1&lt;/a>&lt;/sup>&lt;/p></description></item><item><title>(Re)Introducing mirrord</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/reintroducing-mirrord/</link><pubDate>Mon, 30 May 2022 15:00:00 +0000</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/reintroducing-mirrord/</guid><description>&lt;figure class="center">&lt;img src="https://bce40cb0.metalbear-com.pages.dev/blog/reintroducing-mirrord/mirrord.png">
&lt;/figure>
&lt;h2 id="the-dev-loop-or-know-your-enemy">The Dev Loop (or: know your enemy) &lt;a href="#the-dev-loop-or-know-your-enemy" class="anchor" aria-hidden="true">#&lt;/a>&lt;/h2>
&lt;figure class="center">&lt;img src="https://bce40cb0.metalbear-com.pages.dev/blog/reintroducing-mirrord/loop.png">
&lt;/figure>
&lt;p>Imagine you’re a backend developer at post series B SaaS soonicorn. You’ve spent half a sprint adding a new feature to your microservice. You’ve thoroughly researched possible inputs and database states and built an elaborate test suite. Your code was mercilessly reviewed by two of your teammates. Finally, the tests pass, the pull request is approved, and as a final verification, you deploy your new code to the staging environment…&lt;/p></description></item><item><title>Metal-who?</title><link>https://bce40cb0.metalbear-com.pages.dev/blog/metal-who/</link><pubDate>Thu, 12 May 2022 09:19:42 +0100</pubDate><guid>https://bce40cb0.metalbear-com.pages.dev/blog/metal-who/</guid><description>&lt;h1 id="metalbear">MetalBear!🐻 &lt;a href="#metalbear" class="anchor" aria-hidden="true">#&lt;/a>&lt;/h1>
&lt;p>A huge omnivore that also conducts electricity. In the present context, though, a new startup that’s working on developing a new toolset for backend engineers.&lt;/p>
&lt;h2 id="why-">Why ⏪ &lt;a href="#why-" class="anchor" aria-hidden="true">#&lt;/a>&lt;/h2>
&lt;p>Like many devtools startups, MetalBear was born out of frustration. We&amp;rsquo;ve both spent years building cloud services, splitting up monoliths, wrangling configurations, writing endless tests only to break production because of that one edge case.&lt;/p>
&lt;p>We finally came to the realization that while tools tailored to devops engineers, frontend developers, QA engineers, and more, we, the backend developers, were being underserved. So much of our day to day work seemed needlessly slow or complicated, begging for automation or even fundamental disruption, and yet no company seemed willing to rise up to the challenge. So we decided to start MetalBear 🐻&lt;/p></description></item></channel></rss>