apiVersion: v1
kind: Pod
metadata:
  name: ngnix-dash-pod 
  labels:
    k8-app: ngnix-dash-pod
spec:
  volumes:
  - name: html
    persistentVolumeClaim:
       claimName: html-claim 
#    emptyDir: {}
  containers:
  - name: nginx-k8s-client-dashboard
    image: nginx
    ports:
    - containerPort: 80
    volumeMounts:
    - name: html
      mountPath: /usr/share/nginx/html
  restartPolicy: OnFailure
