kind: Pod
apiVersion: v1
metadata:
  name: centos-pod
spec:
  volumes:
    - name: vol1
      persistentVolumeClaim:
       claimName: pvc1
  containers:
    - name: centos
      image: centos:latest
      command: ["/bin/sh"]
      args: ["-c", "echo Container has been set up on $(date -u) >> /data/vol1/logger && sleep 60m"]
      volumeMounts:
        - mountPath: "/data/vol1"
          name: vol1
