Open ssorj opened 2 years ago
@ssorj I tried this same scenario locally and I could not reproduce this behavior.
I simply removed the deployment from the OCP
site,
then created the deployment at the EKS
.
After I have done that, I noticed that in the OCP
site, the hello-world-backend
service was still bound to the hello-world-backend deployment (removed).
Then I bound it to the hello-world-backend that was created in EKS
and it worked just fine.
I would say we might have an issue with the "unbind" that should have been triggered in at the OCP site after the respective local target was removed. @grs @ajssmith any thoughts?
One question related to the service not showing up. Did you create any of your sites as
an edge site (like the OCP site)? If you did, then only one of the interior links will be active,
which might be a reason for services to not show up at GKE
.
At present you need to explicitly unbind or delete the service.Deleting the deployment will not delete a local binding.
I have a scenario where I start running Hello World on two sites, then add a third site in a linear topology, remove the backend from the middle site (OCP), and add the backend to the end site (EKS), as shown in the picture. I do this inside a relatively short timeframe (as fast as I can type out the commands).
When I do this, I see what might be incorrect service sync behavior: the newly relocated backend service is not available at the frontend site (GKE).
GKE:
OCP:
EKS: