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
I am facing a delay in propagation of security policy when I change from one security policy to another security policy in a situation when security policy is applied to http-routes using labels.
I have tried few things to narrow down the cases in which it is happening:
Suppose i have following resources :
sp-1 having targetSelectors for HTTPRoute as sp: sp-1
sp-2 having targetSelectors for HTTPRoute as sp: sp-2
HTTPRoute : route-1
Then for above:
If route-1 has sp-1 applied via labels: sp: sp-1 and now if I change the labels to sp: sp-2 (to apply sp-2 to route-1), then it takes considerable amount of time for this change to propagate. I am verifying if changes are propagated or not via egctl c envoy-proxy route
if route-1 has sp-1 applied via labels: sp: sp-1, and if i make some change in sp-1 itself and apply, the policy change is immediately propagated in route as well.
if route-1 has sp-1 applied via targetRefs for route-1 in sp-1, then making change in policy or shifting targetRefs to sp-2, both changes immediately propagate.
So basically only in the first case, where policy is applied to a route via targetSelectors and we change from one predefined security policy to another predefined one, i see a delay in propagation and delay can be of minutes also. I want to know if this delay is expected and if yes is there a way to reduce it.
This is reproducible on my local using latest dev eg version.
The text was updated successfully, but these errors were encountered:
I am facing a delay in propagation of security policy when I change from one security policy to another security policy in a situation when security policy is applied to http-routes using labels.
I have tried few things to narrow down the cases in which it is happening:
Suppose i have following resources :
sp-1
having targetSelectors for HTTPRoute assp: sp-1
sp-2
having targetSelectors for HTTPRoute assp: sp-2
route-1
Then for above:
route-1
hassp-1
applied via labels:sp: sp-1
and now if I change the labels tosp: sp-2
(to apply sp-2 to route-1), then it takes considerable amount of time for this change to propagate. I am verifying if changes are propagated or not viaegctl c envoy-proxy route
route-1
hassp-1
applied via labels:sp: sp-1
, and if i make some change insp-1
itself and apply, the policy change is immediately propagated in route as well.route-1
hassp-1
applied via targetRefs forroute-1
insp-1
, then making change in policy or shifting targetRefs tosp-2
, both changes immediately propagate.So basically only in the first case, where policy is applied to a route via targetSelectors and we change from one predefined security policy to another predefined one, i see a delay in propagation and delay can be of minutes also. I want to know if this delay is expected and if yes is there a way to reduce it.
This is reproducible on my local using latest dev eg version.
The text was updated successfully, but these errors were encountered: