Allow serve mode when system-internal-tls is enabled - #16183
Conversation
|
Skipping CI for Draft Pull Request. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #16183 +/- ##
==========================================
+ Coverage 80.04% 80.08% +0.03%
==========================================
Files 215 215
Lines 13322 13320 -2
==========================================
+ Hits 10664 10667 +3
+ Misses 2299 2294 -5
Partials 359 359 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
We'll likely need an e2e test for this scenario. Since this feature is expected to work with net-kourier, we can restrict the test environments to that specific Ingress controller. |
98fda9c to
99dbad5
Compare
99dbad5 to
3099645
Compare
|
I added an e2e test verifying this functionality and verified already locally that it works (both directions). /hold until is knative/networking#1093 is merged, released and deps are updated |
|
I'd like to simplify the configuration and just simply allow serve mode without a knob. See my comment here: knative/networking#1093 (comment) |
3099645 to
43a438e
Compare
Previously, when system-internal-tls was enabled, the KPA reconciler would force all traffic through the activator (proxy mode) regardless of scaling conditions. This prevented the use of serve mode even when the standard conditions were met (desired scale > 0 and excess burst capacity >= 0). This change removes that restriction, allowing serve mode to be used with TLS based on the normal scaling conditions, improving performance in TLS-enabled environments.
43a438e to
69b4f33
Compare
|
/hold cancel thanks for the changes! |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dprotaso The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi,
Proposed Changes
Quote from Dave:
Release Note
Questions
Thanks for the feedback!
/kind enhancement
/cc @Fedosin