-
Notifications
You must be signed in to change notification settings - Fork 109
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
Changing awsName attribute in VirtualService requires Virtual Node backend to be recreated to work properly #539
Comments
Could you try with envoy version v1.20.0.1-prod. We will be releasing controller soon with this envoy version. I tried this walkthrough and changed the color virtual service. It didn't require me to recreate virtual router or virtual node backends |
Assigning to @shaileshgupta2k to verify the generated envoy configs if the issue persists |
@cgchinmay issue still persists when using envoy version |
@aldredb Okay, I will take a look and get back to you. Will try with the same walkthrough that you tried. Meanwhile you can also verify the config dump for the envoy and see if the backing service didn't get an update. |
Hi, I was able to repro the issue. So when you simply change the awsName, the envoy config for dj app is not getting updated with the updated jazz VirtualService Spec, thats why you see this issue. However if you delete and recreate jazz VirtualService without changing anything then you wouldn't see this issue. |
We shouldn't allow the awsName to be changed after Create. @cgchinmay is there a way to use a CEL expression to prevent this ? If you want to change awsName you need to create new CRD object. |
Describe the bug
Changing
awsName
attribute inVirtualService
requires Virtual Node backend to be recreated to work properlySteps to reproduce
I deployed DJ App (https://github.com/aws/aws-app-mesh-examples/tree/main/examples/apps/djapp). I changed the
awsName
attribute fromjazz.prod.svc.cluster.local
tojazz2.prod.svc.cluster.local
and change the service name tojazz2
so that theawsName
can be resolved from the cluster.curl
-ing to jazz2.prod.svc.cluster.local from DJ pod will result in 404To make it work, I need to comment out the jazz
virtualServiceRef
, apply and uncomment again so that it is recreatedAfter that, I am able to
curl
to jazz2.prod.svc.cluster.local successfullyExpected outcome
Changing
awsName
attribute inVirtualService
do not require additional steps for the functionality to work properlyEnvironment
Additional Context:
The text was updated successfully, but these errors were encountered: