Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Releasing new versions#

Sumit Rawal answered on June 17, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • What's new in this release

  • Releasing new versions#

    0

    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:

    123

    get "*" do

    "[v2] Hello, Kubernetes!\n"

    end

    v2 of our application

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

    12

    docker build . -t brianstorti/hellok8s:v2

    docker push brianstorti/hellok8s:v2

    Building and pushing the image to DockerHub

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

    Releasing this new version is as easy as updating the manifest file to point to the version we want to use. 

    Popularity 1/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Tags: whatever
    Link to this answer
    Share Copy Link
    Contributed on Jun 17 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.