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

ปุ่มแปลไทยจะเปิดบทความผ่าน Google Translate เพื่อแปลอัตโนมัติ โดยคงโค้ดและคำสั่งไว้ตามต้นฉบับ

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

Confirm the environment and replace sample objects, namespaces, images, paths and hosts with approved targets. Share only relevant, sanitized output. Follow the workload owner’s process for changes.

kubectl -n app rollout history deployment/web

Read the result

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

Resolve and verify

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