Reading 18m read

Your First Pod

Run your first container in Kubernetes, inspect it, access it, and understand the Pod lifecycle.

Full content coming soon. This lesson is being written.

This lesson covers running your first Pod:

  • kubectl run nginx --image=nginx — the imperative way
  • Inspecting Pods: kubectl get pods, kubectl describe pod, kubectl logs
  • Executing commands inside a container: kubectl exec -it pod -- bash
  • Port forwarding: kubectl port-forward pod 8080:80
  • Pod lifecycle states: Pending → Running → Succeeded/Failed/Unknown
  • Deleting Pods: kubectl delete pod

Check back soon for the full content.

Next Lesson