لابات Kubernetes عملية
لابات Kubernetes بتديك cluster حقيقي تشتغل عليه، مش رسمة توضيحية. من أول cluster و أول Pod، لحد ما تكتب الـ manifests بنفسك، تعرّض تطبيق للنت بـ Ingress، وتحل مشكلة RBAC في سيناريو production.
هتتدرب على إيه في لابات Kubernetes؟
- Pods و Lifecycle
- Deployments
- YAML Manifests
- ConfigMaps و Secrets
- Probes و Resource limits
- Jobs و CronJobs
- Services و DNS
- Ingress
- Network Policies
- RBAC و ServiceAccounts
- Namespaces
- Troubleshooting
- 01Your First Clusterابدأ اللاب
Read a running control plane, carve out a namespace, and put your first workload on it.
مبتدئ · 20 دقيقة
- 02Pods and the Lifecycleابدأ اللاب
Watch what Kubernetes does when a container finishes, when it fails, and when something has to run before it.
مبتدئ · 25 دقيقة
- 03Deployments and Reconciliationابدأ اللاب
Hand the cluster a desired state and let the controllers keep it true — through scaling, deletion, and a rolling release.
مبتدئ · 30 دقيقة
- 04Write the Manifests Yourselfابدأ اللاب
Move from imperative kubectl to a directory of YAML that is the source of truth for a running application.
مبتدئ · 40 دقيقة
- 05Deploy and Reach a Web Applicationابدأ اللاب
Put a real web application on the cluster, give it a stable address, and prove another Pod can reach it by name.
مبتدئ · 40 دقيقة
- 06ConfigMaps and Secretsابدأ اللاب
Separate configuration from the image, deliver it as files and environment variables, and rotate it on a running Pod.
متوسط · 30 دقيقة
- 07Probes and Resource Limitsابدأ اللاب
Tell the cluster what healthy means and what your workload costs, then watch a readiness probe pull a Pod out of service.
متوسط · 30 دقيقة
- 08Jobs and CronJobsابدأ اللاب
Run work that is meant to finish, decide how many times it should retry, and put it on a schedule.
متوسط · 25 دقيقة
- 09Services, DNS, and NodePortابدأ اللاب
Work through the Service types from the inside out: ClusterIP, headless, and a port punched through the node.
متوسط · 30 دقيقة
- 10Ingress and HTTP Routingابدأ اللاب
Put one HTTP entry point in front of several services and route by path and by hostname.
متوسط · 30 دقيقة
- 11Network Policiesابدأ اللاب
Close a namespace down to default-deny, then open exactly one path — and prove both halves.
متوسط · 30 دقيقة
- 12Expose and Harden the Stackابدأ اللاب
Build a configured, replicated web application, publish it through Ingress, and lock its network down without taking it offline.
متوسط · 45 دقيقة
- 13Your First ServiceAccountابدأ اللاب
Give a workload an identity of its own, find the token inside the running container, then take it away entirely.
مبتدئ · 20 دقيقة
- 14Give a ServiceAccount Limited Accessابدأ اللاب
Write a Role, bind it, and then prove the boundary by showing everything the identity still cannot do.
مبتدئ · 25 دقيقة
- 15Role or ClusterRole?ابدأ اللاب
Three ways to combine a role and a binding, and the question that tells you which one you need.
متوسط · 25 دقيقة
- 16Namespace Isolationابدأ اللاب
Two teams, one ClusterRole definition, and a boundary you have to prove in both directions.
متوسط · 25 دقيقة
- 17Debug the Forbidden Errorابدأ اللاب
Three identities that cannot do their jobs, three different root causes, and no error message that tells you which.
متوسط · 25 دقيقة
- 18Production RBAC Incidentابدأ اللاب
A workload was given cluster-admin to fix an outage. Take it back without taking the service down.
متقدم · 35 دقيقة
ليه تتعلم Kubernetes بالتطبيق العملي؟
- Kubernetes فيه مفاهيم كتير بتبان سهلة في الشرح وبتلخبط أول ما تكتب YAML بإيدك. اللاب بيكشف الفرق.
- كل module بيقفل بلاب سيناريو: تعرّض stack كامل وتأمّنه، أو تحل incident في الصلاحيات.
- الـ cluster حقيقي، فاللي بتتعلمه هو نفسه اللي هتعمله على cluster الشركة.
أسئلة شائعة
الـ cluster حقيقي؟
أيوه. كل لاب بيعمل لك Kubernetes cluster بتاعك لوحدك، بتشتغل عليه بـ kubectl من terminal في المتصفح.
لازم أعرف Docker الأول؟
يفضّل. Kubernetes بيشغّل containers، فلو فاهم Images و Containers هتمشي أسرع. لابات Docker موجودة لو محتاج تبدأ منها.
اللابات بتغطي RBAC و Networking؟
أيوه. في module كامل للـ Networking (Services و DNS و Ingress و Network Policies) و module كامل للـ RBAC بينتهي بسيناريو incident.