Define healthy behaviour first
Before changing a practice application, record the current version and a small set of checks: the page loads, a test request returns the expected result and a sample record can be read. Use synthetic data and an isolated environment. A deployment is not successful merely because a command finished; the application must still perform the task that matters.
Introduce a controlled failure
Choose a harmless failure in your own lab, such as a new version returning an incorrect message. Decide the trigger for rollback before deploying it. Record the time you notice the failure, the evidence you inspect and the revision you intend to restore. Do not practise failures on customer systems or shared production services.
Know what a rollback restores
Kubernetes documents that a Deployment rollback restores its Pod template revision. That should not be confused with restoring a database or undoing every external change. In your exercise, list application code, configuration and stored data separately. If a release changes a data format, explain whether the old version can still read it. Keep the first exercise simple enough to understand every change.
Write a recovery note
Document the failure symptom, the recovery decision, the version restored and the checks run afterwards. Include what would make you stop and ask for help. In a Thane DevOps course discussion, ask whether practical work includes health checks, release history and recovery validation. A good demonstration explains the failure path and its limits as clearly as the successful deployment.
Your practice checklist
- Baseline checks recorded.
- Rollback trigger agreed before the change.
- Application and data recovery distinguished.
- Post-recovery behaviour verified.
← Explore more learning guides · Visit our Thane centre page
