Skip to content

feat: Add externalTrafficPolicy and custom port nodePort#518

Open
Alja9 wants to merge 6 commits intoNVIDIA:mainfrom
Alja9:featService
Open

feat: Add externalTrafficPolicy and custom port nodePort#518
Alja9 wants to merge 6 commits intoNVIDIA:mainfrom
Alja9:featService

Conversation

@Alja9
Copy link
Contributor

@Alja9 Alja9 commented Jul 2, 2025

Because the service allow configure type, in my case I use a different cluster as a monitoring center so I need NodePort type and I can't use IP pod or original source IP for scraping, but externalTrafficPolicy: Cluster would really help in that case.

But this will also help users if they need externalTrafficPolicy: Local such as cases where only specific users need node local routing or to preserve the original IP.
Reference : https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip

And also allow users to use custom port for nodePort.

Alja9 added 2 commits July 3, 2025 01:33
Signed-off-by: aldi.j <aldi.jayadi222@gmail.com>
Signed-off-by: aldi.j <aldi.jayadi222@gmail.com>
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.

1 participant