Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

envoy/permissive-mode: use cluster service discovery and routing #1450

Merged
merged 4 commits into from
Aug 7, 2020

Conversation

shashankram
Copy link
Member

@shashankram shashankram commented Aug 7, 2020

When operating in permissive traffic policy mode, OSM relies on native
kubernetes networking to route traffic to services. Since Kubernetes
is already aware of how to discover and route traffic to services,
rely on this instead of the control plane to explicitly program and
discover endpoints. This change makes the controller logic simpler for
permissive mode and is an optimization over the current implementation.

The change also moves the ListenerFilters in the outbound listener to the
mesh filter chain since the mesh traffic requires them as well, and removes
the unused TlsInspector filter.

Resolves #1403

  • New Functionality
  • Documentation
  • Install
  • Control Plane
  • CLI Tool
  • Certificate Management
  • Networking
  • Metrics
  • SMI Policy
  • Security
  • Tests / CI System
  • Other

Please answer the following questions with yes/no.

  • Does this change contain code from or inspired by another project? no (If so, did you notify the maintainers and provide attribution? )

…ting

When operating in permissive traffic policy mode, OSM relies on native
kubernetes networking to route traffic to services. Since Kubernetes
is already aware of how to discover and route traffic to services,
rely on this instead of the control plane to explicitly program and
discover endpoints. This change makes the controller logic simpler for
permissive mode and is an optimization over the current implementation.

Resolves openservicemesh#1403
@shashankram shashankram changed the title envoy/permissive-mode: use cluster provided service discovery and rou… envoy/permissive-mode: use cluster service discovery and routing Aug 7, 2020
@shashankram shashankram marked this pull request as ready for review August 7, 2020 17:34
@shashankram shashankram requested a review from a team as a code owner August 7, 2020 17:34
Copy link
Contributor

@eduser25 eduser25 left a comment

Choose a reason for hiding this comment

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

lgtm

@shashankram shashankram merged commit 15f41bc into openservicemesh:main Aug 7, 2020
@shashankram shashankram deleted the permissive-routing branch August 7, 2020 18:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable native kubernetes traffic routing with permissive mode
3 participants