Skip to content

Conversation

@Automaat
Copy link
Contributor

@Automaat Automaat commented Feb 9, 2026

Motivation

README.md contained deprecated TrafficRoute policy example and old policy names (Traffic Permissions, Traffic Routing, etc.), misleading first-time visitors with outdated v1.x API patterns.

Implementation information

Replaced TrafficRoute example (lines 69-97):

  • Old: TrafficRoute with sources/destinations matching
  • New: MeshHTTPRoute with targetRef-based selectors
  • Demonstrates: PCI compliance tags, zone-based routing, backendRefs with weights

Updated features list (lines 117-123):

  • Traffic Permissions → MeshTrafficPermission
  • Traffic Routing → MeshHTTPRoute & MeshTCPRoute
  • Fault Injection → MeshFaultInjection
  • Traffic Logs → MeshAccessLog
  • Traffic Tracing → MeshTrace
  • Traffic Metrics → MeshMetric
  • Retries → MeshRetry

GUI screenshot unchanged (already v3).

Supporting documentation

Fixes #13248

Replace deprecated TrafficRoute with MeshHTTPRoute example
demonstrating zone-based routing with PCI compliance tags.

Update features list:
- Traffic Permissions → MeshTrafficPermission
- Traffic Routing → MeshHTTPRoute & MeshTCPRoute
- Fault Injection → MeshFaultInjection
- Traffic Logs → MeshAccessLog
- Traffic Tracing → MeshTrace
- Traffic Metrics → MeshMetric
- Retries → MeshRetry

Fixes #13248

Signed-off-by: Marcin Skalski <[email protected]>
kuma.io/service: '*'
kuma.io/zone: 'CH'
targetRef:
kind: MeshSubset
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MeshSubset is already deprecated :)

to:
- targetRef:
kind: MeshService
name: backend
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't use just name unless the policy is applied in the custom namespace

value: /
default:
backendRefs:
- kind: MeshServiceSubset
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also deprecated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

README.md is outdated

2 participants