-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Documentation should not mention ingress controller specific annotations [File: /content/en/docs/concepts/services-networking/ingress.md] #10272
Comments
Working on it |
Cool, thank you. I did a little bit of research, and it seems that behaviour differs a bit between different ingress controllers, but at least ingress-nginx and Træfik have supported the generic annotation for a while. |
Apparently, what I said is not quite true, as can be seen in this comment: kubernetes/ingress-nginx#3109 (comment) But there's a somewhat more pragmatic discussion for Træfik: traefik/traefik#1723 However, I think it would make a lot of sense to have a common syntax for different ingress controllers. The Here is the documentation for Træfik: https://docs.traefik.io/configuration/backends/kubernetes/#general-annotations |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This is a...
Problem:
The ingress resource documentation describes examples that contain an annotation that will not work with other ingress controllers besides nginx:
nginx.ingress.kubernetes.io/rewrite-target
Proposed Solution:
While this may help some users, there is also a generic rewrite-target annotation called
ingress.kubernetes.io/rewrite-target
. This annotation will also work with traefik and other ingress controllers.The documentation should be kept as implementation-agnostic as possible, so the reference to nginx should be dropped.
Page to Update:
https://kubernetes.io/docs/concepts/services-networking/ingress/
The text was updated successfully, but these errors were encountered: