We understand Pods first to understand:
Once that is crystal clear, The next step: Deployment becomes very easy.
Pod Skeleton structure
apiVersion: v1
kind: Pod
metadata:
name: example-pod
labels:
app: example
spec:
containers:
- name: app-container
image: nginx
ports:
- containerPort: 80
Used for:
Defines actual runtime configuration.
Inside containers: