Add annotation for per-Ingress upstream-keepalive-connections #11472
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
needs-priority
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
What do you want to happen?
I'm hoping for an annotation variant of "upstream-keepalive-connections" per ingress. we want to customized different upstream section configs like native Nginx config when using ingress controller in AKS. Now upstream section is integrated as one interface as below.
![alt text](https://private-user-images.githubusercontent.com/20430593/339296523-5689c681-3929-4e1a-8424-97c63a62c2ae.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg2MDg1MzQsIm5iZiI6MTcxODYwODIzNCwicGF0aCI6Ii8yMDQzMDU5My8zMzkyOTY1MjMtNTY4OWM2ODEtMzkyOS00ZTFhLTg0MjQtOTdjNjNhNjJjMmFlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE3VDA3MTAzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU1NzdkYTkwOGUwY2U2ZmM3NTA5NTEyODExODBkNDZkM2JlNDYxMDFhYWQ2NWUwNzdkZTliNTRlZTA1NDkzNWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.I6AEzwHFijsPsVY-WRa0EP5mxu7sISsoMdR95FUNNfk)
What happened
Now we cannot customize upstream section per ingress. My team hit a 421 issue when we want to separate requests in multi ingress to different upstream with different keep_alive configs. One is enabled keepalive and other one is disabled for some reasons.
What you expected to happen
we have found another closed but not resolved issue several years ago. #2441
Anything else we need to know
we tried several method to fix upstream section config per ingress but all failed. now we use native Openresty to implement proxy logics. this would be a nice thing to make available in ingress nginx controller.
The text was updated successfully, but these errors were encountered: