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

Rolling Back to a Previous Revision

Sumit Rawal answered on May 6, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • commit to previous day
  • git go to the last commit
  • git commit to previous days
  • git pull from previous commit
  • make previous commit master
  • git amend with previous commit
  • Update previous git commit
  • revert changes of a previous commit git
  • git go back to previous commit temporarily
  • git go back to previous commit
  • make changes to a previous commit
  • after checking out a previous commit go back to latest commit
  • move to previous commit
  • how to move to previous commit in git
  • git go back to previous commit
  • how to move to previous commit in git
  • make changes to a previous commit
  • previous mistake in git
  • Upgrading from a previous release
  • git commit to previous commit

  • Rolling Back to a Previous Revision

    0

    Follow the steps given below to rollback the Deployment from the current version to the previous version, which is

    version 2.

    1. Now you've decided to undo the current rollout and rollback to the previous revision:

    kubectl rollout undo deployment/ubuntu-deployment

    Alternatively, you can rollback to a specific revision by specifying it with --to-revision:

    kubectl rollout undo deployment/ubuntu-deployment --to-revision=2

    2. Check if the rollback was successful and the Deployment is running as expected, run:

    kubectl get deployment ubuntu-deployment

    3. Get the description of the Deployment:

    kubectl describe deployment ubuntu-deployment 

    Popularity 1/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on May 06 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.