You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
tobi 1f14846a12 readme 2 years ago readme 2 years ago
block_storage_2rep.yaml refactor for blog 2 years ago
block_storage_3rep.yaml refactor for blog 2 years ago
busybox.yaml refactor for blog 2 years ago
dashboard.yaml dashboard 2 years ago
fs.yaml readme 2 years ago
fs_storage.yaml readme 2 years ago
pvc-clone.yaml init 2 years ago
pvc.yaml refactor for blog 2 years ago
toolbox-job.yaml toolbox containers 2 years ago
toolbox.yaml toolbox containers 2 years ago

Basic Ceph yaml files

For some general information checkout my blog post about ceph. Otherwise the documentation itself is really good, for prepping your cluster for ceph.

fs.yaml & fs_storage.yaml

Some deployments have the requirement that they can be read from more than one pod. This is where cephfs (fs.yaml) comes in. In ceph you can have object storage (AWS S3 kind of stuff, where you get large binary objects tagged with some meta data), block storage (behaving like a single linux disk that can be mounted on only a single host), cephfs (which is a filesystem layer on top of that, that acts more like a network file system - only this time with all the ceph goodness underneath).

toolbox.yaml & toolbox-job.yaml

list pools

$ ceph osd lspools
1 device_health_metrics
6 myfs-metadata
7 myfs-data0
8 2rep
9 3rep`

list volumes

$ rbd ls 2rep

backup volume to file

rbd export 2rep/csi-vol-026ae300-0acc-11eb-9eec-22555fb3e090 backup.img
Exporting image: 100% complete...done.