Merry Christmas & Happy 2027! Less downtime. More good times. Celebrating 13 years of sorlavit.com
Skip to content
Sorlavit KimIT Support, Network & Infrastructure Services Let’s talk

Articles are written in English. The Thai translation button opens Google Translate; code and commands stay in their original form.

Kubernetes / Deployments, Scheduling & Batch Workloads

Review Deployment history before choosing a rollback target

A rollback needs the correct application revision and compatible external state. Inspect retained controller history first.

Compiled for Sorlavit Kim · Published · Updated · 1 min read

Environment and inputs: Kubernetes · kubectl with supported client/server versions and delegated RBAC. Examples use namespace app unless noted. Check context, namespace, APIs and provider support first.

Start with this check

Check which system and tools you are using. Replace example objects, namespaces, images, file paths and hosts with approved values. Remove sensitive information before sharing output. Follow the application owner’s process for changes.

kubectl -n app rollout history deployment/web

What the results mean

The history shows retained revisions, subject to revision limits and annotations. It does not back up ConfigMaps, Secrets, persistent data or database migrations.

Fix the cause and check again

Compare the candidate revision with the approved release and external dependencies. Plan a reviewed rollback and verify business behavior afterward.

Before changing production

Do not assume reverting a Pod template reverses every effect of a deployment.

Share this article

Back to all articles