apiVersion: extensions/v1beta1 kind: Deployment metadata: annotations: deployment.kubernetes.io/revision: "1" creationTimestamp: null generation: 1 labels: name: wordpress-rook name: wordpress-rook selfLink: /apis/extensions/v1beta1/namespaces/default/deployments/wordpress spec: progressDeadlineSeconds: 2147483647 replicas: 2 revisionHistoryLimit: 10 selector: matchLabels: name: wordpress-rook strategy: rollingUpdate: maxSurge: 1 maxUnavailable: 1 type: RollingUpdate template: metadata: creationTimestamp: null labels: name: wordpress-rook spec: containers: - image: wordpress imagePullPolicy: Always name: wordpress-rook volumeMounts: - mountPath: "/var/www/html" name: volume resources: {} terminationMessagePath: /dev/termination-log terminationMessagePolicy: File dnsPolicy: ClusterFirst restartPolicy: Always schedulerName: default-scheduler securityContext: {} terminationGracePeriodSeconds: 30 volumes: - name: volume flexVolume: driver: ceph.rook.io/rook fsType: ceph options: fsName: myfs # name of the filesystem specified in the filesystem CRD. clusterNamespace: rook-ceph # namespace where the Rook cluster is deployed # by default the path is /, but you can override and mount a specific path of the filesystem by using the path attribute # the path must exist on the filesystem, otherwise mounting the filesystem at that path will fail # path: /some/path/inside/cephfs