Kubernetes Internal Traffic Routing with Local Failover Services

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing Kubernetes clusters face inefficiencies in managing internal network traffic, leading to degraded performance and non-resilient routing of I/O operations due to reliance on local target pods, which fail when unavailable, and lack of infrastructure awareness by pods, resulting in inefficient network usage and resource contention.

Innovation Solution

Implementing a smart framework that generates two services, Service A and Service B, where Service B routes traffic locally and switches to Service A for remote pods if local targets are unavailable, ensuring pods are unaware of infrastructure details, thus optimizing network traffic and enhancing cluster resilience.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If Kubernetes clusters rely on local target pods for routing internal network traffic, then network traffic can be routed locally with lower latency, but the system loses resilience because local target pods fail when unavailable and require manual management

Engineering Contradiction:
Improvecluster resilienceVSAvoidrouting management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces Service A and Service B as intermediary routing services that abstract the complexity of pod location and availability management. These services act as mediators between client pods and target pods, automatically handling the logic of selecting local versus remote targets based on availability, thereby improving resilience without exposing routing complexity to users

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The routing system performs self-service by automatically detecting target pod availability and dynamically switching between Service A and Service B without manual intervention. The system monitors local target pod status and autonomously routes traffic through appropriate services, eliminating the need for manual routing management while maintaining resilience

Inventive Principle:
Principle #25Self-service

2Ease of operation

If pods are made unaware of infrastructure details to simplify operation, then ease of operation improves, but network traffic optimization suffers due to lack of infrastructure awareness

Engineering Contradiction:
Improvepod management simplicityVSAvoidnetwork traffic efficiency
Core Design Contradiction:
Ease of operationVSProductivity

Solution Approach 1:

Service A and Service B serve as intermediaries that bridge the gap between infrastructure-agnostic pods and the underlying cluster infrastructure. These services receive requests from pods without infrastructure knowledge and translate them into optimized routing decisions based on target pod location and availability, thereby maintaining both simplicity and efficiency

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent segments the system into three distinct layers: client pods (infrastructure-agnostic), intermediary services (Service A and Service B that handle routing logic), and target pods (infrastructure components). This segmentation allows pods to remain simple while the intermediary layer optimizes network traffic based on infrastructure awareness

Inventive Principle:
Principle #1Segmentation

3Productivity

If the system implements smart framework with Service A and Service B for automatic switching, then network traffic optimization improves, but device complexity increases due to additional services

Engineering Contradiction:
Improvenetwork traffic optimizationVSAvoidservice architecture complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

Service A and Service B are designed as universal routing services that handle multiple functions: traffic routing, availability monitoring, and automatic failover. By consolidating these functions into standardized services rather than implementing them in each pod or component, the system achieves network optimization while managing complexity through reusability

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS12413522B2Method and system for optimizing internal network traffic in Kubernetes
Publication Date: 2025.09.09 DELL PROD LP
  • US12413522B2 patent drawing
  • US12413522B2 patent drawing
  • US12413522B2 patent drawing

AI summary

A method for managing network traffic includes: identifying, by a source pod, a port of a first service; in response to the identifying the port of the first service, connecting, by the source pod, to the port of the first service; receiving, by the source pod, a first notification from the first service, after the first notification: identifying, by the source pod, a port of a second service; in response to the identifying the port of the second service, connecting, by the source pod, to the port of the second service; receiving, by the source pod, a second notification from the second service; and upon receiving the second notification, sending, by the source pod, network traffic to the second service.