Thuta Learning
ရှာဖွေရန်
ProjectsDevOpsintermediate

Project — Production Readiness Checklist

စိတ်လျှော့ပါ။ ဒီခန်းကို စာအုပ်လိုမဟုတ်ဘဲ စကားပြောသလိုပဲ၊ နားလည်လွယ်အောင် ရှင်းပါမယ်။

ဒီခန်းပြီးရင် ဘာတတ်သွားမလဲ

  • Project — Production Readiness Checklist ကို ကြောက်စရာမလိုအောင် နားလည်မယ်
  • ကိုယ်တိုင် kubectl command/YAML ကို run ကြည့်တတ်မယ်
  • Real project ထဲမှာ ဒီ concept ကို ချက်ချင်း အသုံးချတတ်မယ်

ခဏလေး ဒီလိုပဲ စဉ်းစားကြည့်

Kubernetes cluster ပေါ် app deploy လုပ်နိုင်တယ် ဆိုတာနဲ့ 'production-ready' ဖြစ်ပြီလို့ မဆိုလိုပါ — resource limits (CPU/memory quota, pod တစ်ခုက resource အကုန်စားမသွားအောင်), health check (liveness/readiness probe), replicas ≥2 (single point of failure မဖြစ်အောင်), Secret encryption, RBAC (least privilege), monitoring/logging setup — အားလုံး ပါဝင်ရမှ production-ready လို့ ခေါ်နိုင်ပါတယ်။ ဒီ project မှာ checklist တစ်ခု ကိုယ်တိုင် ရေးပြီး, Project 1/2 ကို audit ကြည့်မယ်.

လက်တွေ့ scenario နဲ့ ချိတ်ကြည့်မယ်

Checklist item တစ်ခုချင်းစီကို `kubectl describe`/`kubectl get -o yaml` နဲ့ စစ်ကြည့်ပါ — resource requests/limits ပါ/မပါ, probe ပါ/မပါ, replicas ဘယ်နှစ်ခု, Secret သုံးထား/hardcode ထား — item တစ်ခုချင်းစီအတွက် Pass/Fail မှတ်ပြီး, Fail ဖြစ်တဲ့ item ကို YAML ပြင်ဆင်ကြည့်ပါ.

အတူတူ ကြည့်မယ်

text
Production Readiness Checklist
================================
[ ] Deployment has replicas >= 2 (no single point of failure)
[ ] Every container has resource requests AND limits set
[ ] Liveness probe is configured
[ ] Readiness probe is configured
[ ] Sensitive data uses Secret, not ConfigMap or hardcoded values
[ ] RoleBinding follows least-privilege (no blanket cluster-admin)
[ ] Rolling update strategy is configured (not "Recreate")
[ ] Namespace is set (not relying on "default")
You should see
Project 1 (three-tier app) ကို checklist ဖြင့် audit ပြီး, Fail item များအတွက် fix လုပ်ထားသော YAML ရရှိမည်။

၅ မိနစ် စမ်းကြည့်

အထက်က checklist ကို Project 1 (three-tier app) ရဲ့ YAML file အားလုံးအပေါ် run ကြည့်ပါ — Fail ဖြစ်တဲ့ item တစ်ခုစီကို ဖော်ထုတ်ပြီး ပြင်ဆင်ကြည့်ပါ။

သတိလေးတစ်ချက်

ဒီ checklist က starting point ပါ — real production environment (compliance requirement, team convention အလိုက်) မှာ ဒီထက် ပိုကျယ်ပြန့်တဲ့ checklist လိုအပ်နိုင်ပါတယ်။

ဒီနေရာမှာ လူအများမှားတတ်တယ်

  • Checklist ကို 'documentation' တစ်ခုအနေနဲ့ ရေးရုံနဲ့ ရပ်ခြင်း — YAML ကို တကယ် ပြန်ပြင်ပြီး re-apply မလုပ်ခြင်း
  • Checklist item အားလုံး Pass ဖြစ်တာနဲ့ 'production-ready ပြီ' ဆိုပြီး monitoring/alerting setup ကို လုံးဝ မထည့်တွက်ခြင်း

အခု ကိုယ်တိုင် စမ်းကြည့်

အထက်က checklist ကို Project 1 (three-tier app) ရဲ့ YAML file အားလုံးအပေါ် run ကြည့်ပါ — Fail ဖြစ်တဲ့ item တစ်ခုစီကို ဖော်ထုတ်ပြီး ပြင်ဆင်ကြည့်ပါ။

You'll know it worked when: Project 1 (three-tier app) ကို checklist ဖြင့် audit ပြီး, Fail item များအတွက် fix လုပ်ထားသော YAML ရရှိမည်။

Project — Production Readiness Checklist | Thuta Learning