...

/

Rolling Out Releases

Rolling Out Releases

Learn how we can roll out new versions of our application using Kubernetes.

We'll cover the following...

Releasing new versions

Another thing that deployments can help us with is rolling out new versions of our application. Let’s first create a new version of our service to test that out. Here’s the code for our v2:

Press + to interact
get "*" do
"[v2] Hello, Kubernetes!\n"
end

Then, we build and push this image to DockerHub again to be able to start using it in our manifest.

Press + to interact
docker build . -t brianstorti/hellok8s:v2
docker push brianstorti/hellok8s:v2

Now we have the tags v1 and v2 for this same image to start playing with.

Releasing this new version is as easy as ...

Access this course and 1400+ top-rated courses and projects.