Reading 22m read

Understanding YAML Manifests

Learn Kubernetes object structure, write your first YAML manifests, and master the declarative approach to cluster management.

Full content coming soon. This lesson is being written.

This lesson covers Kubernetes YAML manifests:

  • The four fields every Kubernetes object has: apiVersion, kind, metadata, spec
  • Writing a Pod manifest from scratch
  • kubectl apply -f vs kubectl create -f — when to use each
  • kubectl diff -f — preview changes before applying
  • kubectl get -o yaml — export existing objects as YAML
  • Organizing manifests: single file vs directories vs Kustomize
  • Dry-run validation: kubectl apply --dry-run=client

Check back soon for the full content.

Next Lesson