A Pod is the basic deployable unit in Kubernetes. It encapsulates the container (with multi-container pods possible); storage resources; a unique network IP; and a configuration for how to run the containers.

A simple pod can be crated with a one-liner CLI:

kubectl run nginx --image=nginx --port=80

However, the more common use is through a manifest file, for example hello.yaml:

apiVersion: v1
kind: Pod
metadata:
  name: hello-world
spec:
  containers:
  - name: hello
    image: busybox
    command: ["echo", "Hello World!"]

This can for example be deployed with:

kubectl apply -f hello.yaml