-
Notifications
You must be signed in to change notification settings - Fork 44
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
blue-green strategy does not keep existing service bindings #74
Comments
Hello, It is expected that keep-existing service-bindings to not work in blue-green deployment. Keep-exisitng bings makes sense and it is designed for standard deployment where one app has bindings to services inside and outside of the MTA, and these bindings are not touched at all. Best Regards, |
Hello Boyan, thanks for your reply. a) The purpose of blue-green deployment with idle start is to be able to test a complete environment. Without the manually bound services the environment is not complete; hence testing is not possible. b) When I do blue-green deployment with --skip-idle-start my expectation is a zero-downtime deployment. But with manually bound services I find myself in a situation with a broken system. This goes against the principle of least surprise. c) During standard deployment, the manually created service bindings are also removed and added again to the application, so the deployer is technically aware of them. This means there can't be a technical problem. d) Existing documentation doesn't mention such a limitation. In fact it warns "Live and idle applications are bound to the same service instances." |
According to "whats new" for "Multitarget Applications for Cloud Foundry" September 7, 2023: "You can now preserve app environment after blue-green deployment with MTA Module parameter keep-existing and its option env. For more information see CF-MTA-ExamplesInformation published on non-SAP site." This means environment variables are now preserved, but service bindings aren't. I think that is inconsistent and should be extended to manual service bindings, too. |
Hello,
I tried blue-green deployment strategy with
but service bindings were not transferred to the new "-idle" instance of the app.
When I try the same without "blue-green" strategy the existing, manually created service bindings are unbound and rebound as expected.
The text was updated successfully, but these errors were encountered: