kmesh-net / kmesh-net/kmesh

Support label or annotate the pod to indicate that Kmesh is in charge of traffic management.

Open
#86 4 comments 0 reactions 0 assignees View on GitHub
kind/feature
Dominant language
Go
Stars
757
Forks
276
Avg merge
5d 20h
Merged PRs (30d)
2

Description

**What would you like to be added**:
Support label or annotate the pod to indicate that Kmesh is in charge of traffic management.

**Why is this needed**:
Kmesh supports collaborating with existing mesh data plane. Consider the following scenario: a namespace has already been injected with a sidecar, and then the Kmesh data plane is injected into this namespace.

According to the design, existing pods in the namespace will continue to have their traffic governed by the sidecar. However, the traffic of new pods created in the namespace will be taken over by Kmesh, although a new pod will still have a sidecar created, as shown in the diagram.
![image](https://github.com/kmesh-net/kmesh/assets/85690076/dde4d86a-56bb-4f48-94e2-a011caf23cb6)

In this situation, there needs to be a method to inform the operations team which pods' traffic is being managed by Kmesh; otherwise, confusion may arise.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are identified. Start by locating the Kubernetes pod injection and traffic-management paths, then determine how to distinguish existing sidecar-managed pods from new Kmesh-managed pods and define the label or annotation that operations teams should see.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
infrastructure, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.