mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-30 10:10:21 +00:00
24 lines
570 B
YAML
24 lines
570 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: cephfs
|
|
spec:
|
|
containers:
|
|
- name: cephfs-rw
|
|
image: kubernetes/pause
|
|
volumeMounts:
|
|
- mountPath: "/mnt/cephfs"
|
|
name: cephfs
|
|
volumes:
|
|
- name: cephfs
|
|
cephfs:
|
|
monitors:
|
|
- 10.16.154.78:6789
|
|
- 10.16.154.82:6789
|
|
- 10.16.154.83:6789
|
|
# by default the path is /, but you can override and mount a specific path of the filesystem by using the path attribute
|
|
# path: /some/path/in/side/cephfs
|
|
user: admin
|
|
secretFile: "/etc/ceph/admin.secret"
|
|
readOnly: true
|