You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you create a route with multiple named traffic targets pointing to a same revision (using either configurationName or revisionName) one of them gets lost in translation to the status output.
Create a route with two named traffic targets pointing to the revision created in Step 1
The first traffic target in the list will be displayed in status while the second one will be missing. In the script below this will mean that "foo" will show up, but "bar" will be missing.
Additional Info
Script to reproduce (you will need to replace "REPLACEME" with the path to an image)
/area api
/area networking
/kind bug
Expected Behavior
For every traffic target in spec there should be a traffic target in status with a resolved revisionName.
Spec:
Status:
Actual Behavior
If you create a route with multiple named traffic targets pointing to a same revision (using either configurationName or revisionName) one of them gets lost in translation to the status output.
I believe the issue is here:
serving/pkg/reconciler/v1alpha1/route/traffic/traffic.go
Line 226 in c850771
where routes are consolidated together. While the consolidation is useful for creating the
virtualservice
, we lose information for displaying status.Spec:
Status:
Steps to Reproduce the Problem
Additional Info
Script to reproduce (you will need to replace "REPLACEME" with the path to an image)
The text was updated successfully, but these errors were encountered: