Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.6 KB

ceph-fs-subvolumegroup.md

File metadata and controls

44 lines (30 loc) · 1.6 KB
title weight indent
CephFilesystemSubVolumeGroup CRD
3610
true

{% include_relative branch.liquid %}

This guide assumes you have created a Rook cluster as explained in the main Quickstart guide

CephFilesystemSubVolumeGroup CRD

Rook allows creation of Ceph Filesystem SubVolumeGroups through the custom resource definitions (CRDs). Filesystem subvolume groups are an abstraction for a directory level higher than Filesystem subvolumes to effect policies (e.g., File layouts) across a set of subvolumes. For more information about CephFS volume, subvolumegroup and subvolume refer to the Ceph docs.

Creating daemon

To get you started, here is a simple example of a CRD to create a subvolumegroup on the CephFilesystem "myfs".

apiVersion: ceph.rook.io/v1
kind: CephFilesystemSubVolumeGroup
metadata:
  name: my-subvolumegroup
  namespace: rook-ceph # namespace:cluster
spec:
  # volumeName is the name of the CephFilesystem CR
  volumeName: myfs

Settings

If any setting is unspecified, a suitable default will be used automatically.

CephFilesystemSubVolumeGroup metadata

  • name: The name that will be used for the Ceph Filesystem subvolume group.
  • namespace: The Kubernetes namespace that will be created for the Rook cluster. The services, pods, and other resources created by the operator will be added to this namespace.

CephFilesystemSubVolumeGroup spec

  • volumeName: The name of the Ceph Filesystem volume.