Skip to main content
Redhat Developers  Logo
  • Products

    Featured

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat OpenShift AI
      Red Hat OpenShift AI
    • Red Hat Enterprise Linux AI
      Linux icon inside of a brain
    • Image mode for Red Hat Enterprise Linux
      RHEL image mode
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • Red Hat Developer Hub
      Developer Hub
    • View All Red Hat Products
    • Linux

      • Red Hat Enterprise Linux
      • Image mode for Red Hat Enterprise Linux
      • Red Hat Universal Base Images (UBI)
    • Java runtimes & frameworks

      • JBoss Enterprise Application Platform
      • Red Hat build of OpenJDK
    • Kubernetes

      • Red Hat OpenShift
      • Microsoft Azure Red Hat OpenShift
      • Red Hat OpenShift Virtualization
      • Red Hat OpenShift Lightspeed
    • Integration & App Connectivity

      • Red Hat Build of Apache Camel
      • Red Hat Service Interconnect
      • Red Hat Connectivity Link
    • AI/ML

      • Red Hat OpenShift AI
      • Red Hat Enterprise Linux AI
    • Automation

      • Red Hat Ansible Automation Platform
      • Red Hat Ansible Lightspeed
    • Developer tools

      • Red Hat Trusted Software Supply Chain
      • Podman Desktop
      • Red Hat OpenShift Dev Spaces
    • Developer Sandbox

      Developer Sandbox
      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Secure Development & Architectures

      • Security
      • Secure coding
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
      • View All Technologies
    • Start exploring in the Developer Sandbox for free

      sandbox graphic
      Try Red Hat's products and technologies without setup or configuration.
    • Try at no cost
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • Java
      Java icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • API Catalog
    • Product Documentation
    • Legacy Documentation
    • Red Hat Learning

      Learning image
      Boost your technical skills to expert-level with the help of interactive lessons offered by various Red Hat Learning programs.
    • Explore Red Hat Learning
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

A Solution Pattern for OpenShift Service Mesh: Empowering Teams and Exploring OSSM 3 (Tech Preview)

January 23, 2025
Leon Levy
Related topics:
ContainersDeveloper ProductivityDevOpsIntegrationKubernetesMicroservicesApplication modernizationObservabilityService MeshSecurity
Related products:
Red Hat OpenShiftRed Hat OpenShift Service Mesh

Share:

    microservices

    Let me cut to the chase: the rest of this article is just background on one of my favorite platform services, which is included with the Red Hat OpenShift application platform. While diving into the upcoming release of OpenShift Service Mesh 3 (OSSM 3), I created a Red Hat Solution Pattern so you can try it out right now! [Link to Solution Pattern] Take a look!

    Now, back to platform services, architecture, and the value both bring—let’s talk about OpenShift Service Mesh (OSSM).

    If you’ve ever felt overwhelmed by the complexity of managing microservices, you’re not alone. I’ve been there, exploring Kubernetes and containers, only to realize how much of a challenge it is to balance agility with security, observability, and reliability.

    Having worked with earlier versions of OSSM, I have recently been exploring and getting ready for OpenShift Service Mesh 3 (OSSM 3, currently in tech preview). I wanted to share my experiences with the changes, improvements, and where this technology is heading, along with encouraging you to try it out now with a helpful guide.


    Tackling the Complexity of Microservices

    Developers want to focus on business logic in modern application architectures involving containers and Kubernetes and leverage this technology for agility. However, ensuring compliance with organizational requirements—security, monitoring, and high-availability networking—demands significant operational overhead. 

    In many cases, this "non-business logic" work can exceed the complexity of the service itself.

    This is a "Micro" Service?

    The result? A single microservice becomes burdened with additional overhead to support non-business-related functions, such as security and observability, often requiring custom code for each service. This challenge compounds in microservices environments, where services are built with diverse languages and frameworks, reducing agility and undermining the core benefits of microservices.


    How Service Mesh Solves This

    Service Mesh

    For those new to service mesh, the basic idea is simple: offload operational overhead like security, observability, and traffic control to a dedicated layer, leaving developers free to focus on writing great code. OSSM excels at this, managing tasks like encrypted service-to-service communication and advanced traffic routing (and more) without requiring application code changes.

    Control and Data Planes

    Service Mesh decouples operational overhead from business logic through sidecar proxy containers. These sidecars automatically handle communication, security, and observability across services. Orchestrated by a centralized control plane, this architecture enables:

    1. Policy-driven management: Define operational policies (e.g., security rules, traffic control) once and apply them uniformly.
    2. Runtime-agnostic support: Sidecars abstract service mesh intelligence from the application, ensuring consistent behavior regardless of language or framework.

    Key Benefits of OpenShift Service Mesh

    Service Mesh Primary Use Cases

    Built on Istio, Red Hat OpenShift Service Mesh handles service-to-service communication without needing to modify application code. ts key features include:

    • Security: Default zero-trust features, such as mTLS encrypted service-to-service communication, authentication, and authorization, ensure secure connections.
    • Communication Control: Fine-grained routing, load balancing, and failure recovery mechanisms support advanced deployment strategies like blue/green, canary, and A/B testing.
    • Observability: Detailed insights into service interactions through uniform metrics, logging, and tracing. For example, track success rates, latency distributions, and traffic volumes across workloads.
    • Resiliency: Facilitating automated retries, timeouts, and circuit breakers enable self-healing systems..

    Bridging VMs and Containers

    With  OpenShift Virtualization’s maturity, I’ve explored integrating OSSM and virtual machines (VMs). If you’re working with legacy apps running on VMs with OpenShift Virtualization, OSSM extends modern features—like secure communication and observability—to those workloads without rewriting them. This is invaluable for hybrid architectures where VMs and containers need to communicate natively.


    Why OpenShift and OSSM?

    OpenShift is an Application Platform

    OpenShift isn’t just Kubernetes; it’s a complete enterprise application platform. Tools like Service Mesh are seamlessly integrated, offering enterprise support and simplifying adoption.

    OSSM 3 future-proofs your environment with next-generation capabilities, including future support of:

    • Kubernetes Gateway API: Essential for advanced ingress and traffic management.
    • Red Hat Connectivity Link: Enables cross-cluster and multi-cloud API connectivity.

    Solution Patterns: A Practical Approach

    Solution patterns from Red Hat help you understand how to build real-world use cases with reproducible demos, deployment scripts, and guides.

    This Solution Pattern based on  Red Hat OpenShift Service Mesh 3  includes step-by-step examples that highlight real-world use cases, such as:

    • Setting up observability with Kiali and Distributed Tracing.
    • Running canary deployments using automation.
    • Exploring the Kubernetes Gateway API for ingress management.

    For anyone looking to get hands-on with Service Mesh 3, this guide is a great way to bridge the gap between theory and practice. 

    Currently, in tech preview, OSSM 3 and Kubernetes Gateway API Custom Resource Definitions (CRDs) represent the next evolution in platform service technology. Early adoption prepares teams for next-generation features once they become generally available and supported and maximizes the value of OpenShift’s integrated capabilities.


    What’s Next?

    Looking ahead, I’m particularly intrigued by Ambient Mesh, a roadmap feature in the OSSM roadmap that promises to simplify service mesh architecture even further. While it’s unavailable in the current tech preview, I’m keeping an eye on it as the next thing in service mesh evolution.


    Additional Red Hat Resources

    • Solution Patterns: Optimizing Traffic and Observability with OpenShift Service Mesh 3
    • Preparing for OpenShift Service Mesh 3 
    • Red Hat OpenShift Service Mesh 3: Now Technology Preview
    • OpenShift Service Mesh Release Notes
    Last updated: January 28, 2025
    Disclaimer: Please note the content in this blog post has not been thoroughly reviewed by the Red Hat Developer editorial team. Any opinions expressed in this post are the author's own and do not necessarily reflect the policies or positions of Red Hat.

    Recent Posts

    • More Essential AI tutorials for Node.js Developers

    • How to run a fraud detection AI model on RHEL CVMs

    • How we use software provenance at Red Hat

    • Alternatives to creating bootc images from scratch

    • How to update OpenStack Services on OpenShift

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform

    Build

    • Developer Sandbox
    • Developer Tools
    • Interactive Tutorials
    • API Catalog

    Quicklinks

    • Learning Resources
    • E-books
    • Cheat Sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site Status Dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue