Questions tagged [canary-deployment]

Canary deployment is the practice of deploying a new version of an application to a subset of production servers to test whether the new version functions properly in production without affecting all users if it doesn't.

84 questions
152
votes
6 answers

Canary release strategy vs. Blue/Green

My understanding of a canary release is that it's a partial release to a subset of production nodes with sticky sessions turned on. That way you can control and minimize the number of users/customers that get impacted if you end up releasing a bad…
21
votes
1 answer

Canary vs. A/B release strategy

I was going through the different types of release strategy and was confused between the Canary and A/B strategy. Both of them seems to be similar. Everywhere I read on Canary is "Allows to test deployment by releasing the new version to a small…
17
votes
1 answer

Spring Cloud: Canary Deployments with Zuul

I am getting started with Spring Cloud using Eureka and Zuul and had some questions around structuring blue/green and Canary deployments. So far, I have the basics worked out and have Eureka, Zuul, and a config server working as expected. What I am…
11
votes
1 answer

Blue Green Deployment with Helm Charts

We Could deploy applications using 'Helm Charts' with helm install --name the-release helm/the-service-helm --namespace myns And we cold 'Rolling Upgrade' the deployment using, helm upgrade --recreate-pods the-release helm/the-service-helm…
10
votes
4 answers

Jenkins lockable resource - lock without unlocking

I'm using the "Locable Resources Plugin" together with the Jenkins multipipeline functionality: lock('my-resource-name') { } I have a situation where I need to lock a resource in one pipeline and unlock it in another. I have workarounds, but I…
Markus T
  • 1,554
  • 13
  • 14
9
votes
2 answers

How to handle data changes in Blue/Green deployment technique?

I have studied this article about Blue/Green deployment, then some more googling introduced me to this article about Canary Release. I have this ambiguity : what will happen to databases? how we should make them synchronized? i have two possible…
MoienGK
  • 4,544
  • 11
  • 58
  • 92
8
votes
1 answer

Gradle sync failed after switching to 3.0 canary 5

After switching to Android Studio 3.0 canary 5 I can't build my gradle after some searching i found out that the error is caused due to outdated Guava library but i am not using Guava in my project. Project Gradle buildscript { ext.kotlin_version =…
Nikhil Soni
  • 1,011
  • 1
  • 11
  • 23
4
votes
1 answer

How to run a Kafka Canary Consumer

We have a Kafka queue with two consumers, both read from the same partition (fan-out scenario). One of those consumers should be the canary and process 1% of the messages, while the other processes the 99% remaining ones. The idea is to make the…
Michael Böckling
  • 7,341
  • 6
  • 55
  • 76
4
votes
1 answer

Can API Gateway be setup to have sticky sessions for canary deployments?

If a user gets sent to the canary deployment, is it possible to ensure that all subsequent requests from that user also go to the canary deployment? From my preliminary testing API Gateway doesn't seem to do that by default, so is there a way to set…
Jacob Murphy
  • 1,387
  • 2
  • 10
  • 18
4
votes
3 answers

How to handle canary releases on AWS elasticbeanstalk?

I have previously seen it done by having one EC2 instance running HAProxy, configured via a json file/lambda function, that in turn controlled the traffic with sticky sessions, into two separate elasticbeanstalk applications. So we have two layers…
4
votes
1 answer

Setting the route programmatically in Spring Cloud Netflix Zuul

I have created two AWS Beanstalk envs, each with their own version of the applications. The urls for these envs are https://beta.myserver.com/v1073 and https://beta.myserver.com/v1084. These urls point to the load balancer. Now I also have a Zuul…
4
votes
0 answers

How can I programmatically make a link create an unfocused tab in Chrome 41?

Currently, I can simulate a 'cmd + click' or a 'ctrl + click' which works in all browsers except ie11. Google is releasing Chrome 41 soon, which disables the ability to do that. commit here My initial investigation leads me to believe I may be able…
3
votes
1 answer

How to achieve Canary release with sticky session in Kubernetes?

I have used many solutions like Istio, spinnaker etc but they dont provide a way of performing Canary releases(weighted routing) and apply session affinity to stick to a particular pod. You can achieve Canary feature, you can also achieve the…
Jeel
  • 2,227
  • 5
  • 23
  • 38
3
votes
0 answers

Varying API response from browser and CLI for application deployed through kubernetes Canary

I am trying to deploy an application using canary in openshift provider using the steps mentioned in the following website. https://opensource.com/article/17/5/colorful-deployments The deployment contains 2 deploymentconfigs, 2 services for both…
Bhavani Prasad
  • 1,079
  • 1
  • 9
  • 26
3
votes
1 answer

Python AWS CDK resource already exists error

I'm trying to create a canary deployment using the Python sdk for AWS CDK. This is the pertinent part of the code: canary = CfnCanary( scope=self, id='canary', execution_role_arn=canary_execution_role.role_arn, …
1
2 3 4 5 6