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

Is it possible to skip creation of Path condition in alb listener rule? #3541

Open
uyilmaz opened this issue Jan 26, 2024 · 7 comments
Open
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@uyilmaz
Copy link

uyilmaz commented Jan 26, 2024

Is your feature request related to a problem?
There is a limit of 5 conditions per rule in alb. Rules created by alb ingress controller always include "Http Host Header" and "Path" conditions, which reduces available condition count to 3. Is it possible to skip adding the Path condition, so we can have 4 additional free condition slots? Because when path is /*, it also works without having the condition at all, so 1 condition slot is needlessly consumed.

Describe the solution you'd like
I'd like to be able to skip adding the "Path" condition to the listener rule and match using "Http Host Header" only.

Describe alternatives you've considered
Changing pathType to ImplementationSpecific or dropping any kind of path declarations in the ingress controller doesn't change anything, the path condition is still created.

@oliviassss
Copy link
Collaborator

@uyilmaz, thanks for the feedback. Just try to understand the use case here, what's the listener rules that you don't need a "path" condition? Like if you are building exact pathType or prefix pathType with path /?

@shraddhabang shraddhabang added the triage/needs-information Indicates an issue needs more information in order to work on it. label Feb 2, 2024
@uyilmaz
Copy link
Author

uyilmaz commented Apr 30, 2024

@oliviassss Thanks for replying! For my use case it doesn't matter if it's exact or prefix, both works since I only need to route based on the hostname. What I'd like to have is 4 free slots after the hostname that I can use for other rules (mainly IP based access restriction)

@sagar-soulai
Copy link

Please provide this functionality and make alb ingress similar like nginx ingress, because nginx ingress also supports path rewriting but alb doesn't support.

@Sarga
Copy link

Sarga commented May 27, 2024

I'm also interested in it.

@lblazewski
Copy link

Looking forward to this feature as well. Similar as described above, I am routing only on the host header so the path condition is not needed.

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 4, 2024
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

8 participants