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 4 months ago readme 4 months ago
block_storage_2rep.yaml refactor for blog 4 months ago
block_storage_3rep.yaml refactor for blog 4 months ago
busybox.yaml refactor for blog 4 months ago
dashboard.yaml dashboard 4 months ago
fs.yaml readme 4 months ago
fs_storage.yaml readme 4 months ago
pvc-clone.yaml init 4 months ago
pvc.yaml refactor for blog 4 months ago
toolbox-job.yaml toolbox containers 4 months ago
toolbox.yaml toolbox containers 4 months 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.