apiVersion: v1
kind: Pod
metadata:
name: nginx-pod
spec:
containers:
- image: nginx
name: democontainer
ports:
- containerPort: 8080
kubectl apply -f pod-expose-port.yaml
kubectl get pods
kubectl describe pod nginx-pod
kubectl explain pod.spec.containers.ports