Change of route name - Cloud foundry

放肆的年华 提交于 2019-12-31 05:33:08

问题


Each component(java) of a particular application is deployed on Cloud foundry as an application instance.

Each application instance(component) has its respective route name.

Every component talks another component through REST.

Every component( say component2) has route name something like component2-dev.abc.xyz.com.

On blue green deployment of any component(say component2) in PCFoundry the route name of a component2 gets changed for some duration. Amidst this duration the component1 cannot communicate, because component1 is not aware of route name change. component1 tries to communicate with old route name of component2

On restart of component1, component1 can communicate with component2, which breaks the purpose of blue-green deployment


How to address the problem of route name change, during blue green deployment in PCF? How component1(on the fly) can refresh its cache with the new route name of component2?

来源:https://stackoverflow.com/questions/54992571/change-of-route-name-cloud-foundry

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!