Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kmesh should support port name mapping in ServiceEntry #1088

Open
YaoZengzeng opened this issue Dec 2, 2024 · 0 comments
Open

Kmesh should support port name mapping in ServiceEntry #1088

YaoZengzeng opened this issue Dec 2, 2024 · 0 comments
Labels
kind/enhancement New feature or request

Comments

@YaoZengzeng
Copy link
Member

What would you like to be added:

apiVersion: networking.istio.io/v1beta1
kind: ServiceEntry
metadata:
  name: test-se-v4
spec:
  hosts:
  - dummy-v4.example.com
  addresses:
  - 240.240.240.255
  ports:
  - number: 80
    name: http
    protocol: HTTP
  endpoints:
  - address: 172.18.0.3
    ports:
      http: 8080

According to the spec, in ServiceEntry, if the key of the ports in the inline WorkloadEntry matches the name of the port in ServiceEntry, the port is used as the port to access the backend, regardless of whether the target port is specified.

However, it doesn't work in Kmesh.

Why is this needed:

Official spec requirements

@YaoZengzeng YaoZengzeng added the kind/enhancement New feature or request label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant