cd
mkdir -p manifests
cd manifests
mkdir -p web
cd web
# vi nginx-static.yml
apiVersion: v1
kind: Pod
metadata:
name: nginx-static-web
labels:
webserver: nginx
spec:
containers:
- name: web
image: nginx
kubectl apply -f nginx-static.yml
kubectl describe pod nginx-static-web
# show config
kubectl get pod/nginx-static-web -o yaml
kubectl get pod/nginx-static-web -o wide