VOOZH about

URL: https://thenewstack.io/using-istio-or-linkerd-to-unlock-ephemeral-environments/

⇱ Using Istio or Linkerd To Unlock Ephemeral Environments - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2025-02-19 09:00:08
Using Istio or Linkerd To Unlock Ephemeral Environments
sponsor-signadot,sponsored-post-contributed,
Service Mesh / Software Testing

Using Istio or Linkerd To Unlock Ephemeral Environments

Istio and Linkerd can do more than just manage traffic in Kubernetes; they can also unlock lightweight, on-demand development and test environments.
Feb 19th, 2025 9:00am by Anirudh Ramanathan
👁 Featued image for: Using Istio or Linkerd To Unlock Ephemeral Environments
Signadot sponsored this post.

If you’re using Istio or Linkerd, you’ve already solved one of the hardest parts of managing traffic in Kubernetes. But did you know you’re also 90% of the way to unlocking ephemeral environments? These lightweight, on-demand environments can transform how your team develops and tests applications — giving you faster iteration, safer deployments and better software quality.

Why Ephemeral Environments Matter

Ephemeral environments offer immense benefits. Developers get fast feedback on changes without waiting for long CI builds. QA teams can validate behavior in isolated, production-like environments, significantly reducing the risk of regressions. This approach fosters continuous improvement and deployment, helping teams move faster with high confidence in their releases.

For modern organizations, ephemeral environments are becoming essential. They enable faster iteration, improve collaboration between developers and QA, and reduce risks by catching issues earlier in the development process. Teams that adopt them can avoid many of the pitfalls associated with traditional shared staging environments.

Why Service Meshes Change the Game

The traditional approach to ephemeral environments involves duplicating the entire microservice stack in separate Kubernetes namespaces or clusters. While this provides isolation, it introduces significant challenges. Life cycle management becomes complex, costs rise as infrastructure is duplicated and spin-up times can deter thorough testing. These environments also risk becoming outdated quickly without constant updates, especially in fast-moving microservices architectures, making test results unreliable.

A more efficient approach is leveraging service mesh capabilities for tenancy-based environments. Instead of duplicating entire stacks, this approach focuses on testing changes against shared dependencies already in the Kubernetes cluster. The service mesh handles routing and traffic control, allowing multiple environments to run simultaneously without the cost and complexity of full-stack replication.

👁 Architecture of leveraging service mesh capabilities for tenancy-based environments

At scale, request-level tenancy segments traffic cleanly, providing isolated environments without heavy infrastructure duplication. Service meshes like Istio or Linkerd provide a lightweight, scalable solution that simplifies management and keeps operational costs low.

Real-World Examples: Scaling Ephemeral Environments

Industry leaders like Uber and DoorDash have long used scalable, on-demand environments to reduce deployment risks and boost developer efficiency. Uber’s SLATE allows isolated testing at scale, helping developers catch issues early and speed up releases. DoorDash takes a similar approach, ensuring every change is tested in isolation before going into production.

With service mesh observability and tools like OpenTelemetry, teams gain deep insights into request flows and performance across multiple environments. This makes debugging faster and prevents cross-environment interference. Developers can deploy isolated services with full routing control and avoid conflicts, making it easier to catch issues that shared staging environments often miss.

How Tenancy-Based Ephemeral Environments Work

So, how does it work? Imagine every pull request spinning up an environment on demand. With tenancy, environments share the same Kubernetes cluster while isolating resources, routing and data using request-level tenancy for traffic control.

For example:

  • A developer opens a pull request.
  • Once images are built, only the changed services are deployed into the cluster in a sandbox.
  • Routing rules are configured so that requests with specific headers are directed to the new version of the service — similar to how canaries work in production.
  • Developers and QA teams test these changes in a production-like setting with shared dependencies.
  • Once the pull request is closed, the environment is automatically cleaned up.

👁 Tenancy-based ephemeral environments process

Request Tenancy as a Core Component

Request-level tenancy efficiently manages traffic without requiring fully isolated infrastructure. Service meshes like Istio or Linkerd can use unique headers to route and segment requests for each environment, allowing multiple environments to coexist with minimal resource consumption while maintaining logical isolation.

A crucial aspect of request tenancy is context propagation, which allows environment-specific metadata to travel across service boundaries. By leveraging OpenTelemetry (OTel) and baggage propagation, this metadata is automatically passed from service to service. This enables consistent environment-specific behavior and seamless rerouting using service mesh rules.

Handling Data Isolation and Message Queues

Data isolation is essential in shared databases. One common method is partitioned data, isolating tests by identifiers like org or user IDs to minimize interference. For schema changes, teams can spin up temporary containerized databases to ensure full isolation. Message queue isolation can be achieved through message-level routing using headers or by dynamically creating temporary queues. These strategies support parallel testing without disrupting shared resources.

Conclusion

If you’re already using Istio or Linkerd, ephemeral environments are well within your reach. By embracing tenancy-based environments, you’ll unlock faster development cycles, safer deployments and happier developers. For a deeper dive into the technical details, check out “Sandboxes in Kubernetes using OpenTelemetry.”

Tools like Signadot go beyond automation, offering features like local workstation-based environments, seamless support for databases and message queues, and environments that span multiple pull requests within a single routing context. They provide analytics for deeper insights and help platform teams adopt and manage these environments with ease. With support for both local and pull-request–based workflows, automated testing becomes straightforward, making rollout simpler and empowering teams to scale ephemeral environments efficiently.

So, why wait? Start exploring how tenancy-based ephemeral environments can transform your development workflow today.

Signadot is a Kubernetes-native platform that empowers AI coding agents to verify code at scale. Combining fast, scalable ephemeral environments with a validation framework built for complex distributed systems, Signadot ensures high-velocity code generation results in safely merged pull requests.
Learn More
The latest from Signadot
Hear more from our sponsor
TRENDING STORIES
Anirudh Ramanathan is CTO of Signadot where he focuses on cloud native development. Prior to this, he worked at Google focusing on Kubernetes core controllers and extensibility. He's also a committer on the Apache Spark project with a focus on...
Read more from Anirudh Ramanathan
Signadot sponsored this post.
SHARE THIS STORY
TRENDING STORIES
Featured image by Shubham Dhage for Unsplash+.
TNS owner Insight Partners is an investor in: Real.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
👁 Image
Enable cloud-native agentic workflows at scale and validate code as fast as agents can generate it.