A Pod is Kubernetes’ smallest deployable computing unit: one or more tightly coupled containers that share specified storage, networking, and execution context. section 8.2.1
Treat a Pod as an application-specific logical host that:
- Co-locates and co-schedules its containers. section 8.2.1
- Provides shared storage and network resources. section 8.2.1
- Defines how its containers run through a Pod specification. section 8.2.1
Minimal whalesay Pod
A YAML manifest can define one container using the docker/whalesay:latest image, the cowsay command, and a hello-world argument. Create it with kubectl, then inspect status and logs. section 8.2.1 section 8.7
Listing 8.26 An example Pod
apiVersion: v1 kind: Pod metadata: name: whalesay spec: containers: - name: whalesay image: docker/whalesay:latest command: [cowsay] args: ["hello world"]
Inspect the complete Pod manifest, including apiVersion, metadata, and the container specification. section 8.2.1














