Tutorials
Hands-on guides for common Kubernetes tasks. Click any card to expand.
Debugging
What you will learn
When a pod enters CrashLoopBackOff, Kubernetes is restarting it repeatedly because the container keeps exiting with an error. Common causes include:
- Application crashes on startup (missing config, bad entrypoint)
- Out of memory (OOMKilled)
- Failed health checks (liveness probe failures)
- Missing dependencies (database not reachable, secret not mounted)
Try it with Sabre
sabre "Why is my pod crashlooping?"
Sabre will inspect pod events, check container logs, and identify the root cause -- whether it's a misconfigured command, a missing environment variable, or a resource limit issue.
What you will learn
ImagePullBackOff means Kubernetes cannot pull the container image. This is usually caused by:
- Typo in the image name or tag
- Image does not exist in the registry
- Missing or incorrect image pull secrets
- Private registry without authentication configured
Try it with Sabre
sabre "Fix the image pull error on my deployment"
Sabre will check the image reference, verify registry access, and inspect pull secrets to pinpoint exactly why the image cannot be pulled.
What you will learn
Pods stuck in Pending state have not been scheduled to a node. Common scheduling issues include:
- Insufficient CPU or memory on available nodes
- Node affinity or anti-affinity rules that cannot be satisfied
- Taints on nodes without matching tolerations
- PersistentVolumeClaim not bound (storage not available)
- ResourceQuota limits exceeded in the namespace
Try it with Sabre
sabre "Why are my pods stuck in pending?"
Sabre will analyze scheduler events, check node capacity, review resource requests, and identify the constraint preventing scheduling.
Configuration
What you will learn
Kubernetes RBAC (Role-Based Access Control) lets you define who can do what in your cluster. You will learn how to:
- Create a Role scoped to a specific namespace
- Define which API resources and verbs are permitted
- Bind the role to a user or service account
- Test that the permissions work correctly
Try it with Sabre
sabre "Create a role that allows reading pods in the dev namespace"
Sabre will generate the Role and RoleBinding manifests, apply them to your cluster, and verify the permissions are working.
What you will learn
The Horizontal Pod Autoscaler (HPA) automatically adjusts the number of pod replicas based on observed metrics. You will learn how to:
- Create an HPA targeting a deployment
- Set minimum and maximum replica counts
- Configure CPU-based scaling thresholds
- Verify the autoscaler is working
Try it with Sabre
sabre "Set up autoscaling for my-app deployment to scale between 2-10 pods based on CPU"
Sabre will create the HPA resource, ensure metrics-server is available, and confirm the autoscaler is actively monitoring your deployment.