عرض عملي: تراجع آلي عند فشل فحص الصحة
في هذا الدرس 3 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
watch a broken release revert with no human action. Prepares MID-055-LAB1.
تفاصيل المخطط المبدئي
خطوة بخطوة
- Show the pipeline promoting
ordersimage3f2a9c1from staging to production with a rolling strategy. - Deploy a deliberately broken version whose readiness endpoint fails.
- Planned mistake: the readiness probe returns 200 always, so the broken version takes traffic. Fix: make readiness check real dependencies and add a post-deploy smoke test.
- Watch the rollout halt and roll back automatically (for example
kubectl rollout undotriggered by the pipeline, or the rollout tool's analysis). - Review the timeline: detection time, rollback time, and the user impact on the dashboard.
اختبر فهمك
What detected the bad release?
أظهر الإجابة
The failed readiness probe and post-deploy check, not a person.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.