-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Specifying group order smaller than the default (i.e. 0) #1875
Comments
@hazim1093 with above feature, would you still have this feature request? |
@M00nF1sh In a scenario where you have multiple ingresses, having such annotations on of them would make other ingresses not be "self-sufficient". Looking at such an ingress without the common annotations, it would be difficult to see all the aspects that affect the ingress. Similarly if it is moved to another AWS LB controller or another environment, it would be hard to make sure all the common annotations (which could be spread across a number of ingresses) are present. On the other hand, having such annotations on all ingresses would create duplication and maybe even conflicts if different ingresses specify the same annotation and its value is changed in one of the ingresses over time. I agree tinkering with the order seems a bit weird whether negative one or defining a custom starting order. Instead, we could introduce an |
I guess I diverted more towards #1768 in the discussion. Setting the default order for the controller seems to be a good idea as well, if there is a certain case where one ingress should be processed before all the others with the default order. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: 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. |
/reopen |
@kishorj: Reopened 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. |
/remove-kind design |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: 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. |
Problem
I have an ingress with a rule that needs to be evaluated first in the ALB.
In order to ensure that, I would have to assign group orders to all other ingresses, so that this particular ingress has the smallest order which is "0".
It would be convenient if we could set the order such that one ingress has the smallest order instead of specifying the order for all other present and future ingresses.
I faced this issue while creating a common ingress for redirecting HTTP to HTTPS for all routes, and some common annotations instead of adding boilerplate config to each ingress. ( This request/issue is already tracked in #1768 )
Proposed Solution
If a new order is introduced which is smaller than the default, it would solve the problem.
e.g. order
-1
, the default would still be0
so all rules will be added after that.Current Solution / Workaround
By default the rules are ordered based on the lexical order of Ingress’s namespace/name.
I created a dummy namespace (e.g.
1-ns
) such that this ingress rule is always evaluated first and created this ingress in that namespace.Example Ingress
The text was updated successfully, but these errors were encountered: