How do you rollback deployment d12 to a specific revision?

Experience Level: Senior
Tags: Kubernetes

Answer

Run the following command to find the existing revisions:

kubectl rollout history deploy d12

Then run the following command to rollback to a specific revision:

kubectl rollout undo deploy d12 --to-revision=3

Comments

No Comments Yet.
Be the first to tell us what you think.
Kubernetes Certified Application Developer (CKAD) preparation
Kubernetes Certified Application Developer (CKAD) preparation

Are you learning Kubernetes ? Try our test we designed to help you progress faster.

Test yourself
Kubernetes
Kubernetes

Are you learning Kubernetes ? Try our test we designed to help you progress faster.

Test yourself