انتقل إلى المحتوى
أمين أبوزيد
درس مخطط لهMID-057-L10

عرض عملي: Pod يتعطل ويعيد التشغيل باستمرار وتشخيص سببه

  • الدرس 10 من 10
  • Mid-level
في هذا الدرس 3 موضوعات

هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.

نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.

في هذا الدرس

diagnose a broken deployment from evidence. Prepares the assessment debugging exercise.

تفاصيل المخطط المبدئي

خطوة بخطوة

  1. kubectl get pods shows orders in CrashLoopBackOff.
  2. kubectl describe pod shows restarts and the last state; events show no image problem.
  3. kubectl logs --previous reveals a missing configuration value (database URL).
  4. Planned mistake: raise memory limits as a guess because the pod "keeps dying". Fix: read the exit reason first; the exit code and logs point to configuration, not memory.
  5. Correct the ConfigMap, roll the Deployment, confirm readiness, and write one line for the runbook.

اختبر فهمك

What should you read before changing limits?

أظهر الإجابة

The last state reason, exit code, and previous logs.

التطبيق

طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.

المختبر والتمارين الاختبار

تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.

اكتب للبحث في المستويات والمراحل والوحدات والدروس.