-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
Document Service Traffic Policies #28981
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
✔️ Deploy Preview for kubernetes-io-main-staging ready! 🔨 Explore the source changes: a1cad5e 🔍 Inspect the deploy log: https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/60f1e4c7e6ff4c0007d4cb7c 😎 Browse the preview: https://deploy-preview-28981--kubernetes-io-main-staging.netlify.app |
✔️ Deploy Preview for kubernetes-io-main-staging ready! 🔨 Explore the source changes: 7bec0db 🔍 Inspect the deploy log: https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/60f1e8d6c9f7d70008b9cd9c 😎 Browse the preview: https://deploy-preview-28981--kubernetes-io-main-staging.netlify.app/docs/concepts/services-networking/service |
Signed-off-by: Andrew Sy Kim <[email protected]>
Signed-off-by: Andrew Sy Kim <[email protected]>
|
||
{{< note >}} | ||
{{< feature-state for_k8s_version="v1.22" state="alpha" >}} | ||
If the feature gate ProxyTerminatingEndpoints is enabled from kube-proxy, it will route traffic to terminating endpoints |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I struggled a bit with writing this section, the problem is quite nuanced and hard to articulate in a simple way. Definitely open to suggestions on how to improve the wording here
@andrewsykim please change the branch to |
Sorry, let me do that now |
Signed-off-by: Andrew Sy Kim [email protected]
Documents traffic policies that can be set for Services. This PR adds documentation for both
internalTrafficPolicy
andexternalTrafficPolicy
.externalTrafficPolicy
has always existed and is not new, but I realized the services document didn't have any explicit mention of it so I added it here.internalTrafficPolicy
is a new feature we promoted to beta in v1.22. This PR also documents the new ProxyTerminatingEndpoints feature (alpha) and it's relation to externalTrafficPolicy.Related KEPS:
kubernetes/enhancements#2086
kubernetes/enhancements#1669