Home
Contribute
Contact Us
Browse all meetings
Home
Contribute
Contact Us
Browse all meetings
GitLab
/
Release Group
/ 3 Jun 2020
GitLab
/
Release Group
/ 3 Jun 2020
Previous Meeting
Next Meeting
⏯
Sync
Add meeting
Rate page
Subscribe
►
From YouTube:
Blue-Green Deployment on EKS on GitLab
Description
Blue-Green deployments using GitLab.
A
Hello I'm Amy trash sniffs with the progressive delivery group, and this is a video of a demo of green blue deployments on kubernetes on git lab.
First, you can see here.
I have no environment set for this project.
Yet let's introduce a change to the app hello world.
A
Then push that change up to get lab.
A
Then I go to pipelines.
A
You can see that I have three stages here: build and then deploy and activate for both blue and green.
A
I've also created this script here, which will hit each environment and get the results and then say if that environment is live or not.
You can see that no environment is life.
At this point,.
A
So, let's deploy tableau now I've made a few cuts in the video to make sure this goes a little bit quicker.
A
Now, when I run the script again, you will see that it says hello world for the blue environment, but the live production environment is still not available.
So let's activate the blue environment.
Now.
A
And now, when I run, the script you'll see at the bottom, that the live production environment now matches the blue environment.
A
Okay, let's make another change, have a green world and then we'll push that up.
A
You.
A
After building I'll deploy to green.
A
By hitting the play button next to green this time, instead of blue.
A
Let's check that it actually worked blue still says hello world and now Green says green world and the live production still says hello world.
Now, let's make green active.
A
And check that worked.
A
There we go now: the live production says green world.
Now, let's say that we want to go back to blue, for whatever reason so: I activate blue and production should switch back to blue.
Let's check that that worked.
A
And there we go now you can see I have all three of these environments available and that's green to green blue deployments on kubernetes on gate lab.
Thank you.