Skip to main content

Pods

A container or group of containers that share storage, network resources, and a deployment specification.

Pods can be created manually through the usage of the kubectl CLI. However, most opt to use manifest files (usually in YAML). Here's an example for a simple NGINX server:

apiVersion: v1
kind: Pod
metadata:
  name: nginx
spec:
  containers:
  - name: nginx
    image: 1.23.1
    ports:
      - containerPort: 80