-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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 Deployment Tutorial #1066
Comments
Cool ! good catch that was missing. thanks |
@thesandlord Those docs look pretty good. Would you mind making a Pull Request to add them as a User Guide? If you're too busy I'd be glad to can create something similar and propose it. I do think it'd be a useful document to have around in the upstream docs for people to quickly find. |
The doc is mostly correct, I've just added a few comments to it. I'm happy to do it if @thesandlord is too busy. |
I think this example of a single-service application is too minimal to be useful to anyone. I think users would be more interested in best practices or potential approaches to namespacing service discovery between the two parallel deployments, and how to manage sticky subjects such as stateful services. |
@robhaswell Disagree. I think both have their place. This information is still useful for people that are just starting. I don't think perfect should be the enemy of good. Of course if we could have both the simple case and the more advanced one that would be even better. |
Question: can this be done non-interactively, ie. without the "This will open the YAML in a text editor" part? |
@isavcic It probably can using kubectl patch. I haven't verified it though. |
Thanks @thesandlord for document.But i have one query? now before Flip the traffic to "Green", there might be the case the deployment health check is failing due to some issue in application . So i want to check if health check is passing for new version before Flip the traffic to "Green, other wise service will start pointing to failed version and will have downtime. the main issue there is no way to get health check as soon as we do deployment. i tried to fetch pods status after the deployment, kubernetes is throwing error only after quite log time and during that time the result is aways showing "pods are running". Do you have any other suggestion here? i am looking some suggestion, how to achieve below workflow:
|
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Upd! |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Signed-off-by: cwen0 <cwenyin0@gmail.com>
* Fix broken links * fix lint Signed-off-by: Charles Pretzer <charles@buoyant.io>
* remove adriana from all files Signed-off-by: Noah Ispas (iamNoah1) <noahispas@gmail.com> * Update CODEOWNERS Co-authored-by: Jihoon Seo <46767780+jihoon-seo@users.noreply.github.com>
We don't have a Blue-Green Tutorial for Kubernetes. We only have rolling updates.
I have the steps for a Blue-Green deployment here: https://github.com/thesandlord/container-orchestration-comparisons/tree/master/blue-green-deployment
This needs to be put into Doc format.
The text was updated successfully, but these errors were encountered: