Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions website/blog/2024-12-04-mirrord-on-aks/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ The details of all the products available in our store are stored in `src/data.r
},
```

In order to configure mirrord, hover over the plugin name in the toolbar and click "Settings", which will create a `mirrord.json` file with some default configuration values. You can see the default network mode is "mirror" - change that to "steal" so that we can intercept traffic to our local process and return traffic from the local process into the cluster. If you only want to steal a subset of the traffic you can use filtered stealing, which only intercepts traffic matching a preconfigured filter - you can read more about this [in the docs](https://mirrord.dev/docs/using-mirrord/steal/).
In order to configure mirrord, hover over the plugin name in the toolbar and click "Settings", which will create a `mirrord.json` file with some default configuration values. You can see the default network mode is "mirror" - change that to "steal" so that we can intercept traffic to our local process and return traffic from the local process into the cluster. If you only want to steal a subset of the traffic you can use filtered stealing, which only intercepts traffic matching a preconfigured filter - you can read more about this [in the docs](https://metalbear.com/mirrord/docs/overview/introduction).

While we have the settings open, let's specify our target so we don't have to keep selecting it in the GUI. Under the `"feature"` field, add: `"target": "deployment/product-service"`. The full `mirrord.json` now looks like this:

Expand Down Expand Up @@ -191,4 +191,4 @@ Much better. This means that mirrord not only stole traffic for the `makeline-se

In summary: if you're looking for a tool to make developing and testing Kubernetes applications easier (and faster), then give mirrord a try - it's easy and free to start using, simple to configure and powerful enough to work well with large and complex clusters. Even though the examples here are simple, mirrord has the potential to completely transform how you work on a day-to-day basis.

Of course, this post only scratches the surface of what mirrord can do. You can run it in a container, you can use it for port-forwarding to the cluster (or in reverse from the cluster), you can split Kafka and SQS queues, and so on and so forth. Stay updated on the latest features through the [MetalBear blog](https://metalbear.co/blog/) or dive straight into the [mirrord docs](https://mirrord.dev/docs/overview/introduction/) to get started. Have questions? Join our friendly [Discord server](https://discord.gg/metalbear) and say hello! For additional guidance on getting started with AKS, don’t forget to check out the [AKS documentation](https://learn.microsoft.com/azure/aks/).
Of course, this post only scratches the surface of what mirrord can do. You can run it in a container, you can use it for port-forwarding to the cluster (or in reverse from the cluster), you can split Kafka and SQS queues, and so on and so forth. Stay updated on the latest features through the [MetalBear blog](https://metalbear.co/blog/) or dive straight into the [MetalBear Docs](https://metalbear.com/mirrord/docs/overview/introduction) to get started. Have questions? Join our friendly [Discord server](https://discord.gg/metalbear) and say hello! For additional guidance on getting started with AKS, don’t forget to check out the [AKS documentation](https://learn.microsoft.com/azure/aks/).
Loading