A hands-on reference repository covering all core Kubernetes concepts, built for use with Azure Red Hat OpenShift (ARO) and studied using Fabric AI CLI.
k8s-learning-lab/
├── docs/ # Concept guides and learning notes
│ ├── kubernetes-beginner-guide.md
│ ├── webhooks-guide.md
│ └── fabric-kubernetes-cli-guide.md
├── fabric-cli/ # Fabric AI CLI command examples
│ └── fabric-commands.md
├── manifests/
│ ├── 00-namespace/ # Namespaces (apply first)
│ ├── 01-core-objects/ # Pods, Services, Deployments, etc.
│ ├── 02-controllers/ # HPA, VPA, CronJobs
│ ├── 03-security/ # RBAC, NetworkPolicies, SecurityContexts
│ ├── 04-observability/ # Prometheus, Grafana, Probes
│ ├── 05-extensibility/ # CRDs, Operators, Helm
│ ├── 06-webhooks/ # Mutating & Validating Webhooks
│ └── 07-ecommerce-app/ # Full end-to-end demo app
└── scripts/ # Helper shell scripts
# Login to your ARO cluster
oc login <your-aro-api-url> --token=<your-token>
# Apply everything in order
kubectl apply -f manifests/00-namespace/
kubectl apply -f manifests/01-core-objects/
kubectl apply -f manifests/02-controllers/
kubectl apply -f manifests/03-security/
kubectl apply -f manifests/04-observability/
kubectl apply -f manifests/05-extensibility/
kubectl apply -f manifests/06-webhooks/
kubectl apply -f manifests/07-ecommerce-app/See fabric-cli/fabric-commands.md for 10 categories
of Fabric commands using Kubernetes as examples, with simulated output.
# Example: Explain any YAML file instantly
cat manifests/01-core-objects/pods/pod-basic.yaml | fabric --pattern explain_docs
# Quiz yourself on a concept
echo "Kubernetes RBAC Roles and RoleBindings" | fabric --pattern create_quiz
# Analyze your cluster logs
kubectl logs deployment/web-app | fabric --pattern analyze_logs| # | Topic | Directory |
|---|---|---|
| 1 | Core Objects | manifests/01-core-objects/ |
| 2 | Controllers (HPA, VPA, CronJob) | manifests/02-controllers/ |
| 3 | Security & RBAC | manifests/03-security/ |
| 4 | Observability | manifests/04-observability/ |
| 5 | Extensibility (CRDs, Helm) | manifests/05-extensibility/ |
| 6 | Webhooks | manifests/06-webhooks/ |
| 7 | E-Commerce Demo App | manifests/07-ecommerce-app/ |
- Access to an ARO cluster (or
minikube/kindlocally) kubectlorocCLIfabricCLI — install guide
Built with ❤️ for Kubernetes learners on OpenShift