apiVersion: v1
kind: Pod
metadata:
  name: pod-with-port               # pod name
spec:
  containers:
  - name: nginx-container           # container name
    image: nginx:1.17.4             # container docker image
    ports:
    - containerPort: 80             # expose port 80