apiVersion: v1
kind: Pod
metadata:
  name: nginx-example
  labels:
    app: nginx
spec:
  containers:
  - name: nginx
    image: linuxserver/nginx
    ports:
    - containerPort: 80
      name: "nginx-http"
    volumeMounts:
    - name: nginx-www-folder
      mountPath: /config/www
  volumes:
  - name: nginx-www-folder
    persistentVolumeClaim:
      claimName: nginx-pv-claim
