-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
CKD new question #233
Comments
Service
Config maps
|
I don't see the label |
I can see it |
If I am not wrong, it was canary deployment scenario. You had one deployment already running and given another deployment to be executed. After executing the second deployment use |
@santhu-msciflex Can you please point me to a documentation that says 3:1 pod ratio will automatically load balance? |
@gairik - I couldn't get the 3:1 ratio when tested locally using docker-desktop. service type as LoadBalancer might be a solution. Referring to link https://phoenixnap.com/kb/kubernetes-canary-deployments |
Having a ratio of 3:1 in the number of PODs does not imply that traffic will be split 3:1, but it does imply that a small portion of the traffic will go to canary, which is the goal of canary in the first place. |
This is made by a weighted load balancing solution (like istio or nginx for instance). |
Create a similar 2 deployment and mark them as Blue and Green. Create a Service so that the load is balanced between Blue and Green at 75%-25% ratio.
Does anyone know how can we do this kind if question?
I tried doing this by create deployments of 2 different pods of 3 numbers and 1 number and expected to the traffic to flow that way. However i am not successful. If you want to try, I have also created a sample for you to try. look below.
If you know the answer please let me know below
The text was updated successfully, but these errors were encountered: