apiVersion: apps/v1
kind: Deployment
metadata:
  name: busybox 
  namespace: default
spec:
  selector:
    matchLabels:
      app: busybox
  replicas: 1
  template:
    metadata:
      labels:
        app: busybox
    spec:
      #serviceAccountName: metadig-serviceaccount
      #volumes:
      #- name: gluster-volume
      #  persistentVolumeClaim:
      #    claimName: gluster-pv-claim
      containers:
      - name: busybox
        image: docker.io/busybox:1.29
        args: [sh, -c, 'sleep 9999999999']
        volumeMounts:
          #- name: ceph-rbd-static-pv
          - name: myvol
            mountPath: /var/lib/www/html
      volumes:
        #- name: ceph-rbd-static-pv
        - name: myvol
          persistentVolumeClaim:
            claimName: cephfs-static-pvc
            readOnly: false
