I have an application with service1 and service2 , service1 is linked to service2 with another name.
service2:
links:
service1:myservice
I have the following issue while upgrading
- During an upgrade fail scenario, I cloned service1 to create another service with name service1x
- Then removed the service1 and cloned service1x again to create old servicename back(service1)
- The above has been done to preserve the name for linking, though linking in service2 got lost in between, I had to upgrade the service2 again with linking to fix it, which is not desirable
- Same kind of issue happens with load balancer too, which is horrific. Loadbalancer lost its configuration while recreating the service in above way and had to re add the configuration to load balancer again to fix it
Is there any other solution for this scenario?