Specification
Packages:
ceph.rook.io/v1
Package v1 is the v1 version of the API.
Resource Types:
- CephBlockPool
- CephBucketNotification
- CephBucketTopic
- CephCOSIDriver
- CephClient
- CephCluster
- CephFilesystem
- CephFilesystemMirror
- CephFilesystemSubVolumeGroup
- CephNFS
- CephObjectRealm
- CephObjectStore
- CephObjectStoreUser
- CephObjectZone
- CephObjectZoneGroup
- CephRBDMirror
CephBlockPool
CephBlockPool represents a Ceph Storage Pool
| Field | Description | ||||
|---|---|---|---|---|---|
apiVersionstring | ceph.rook.io/v1 | ||||
kindstring | CephBlockPool | ||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the metadata field. | ||||
specNamedBlockPoolSpec |
| ||||
statusCephBlockPoolStatus |
CephBucketNotification
CephBucketNotification represents a Bucket Notifications
| Field | Description | ||||||
|---|---|---|---|---|---|---|---|
apiVersionstring | ceph.rook.io/v1 | ||||||
kindstring | CephBucketNotification | ||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the metadata field. | ||||||
specBucketNotificationSpec |
| ||||||
statusStatus | (Optional) |
CephBucketTopic
CephBucketTopic represents a Ceph Object Topic for Bucket Notifications
| Field | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring | ceph.rook.io/v1 | ||||||||||
kindstring | CephBucketTopic | ||||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the metadata field. | ||||||||||
specBucketTopicSpec |
| ||||||||||
statusBucketTopicStatus | (Optional) |
CephCOSIDriver
CephCOSIDriver represents the CRD for the Ceph COSI Driver Deployment
| Field | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring | ceph.rook.io/v1 | ||||||||||
kindstring | CephCOSIDriver | ||||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the metadata field. | ||||||||||
specCephCOSIDriverSpec | Spec represents the specification of a Ceph COSI Driver
|
CephClient
CephClient represents a Ceph Client
| Field | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring | ceph.rook.io/v1 | ||||||||||
kindstring | CephClient | ||||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the metadata field. | ||||||||||
specClientSpec | Spec represents the specification of a Ceph Client
| ||||||||||
statusCephClientStatus | (Optional) Status represents the status of a Ceph Client |
CephCluster
CephCluster is a Ceph storage cluster
| Field | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring | ceph.rook.io/v1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
kindstring | CephCluster | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the metadata field. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
specClusterSpec |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
statusClusterStatus | (Optional) |
CephFilesystem
CephFilesystem represents a Ceph Filesystem
| Field | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring | ceph.rook.io/v1 | ||||||||||||||||
kindstring | CephFilesystem | ||||||||||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the metadata field. | ||||||||||||||||
specFilesystemSpec |
| ||||||||||||||||
statusCephFilesystemStatus |
CephFilesystemMirror
CephFilesystemMirror is the Ceph Filesystem Mirror object definition
| Field | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring | ceph.rook.io/v1 | ||||||||||
kindstring | CephFilesystemMirror | ||||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the metadata field. | ||||||||||
specFilesystemMirroringSpec |
| ||||||||||
statusFileMirrorStatus | (Optional) |
CephFilesystemSubVolumeGroup
CephFilesystemSubVolumeGroup represents a Ceph Filesystem SubVolumeGroup
| Field | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring | ceph.rook.io/v1 | ||||||||||||
kindstring | CephFilesystemSubVolumeGroup | ||||||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the metadata field. | ||||||||||||
specCephFilesystemSubVolumeGroupSpec | Spec represents the specification of a Ceph Filesystem SubVolumeGroup
| ||||||||||||
statusCephFilesystemSubVolumeGroupStatus | (Optional) Status represents the status of a CephFilesystem SubvolumeGroup |
CephNFS
CephNFS represents a Ceph NFS
| Field | Description | ||||||
|---|---|---|---|---|---|---|---|
apiVersionstring | ceph.rook.io/v1 | ||||||
kindstring | CephNFS | ||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the metadata field. | ||||||
specNFSGaneshaSpec |
| ||||||
statusNFSStatus | (Optional) |
CephObjectRealm
CephObjectRealm represents a Ceph Object Store Gateway Realm
| Field | Description | ||||
|---|---|---|---|---|---|
apiVersionstring | ceph.rook.io/v1 | ||||
kindstring | CephObjectRealm | ||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the metadata field. | ||||
specObjectRealmSpec | (Optional)
| ||||
statusStatus | (Optional) |
CephObjectStore
CephObjectStore represents a Ceph Object Store Gateway
| Field | Description | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring | ceph.rook.io/v1 | ||||||||||||||||||||||||||
kindstring | CephObjectStore | ||||||||||||||||||||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the metadata field. | ||||||||||||||||||||||||||
specObjectStoreSpec |
| ||||||||||||||||||||||||||
statusObjectStoreStatus |
CephObjectStoreUser
CephObjectStoreUser represents a Ceph Object Store Gateway User
| Field | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring | ceph.rook.io/v1 | ||||||||||||
kindstring | CephObjectStoreUser | ||||||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the metadata field. | ||||||||||||
specObjectStoreUserSpec |
| ||||||||||||
statusObjectStoreUserStatus | (Optional) |
CephObjectZone
CephObjectZone represents a Ceph Object Store Gateway Zone
| Field | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring | ceph.rook.io/v1 | ||||||||||||
kindstring | CephObjectZone | ||||||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the metadata field. | ||||||||||||
specObjectZoneSpec |
| ||||||||||||
statusStatus | (Optional) |
CephObjectZoneGroup
CephObjectZoneGroup represents a Ceph Object Store Gateway Zone Group
| Field | Description | ||
|---|---|---|---|
apiVersionstring | ceph.rook.io/v1 | ||
kindstring | CephObjectZoneGroup | ||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the metadata field. | ||
specObjectZoneGroupSpec |
| ||
statusStatus | (Optional) |
CephRBDMirror
CephRBDMirror represents a Ceph RBD Mirror
| Field | Description | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring | ceph.rook.io/v1 | ||||||||||||||
kindstring | CephRBDMirror | ||||||||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the metadata field. | ||||||||||||||
specRBDMirroringSpec |
| ||||||||||||||
statusRBDMirrorStatus | (Optional) |
AMQPEndpointSpec
(Appears on:TopicEndpointSpec)
AMQPEndpointSpec represent the spec of an AMQP endpoint of a Bucket Topic
| Field | Description |
|---|---|
uristring | The URI of the AMQP endpoint to push notification to |
exchangestring | Name of the exchange that is used to route messages based on topics |
disableVerifySSLbool | (Optional) Indicate whether the server certificate is validated by the client or not |
ackLevelstring | (Optional) The ack level required for this topic (none/broker/routeable) |
AdditionalVolumeMount
AdditionalVolumeMount represents the source from where additional files in pod containers should come from and what subdirectory they are made available in.
| Field | Description |
|---|---|
subPathstring | SubPath defines the sub-path (subdirectory) of the directory root where the volumeSource will be mounted. All files/keys in the volume source’s volume will be mounted to the subdirectory. This is not the same as the Kubernetes |
volumeSourceConfigFileVolumeSource | VolumeSource accepts a pared down version of the standard Kubernetes VolumeSource for the additional file(s) like what is normally used to configure Volumes for a Pod. Fore example, a ConfigMap, Secret, or HostPath. Each VolumeSource adds one or more additional files to the container |
AdditionalVolumeMounts ([]github.com/rook/rook/pkg/apis/ceph.rook.io/v1.AdditionalVolumeMount alias)
(Appears on:GatewaySpec, SSSDSidecar)
AddressRangesSpec
(Appears on:NetworkSpec)
Annotations (map[string]string alias)
(Appears on:FilesystemMirroringSpec, GaneshaServerSpec, GatewaySpec, MetadataServerSpec, RBDMirroringSpec, RGWServiceSpec)
Annotations are annotations
AnnotationsSpec (map[github.com/rook/rook/pkg/apis/ceph.rook.io/v1.KeyType]github.com/rook/rook/pkg/apis/ceph.rook.io/v1.Annotations alias)
(Appears on:ClusterSpec)
AnnotationsSpec is the main spec annotation for all daemons
AuthSpec
(Appears on:ObjectStoreSpec)
AuthSpec represents the authentication protocol configuration of a Ceph Object Store Gateway
| Field | Description |
|---|---|
keystoneKeystoneSpec | (Optional) The spec for Keystone |
BucketNotificationEvent (string alias)
(Appears on:BucketNotificationSpec)
BucketNotificationSpec represent the event type of the bucket notification
BucketNotificationSpec
(Appears on:CephBucketNotification)
BucketNotificationSpec represent the spec of a Bucket Notification
| Field | Description |
|---|---|
topicstring | The name of the topic associated with this notification |
events[]BucketNotificationEvent | (Optional) List of events that should trigger the notification |
filterNotificationFilterSpec | (Optional) Spec of notification filter |
BucketTopicSpec
(Appears on:CephBucketTopic)
BucketTopicSpec represent the spec of a Bucket Topic
| Field | Description |
|---|---|
objectStoreNamestring | The name of the object store on which to define the topic |
objectStoreNamespacestring | The namespace of the object store on which to define the topic |
opaqueDatastring | (Optional) Data which is sent in each event |
persistentbool | (Optional) Indication whether notifications to this endpoint are persistent or not |
endpointTopicEndpointSpec | Contains the endpoint spec of the topic |
BucketTopicStatus
(Appears on:CephBucketTopic)
BucketTopicStatus represents the Status of a CephBucketTopic
| Field | Description |
|---|---|
phasestring | (Optional) |
ARNstring | (Optional) The ARN of the topic generated by the RGW |
observedGenerationint64 | (Optional) ObservedGeneration is the latest generation observed by the controller. |
secrets[]SecretReference | (Optional) |
CIDR (string alias)
An IPv4 or IPv6 network CIDR.
This naive kubebuilder regex provides immediate feedback for some typos and for a common problem case where the range spec is forgotten (e.g., /24). Rook does in-depth validation in code.
COSIDeploymentStrategy (string alias)
(Appears on:CephCOSIDriverSpec)
COSIDeploymentStrategy represents the strategy to use to deploy the Ceph COSI driver
| Value | Description |
|---|---|
"Always" | Always means the Ceph COSI driver will be deployed even if the object store is not present |
"Auto" | Auto means the Ceph COSI driver will be deployed automatically if object store is present |
"Never" | Never means the Ceph COSI driver will never deployed |
CSICephFSSpec
(Appears on:CSIDriverSpec)
CSICephFSSpec defines the settings for CephFS CSI driver.
| Field | Description |
|---|---|
kernelMountOptionsstring | (Optional) KernelMountOptions defines the mount options for kernel mounter. |
fuseMountOptionsstring | (Optional) FuseMountOptions defines the mount options for ceph fuse mounter. |
CSIDriverSpec
(Appears on:ClusterSpec)
CSIDriverSpec defines CSI Driver settings applied per cluster.
| Field | Description |
|---|---|
readAffinityReadAffinitySpec | (Optional) ReadAffinity defines the read affinity settings for CSI driver. |
cephfsCSICephFSSpec | (Optional) CephFS defines CSI Driver settings for CephFS driver. |
skipUserCreationbool | (Optional) SkipUserCreation determines whether CSI users and their associated secrets should be skipped. If set to true, the user must manually manage these secrets. |
Capacity
(Appears on:CephStatus)
Capacity is the capacity information of a Ceph Cluster
| Field | Description |
|---|---|
bytesTotaluint64 | |
bytesUseduint64 | |
bytesAvailableuint64 | |
lastUpdatedstring |
CephBlockPoolRadosNamespace
CephBlockPoolRadosNamespace represents a Ceph BlockPool Rados Namespace
| Field | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the metadata field. | ||||||||
specCephBlockPoolRadosNamespaceSpec | Spec represents the specification of a Ceph BlockPool Rados Namespace
| ||||||||
statusCephBlockPoolRadosNamespaceStatus | (Optional) Status represents the status of a CephBlockPool Rados Namespace |
CephBlockPoolRadosNamespaceSpec
(Appears on:CephBlockPoolRadosNamespace)
CephBlockPoolRadosNamespaceSpec represents the specification of a CephBlockPool Rados Namespace
| Field | Description |
|---|---|
namestring | (Optional) The name of the CephBlockPoolRadosNamespaceSpec namespace. If not set, the default is the name of the CR. |
blockPoolNamestring | BlockPoolName is the name of Ceph BlockPool. Typically it’s the name of the CephBlockPool CR. |
mirroringRadosNamespaceMirroring | (Optional) Mirroring configuration of CephBlockPoolRadosNamespace |
clusterIDstring | (Optional) ClusterID to be used for this RadosNamespace in the CSI configuration. It must be unique among all Ceph clusters managed by Rook. If not specified, the clusterID will be generated and can be found in the CR status. |
CephBlockPoolRadosNamespaceStatus
(Appears on:CephBlockPoolRadosNamespace)
CephBlockPoolRadosNamespaceStatus represents the Status of Ceph BlockPool Rados Namespace
| Field | Description |
|---|---|
phaseConditionType | (Optional) |
infomap[string]string | (Optional) |
mirroringStatusMirroringStatusSpec | (Optional) |
mirroringInfoMirroringInfoSpec | (Optional) |
snapshotScheduleStatusSnapshotScheduleStatusSpec | (Optional) |
conditions[]Condition |
CephBlockPoolStatus
(Appears on:CephBlockPool)
CephBlockPoolStatus represents the mirroring status of Ceph Storage Pool
| Field | Description |
|---|---|
phaseConditionType | (Optional) |
cephxPeerTokenCephxStatus | (Optional) |
mirroringStatusMirroringStatusSpec | (Optional) |
mirroringInfoMirroringInfoSpec | (Optional) |
poolIDint | optional |
snapshotScheduleStatusSnapshotScheduleStatusSpec | (Optional) |
infomap[string]string | (Optional) |
observedGenerationint64 | (Optional) ObservedGeneration is the latest generation observed by the controller. |
conditions[]Condition |
CephCOSIDriverSpec
(Appears on:CephCOSIDriver)
CephCOSIDriverSpec represents the specification of a Ceph COSI Driver
| Field | Description |
|---|---|
imagestring | (Optional) Image is the container image to run the Ceph COSI driver |
objectProvisionerImagestring | (Optional) ObjectProvisionerImage is the container image to run the COSI driver sidecar |
deploymentStrategyCOSIDeploymentStrategy | (Optional) DeploymentStrategy is the strategy to use to deploy the COSI driver. |
placementPlacement | (Optional) Placement is the placement strategy to use for the COSI driver |
resourcesKubernetes core/v1.ResourceRequirements | (Optional) Resources is the resource requirements for the COSI driver |
CephClientStatus
(Appears on:CephClient)
CephClientStatus represents the Status of Ceph Client
| Field | Description |
|---|---|
phaseConditionType | (Optional) |
infomap[string]string | (Optional) |
observedGenerationint64 | (Optional) ObservedGeneration is the latest generation observed by the controller. |
cephxCephxStatus | (Optional) |
CephClusterHealthCheckSpec
(Appears on:ClusterSpec)
CephClusterHealthCheckSpec represent the healthcheck for Ceph daemons
| Field | Description |
|---|---|
daemonHealthDaemonHealthSpec | (Optional) DaemonHealth is the health check for a given daemon |
livenessProbemap[github.com/rook/rook/pkg/apis/ceph.rook.io/v1.KeyType]*github.com/rook/rook/pkg/apis/ceph.rook.io/v1.ProbeSpec | (Optional) LivenessProbe allows changing the livenessProbe configuration for a given daemon |
startupProbemap[github.com/rook/rook/pkg/apis/ceph.rook.io/v1.KeyType]*github.com/rook/rook/pkg/apis/ceph.rook.io/v1.ProbeSpec | (Optional) StartupProbe allows changing the startupProbe configuration for a given daemon |
CephDaemonsVersions
(Appears on:CephStatus)
CephDaemonsVersions show the current ceph version for different ceph daemons
| Field | Description |
|---|---|
monmap[string]int | (Optional) Mon shows Mon Ceph version |
mgrmap[string]int | (Optional) Mgr shows Mgr Ceph version |
osdmap[string]int | (Optional) Osd shows Osd Ceph version |
rgwmap[string]int | (Optional) Rgw shows Rgw Ceph version |
mdsmap[string]int | (Optional) Mds shows Mds Ceph version |
rbd-mirrormap[string]int | (Optional) RbdMirror shows RbdMirror Ceph version |
cephfs-mirrormap[string]int | (Optional) CephFSMirror shows CephFSMirror Ceph version |
overallmap[string]int | (Optional) Overall shows overall Ceph version |
CephExporterSpec
(Appears on:MonitoringSpec)
| Field | Description |
|---|---|
perfCountersPrioLimitint64 | Only performance counters greater than or equal to this option are fetched |
statsPeriodSecondsint64 | Time to wait before sending requests again to exporter server (seconds) |
hostNetworkbool | (Optional) Whether host networking is enabled for CephExporter. If not set, the network settings from CephCluster.spec.networking will be applied. |
CephFilesystemStatus
(Appears on:CephFilesystem)
CephFilesystemStatus represents the status of a Ceph Filesystem
| Field | Description |
|---|---|
phaseConditionType | (Optional) |
snapshotScheduleStatusFilesystemSnapshotScheduleStatusSpec | (Optional) |
infomap[string]string | (Optional) Use only info and put mirroringStatus in it? |
cephxLocalCephxStatus | |
mirroringStatusFilesystemMirroringInfoSpec | (Optional) MirroringStatus is the filesystem mirroring status |
conditions[]Condition | |
observedGenerationint64 | (Optional) ObservedGeneration is the latest generation observed by the controller. |
CephFilesystemSubVolumeGroupSpec
(Appears on:CephFilesystemSubVolumeGroup)
CephFilesystemSubVolumeGroupSpec represents the specification of a Ceph Filesystem SubVolumeGroup
| Field | Description |
|---|---|
namestring | (Optional) The name of the subvolume group. If not set, the default is the name of the subvolumeGroup CR. |
filesystemNamestring | FilesystemName is the name of Ceph Filesystem SubVolumeGroup volume name. Typically it’s the name of the CephFilesystem CR. If not coming from the CephFilesystem CR, it can be retrieved from the list of Ceph Filesystem volumes with |
pinningCephFilesystemSubVolumeGroupSpecPinning | (Optional) Pinning configuration of CephFilesystemSubVolumeGroup, reference https://docs.ceph.com/en/latest/cephfs/fs-volumes/#pinning-subvolumes-and-subvolume-groups only one out of (export, distributed, random) can be set at a time |
quotak8s.io/apimachinery/pkg/api/resource.Quantity | (Optional) Quota size of the Ceph Filesystem subvolume group. |
dataPoolNamestring | (Optional) The data pool name for the Ceph Filesystem subvolume group layout, if the default CephFS pool is not desired. |
clusterIDstring | (Optional) ClusterID to be used for this subvolume group in the CSI configuration. It must be unique among all Ceph clusters managed by Rook. If not specified, the clusterID will be generated and can be found in the CR status. |
CephFilesystemSubVolumeGroupSpecPinning
(Appears on:CephFilesystemSubVolumeGroupSpec)
CephFilesystemSubVolumeGroupSpecPinning represents the pinning configuration of SubVolumeGroup
| Field | Description |
|---|---|
exportint | (Optional) |
distributedint | (Optional) |
random,float64 | (Optional) |
CephFilesystemSubVolumeGroupStatus
(Appears on:CephFilesystemSubVolumeGroup)
CephFilesystemSubVolumeGroupStatus represents the Status of Ceph Filesystem SubVolumeGroup
| Field | Description |
|---|---|
phaseConditionType | (Optional) |
infomap[string]string | (Optional) |
observedGenerationint64 | (Optional) ObservedGeneration is the latest generation observed by the controller. |
CephHealthMessage
(Appears on:CephStatus)
CephHealthMessage represents the health message of a Ceph Cluster
| Field | Description |
|---|---|
severitystring | |
messagestring |
CephNetworkType (string alias)
CephNetworkType should be “public” or “cluster”. Allow any string so that over-specified legacy clusters do not break on CRD update.
| Value | Description |
|---|---|
"cluster" | |
"public" |
CephStatus
(Appears on:ClusterStatus)
CephStatus is the details health of a Ceph Cluster
| Field | Description |
|---|---|
healthstring | |
detailsmap[string]github.com/rook/rook/pkg/apis/ceph.rook.io/v1.CephHealthMessage | |
lastCheckedstring | |
lastChangedstring | |
previousHealthstring | |
capacityCapacity | |
versionsCephDaemonsVersions | (Optional) |
fsidstring |
CephStorage
(Appears on:ClusterStatus)
CephStorage represents flavors of Ceph Cluster Storage
| Field | Description |
|---|---|
deviceClasses[]DeviceClasses | |
osdOSDStatus | |
deprecatedOSDsmap[string][]int |
CephVersionSpec
(Appears on:ClusterSpec)
CephVersionSpec represents the settings for the Ceph version that Rook is orchestrating.
| Field | Description |
|---|---|
imagestring | (Optional) Image is the container image used to launch the ceph daemons, such as quay.io/ceph/ceph: |
allowUnsupportedbool | (Optional) Whether to allow unsupported versions (do not set to true in production) |
imagePullPolicyKubernetes core/v1.PullPolicy | (Optional) ImagePullPolicy describes a policy for if/when to pull a container image One of Always, Never, IfNotPresent. |
CephXConfigWithPriorCount
(Appears on:ClusterCephxConfig)
| Field | Description |
|---|---|
CephxConfigCephxConfig | (Members of |
keepPriorKeyCountMaxbyte | (Optional) KeepPriorKeyCountMax tells Rook how many prior keys to keep active. Generally, this would be set to 1 to allow for a migration period for applications. If desired, set this to 0 to delete prior keys after migration. This config only applies to prior keys that already exist. If PriorKeyCount is set to 2 while only a single key currently exists, only a single prior key will be kept, and the reported status will only indicate the actual number of prior keys, not necessarily a reflection of PriorKeyCount config here. |
CephxConfig
(Appears on:CephXConfigWithPriorCount, ClientSecuritySpec, ClusterCephxConfig)
| Field | Description |
|---|---|
keyRotationPolicyCephxKeyRotationPolicy | (Optional) KeyRotationPolicy controls if and when CephX keys are rotated after initial creation. One of Disabled, or KeyGeneration. Default Disabled. |
keyGenerationuint32 | (Optional) KeyGeneration specifies the desired CephX key generation. This is used when KeyRotationPolicy is KeyGeneration and ignored for other policies. If this is set to greater than the current key generation, relevant keys will be rotated, and the generation value will be updated to this new value (generation values are not necessarily incremental, though that is the intended use case). If this is set to less than or equal to the current key generation, keys are not rotated. |
CephxKeyRotationPolicy (string alias)
(Appears on:CephxConfig)
| Value | Description |
|---|---|
"Disabled" | |
"KeyGeneration" |
CephxStatus
(Appears on:CephClientStatus, CephxStatusWithKeyCount, ClusterCephxStatus, LocalCephxStatus, PeerTokenCephxStatus)
| Field | Description |
|---|---|
keyGenerationuint32 | KeyGeneration represents the CephX key generation for the last successful reconcile. For all newly-created resources, this field is set to |
keyCephVersionstring | KeyCephVersion reports the Ceph version that created the current generation’s keys. This is same string format as reported by |
CephxStatusWithKeyCount
(Appears on:ClusterCephxStatus)
| Field | Description |
|---|---|
CephxStatusCephxStatus | (Members of |
priorKeyCountbyte | PriorKeyCount reports the number of prior-generation CephX keys that remain active for the related component |
CleanupConfirmationProperty (string alias)
(Appears on:CleanupPolicySpec)
CleanupConfirmationProperty represents the cleanup confirmation
| Value | Description |
|---|---|
"yes-really-destroy-data" | DeleteDataDirOnHostsConfirmation represents the validation to destroy dataDirHostPath |
CleanupPolicySpec
(Appears on:ClusterSpec)
CleanupPolicySpec represents a Ceph Cluster cleanup policy
| Field | Description |
|---|---|
confirmationCleanupConfirmationProperty | (Optional) Confirmation represents the cleanup confirmation |
sanitizeDisksSanitizeDisksSpec | (Optional) SanitizeDisks represents way we sanitize disks |
allowUninstallWithVolumesbool | (Optional) AllowUninstallWithVolumes defines whether we can proceed with the uninstall if they are RBD images still present |
wipeDevicesFromOtherClustersbool | (Optional) WipeDevicesFromOtherClusters wipes the OSD disks belonging to other clusters. This is useful in scenarios where ceph cluster was reinstalled but OSD disk still contains the metadata from previous ceph cluster. |
ClientSecuritySpec
(Appears on:ClientSpec)
ClinetSecuritySpec represents security settings for a Ceph Client
| Field | Description |
|---|---|
cephxCephxConfig | (Optional) CephX configures CephX key settings. More: https://docs.ceph.com/en/latest/dev/cephx/ |
ClientSpec
(Appears on:CephClient)
ClientSpec represents the specification of a Ceph Client
| Field | Description |
|---|---|
namestring | (Optional) |
secretNamestring | (Optional) SecretName is the name of the secret created for this ceph client. If not specified, the default name is “rook-ceph-client-” as a prefix to the CR name. |
removeSecretbool | (Optional) RemoveSecret indicates whether the current secret for this ceph client should be removed or not. If true, the K8s secret will be deleted, but the cephx keyring will remain until the CR is deleted. |
capsmap[string]string | |
securityClientSecuritySpec | (Optional) Security represents security settings |
ClusterCephxConfig
(Appears on:ClusterSecuritySpec)
| Field | Description |
|---|---|
daemonCephxConfig | Daemon configures CephX key settings for local Ceph daemons managed by Rook and part of the Ceph cluster. Daemon CephX keys can be rotated without affecting client connections. |
rbdMirrorPeerCephxConfig | RBDMirrorPeer configures CephX key settings of the |
csiCephXConfigWithPriorCount | CSI configures CephX key rotation settings for the Ceph-CSI daemons in the current Kubernetes cluster. CSI key rotation can affect existing PV connections, so take care when exercising this option. |
ClusterCephxStatus
(Appears on:ClusterStatus)
ClusterCephxStatus defines the cephx key rotation status of various daemons on the cephCluster resource
| Field | Description |
|---|---|
adminCephxStatus | Admin shows the CephX key status for the client.admin key |
monCephxStatus | Mon represents the CephX key status of the Monitor daemons |
mgrCephxStatus | Mgr represents the cephx key rotation status of the ceph manager daemon |
osdCephxStatus | OSD shows the CephX key status of of OSDs |
csiCephxStatusWithKeyCount | CSI shows the CephX key status for Ceph-CSI components. |
rbdMirrorPeerCephxStatus | RBDMirrorPeer represents the cephx key rotation status of the |
crashCollectorCephxStatus | Crash Collector represents the cephx key rotation status of the crash collector daemon |
cephExporterCephxStatus | Ceph Exporter represents the cephx key rotation status of the ceph exporter daemon |
ClusterSecuritySpec
(Appears on:ClusterSpec)
ClusterSecuritySpec is the CephCluster security spec to include various security items such as kms
| Field | Description |
|---|---|
kmsKeyManagementServiceSpec | (Optional) KeyManagementService is the main Key Management option |
keyRotationKeyRotationSpec | (Optional) KeyRotation defines options for rotation of OSD disk encryption keys. |
cephxClusterCephxConfig | (Optional) CephX configures CephX key settings. More: https://docs.ceph.com/en/latest/dev/cephx/ |
ClusterSpec
(Appears on:CephCluster)
ClusterSpec represents the specification of Ceph Cluster
| Field | Description |
|---|---|
cephVersionCephVersionSpec | (Optional) The version information that instructs Rook to orchestrate a particular version of Ceph. |
storageStorageScopeSpec | (Optional) A spec for available storage in the cluster and how it should be used |
annotationsAnnotationsSpec | (Optional) The annotations-related configuration to add/set on each Pod related object. |
labelsLabelsSpec | (Optional) The labels-related configuration to add/set on each Pod related object. |
placementPlacementSpec | (Optional) The placement-related configuration to pass to kubernetes (affinity, node selector, tolerations). |
networkNetworkSpec | (Optional) Network related configuration |
resourcesResourceSpec | (Optional) Resources set resource requests and limits |
priorityClassNamesPriorityClassNamesSpec | (Optional) PriorityClassNames sets priority classes on components |
dataDirHostPathstring | (Optional) The path on the host where config and data can be persisted |
skipUpgradeChecksbool | (Optional) SkipUpgradeChecks defines if an upgrade should be forced even if one of the check fails |
continueUpgradeAfterChecksEvenIfNotHealthybool | (Optional) ContinueUpgradeAfterChecksEvenIfNotHealthy defines if an upgrade should continue even if PGs are not clean |
waitTimeoutForHealthyOSDInMinutestime.Duration | (Optional) WaitTimeoutForHealthyOSDInMinutes defines the time the operator would wait before an OSD can be stopped for upgrade or restart. If the timeout exceeds and OSD is not ok to stop, then the operator would skip upgrade for the current OSD and proceed with the next one if |
upgradeOSDRequiresHealthyPGsbool | (Optional) UpgradeOSDRequiresHealthyPGs defines if OSD upgrade requires PGs are clean. If set to |
disruptionManagementDisruptionManagementSpec | (Optional) A spec for configuring disruption management. |
monMonSpec | (Optional) A spec for mon related options |
crashCollectorCrashCollectorSpec | (Optional) A spec for the crash controller |
dashboardDashboardSpec | (Optional) Dashboard settings |
monitoringMonitoringSpec | (Optional) Prometheus based Monitoring settings |
externalExternalSpec | (Optional) Whether the Ceph Cluster is running external to this Kubernetes cluster mon, mgr, osd, mds, and discover daemons will not be created for external clusters. |
mgrMgrSpec | (Optional) A spec for mgr related options |
removeOSDsIfOutAndSafeToRemovebool | (Optional) Remove the OSD that is out and safe to remove only if this option is true |
cleanupPolicyCleanupPolicySpec | (Optional) Indicates user intent when deleting a cluster; blocks orchestration and should not be set if cluster deletion is not imminent. |
healthCheckCephClusterHealthCheckSpec | (Optional) Internal daemon healthchecks and liveness probe |
securityClusterSecuritySpec | (Optional) Security represents security settings |
logCollectorLogCollectorSpec | (Optional) Logging represents loggings settings |
csiCSIDriverSpec | (Optional) CSI Driver Options applied per cluster. |
cephConfigmap[string]map[string]string | (Optional) Ceph Config options |
cephConfigFromSecretmap[string]map[string]k8s.io/api/core/v1.SecretKeySelector | (Optional) CephConfigFromSecret works exactly like CephConfig but takes config value from Secret Key reference. |
ClusterState (string alias)
(Appears on:ClusterStatus)
ClusterState represents the state of a Ceph Cluster
| Value | Description |
|---|---|
"Connected" | ClusterStateConnected represents the Connected state of a Ceph Cluster |
"Connecting" | ClusterStateConnecting represents the Connecting state of a Ceph Cluster |
"Created" | ClusterStateCreated represents the Created state of a Ceph Cluster |
"Creating" | ClusterStateCreating represents the Creating state of a Ceph Cluster |
"Error" | ClusterStateError represents the Error state of a Ceph Cluster |
"Updating" | ClusterStateUpdating represents the Updating state of a Ceph Cluster |
ClusterStatus
(Appears on:CephCluster)
ClusterStatus represents the status of a Ceph cluster
| Field | Description |
|---|---|
stateClusterState | |
phaseConditionType | |
messagestring | |
conditions[]Condition | |
cephCephStatus | |
cephxClusterCephxStatus | |
storageCephStorage | |
versionClusterVersion | |
observedGenerationint64 | (Optional) ObservedGeneration is the latest generation observed by the controller. |
ClusterVersion
(Appears on:ClusterStatus)
ClusterVersion represents the version of a Ceph Cluster
| Field | Description |
|---|---|
imagestring | |
versionstring |
CompressionSpec
(Appears on:ConnectionsSpec)
| Field | Description |
|---|---|
enabledbool | (Optional) Whether to compress the data in transit across the wire. The default is not set. |
Condition
(Appears on:CephBlockPoolRadosNamespaceStatus, CephBlockPoolStatus, CephFilesystemStatus, ClusterStatus, ObjectStoreStatus, Status)
Condition represents a status condition on any Rook-Ceph Custom Resource.
| Field | Description |
|---|---|
typeConditionType | |
statusKubernetes core/v1.ConditionStatus | |
reasonConditionReason | |
messagestring | |
lastHeartbeatTimeKubernetes meta/v1.Time | |
lastTransitionTimeKubernetes meta/v1.Time |
ConditionReason (string alias)
(Appears on:Condition)
ConditionReason is a reason for a condition
| Value | Description |
|---|---|
"ClusterConnected" | ClusterConnectedReason is cluster connected reason |
"ClusterConnecting" | ClusterConnectingReason is cluster connecting reason |
"ClusterCreated" | ClusterCreatedReason is cluster created reason |
"ClusterDeleting" | ClusterDeletingReason is cluster deleting reason |
"ClusterProgressing" | ClusterProgressingReason is cluster progressing reason |
"Deleting" | DeletingReason represents when Rook has detected a resource object should be deleted. |
"ObjectHasDependents" | ObjectHasDependentsReason represents when a resource object has dependents that are blocking deletion. |
"ObjectHasNoDependents" | ObjectHasNoDependentsReason represents when a resource object has no dependents that are blocking deletion. |
"PoolEmpty" | PoolEmptyReason represents when a pool does not contain images or snapshots that are blocking deletion. |
"PoolNotEmpty" | PoolNotEmptyReason represents when a pool contains images or snapshots that are blocking deletion. |
"RadosNamespaceEmpty" | RadosNamespaceEmptyReason represents when a rados namespace does not contain images or snapshots that are blocking deletion. |
"RadosNamespaceNotEmpty" | RadosNamespaceNotEmptyReason represents when a rados namespace contains images or snapshots that are blocking deletion. |
"ReconcileFailed" | ReconcileFailed represents when a resource reconciliation failed. |
"ReconcileRequeuing" | ReconcileRequeuing represents when a resource reconciliation requeue. |
"ReconcileStarted" | ReconcileStarted represents when a resource reconciliation started. |
"ReconcileSucceeded" | ReconcileSucceeded represents when a resource reconciliation was successful. |
ConditionType (string alias)
(Appears on:CephBlockPoolRadosNamespaceStatus, CephBlockPoolStatus, CephClientStatus, CephFilesystemStatus, CephFilesystemSubVolumeGroupStatus, ClusterStatus, Condition, ObjectStoreStatus)
ConditionType represent a resource’s status
| Value | Description |
|---|---|
"Connected" | ConditionConnected represents Connected state of an object |
"Connecting" | ConditionConnecting represents Connecting state of an object |
"Deleting" | ConditionDeleting represents Deleting state of an object |
"DeletionIsBlocked" | ConditionDeletionIsBlocked represents when deletion of the object is blocked. |
"Failure" | ConditionFailure represents Failure state of an object |
"PoolDeletionIsBlocked" | ConditionPoolDeletionIsBlocked represents when deletion of the object is blocked. |
"Progressing" | ConditionProgressing represents Progressing state of an object |
"RadosNamespaceDeletionIsBlocked" | ConditionRadosNSDeletionIsBlocked represents when deletion of the object is blocked. |
"Ready" | ConditionReady represents Ready state of an object |
ConfigFileVolumeSource
(Appears on:AdditionalVolumeMount, KerberosConfigFiles, KerberosKeytabFile, SSSDSidecarConfigFile)
Represents the source of a volume to mount. Only one of its members may be specified. This is a subset of the full Kubernetes API’s VolumeSource that is reduced to what is most likely to be useful for mounting config files/dirs into Rook pods.
| Field | Description |
|---|---|
hostPathKubernetes core/v1.HostPathVolumeSource | (Optional) hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath |
emptyDirKubernetes core/v1.EmptyDirVolumeSource | (Optional) emptyDir represents a temporary directory that shares a pod’s lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir |
secretKubernetes core/v1.SecretVolumeSource | (Optional) secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret |
persistentVolumeClaimKubernetes core/v1.PersistentVolumeClaimVolumeSource | (Optional) persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims |
configMapKubernetes core/v1.ConfigMapVolumeSource | (Optional) configMap represents a configMap that should populate this volume |
projectedKubernetes core/v1.ProjectedVolumeSource | projected items for all in one resources secrets, configmaps, and downward API |
ConnectionsSpec
(Appears on:NetworkSpec)
| Field | Description |
|---|---|
encryptionEncryptionSpec | (Optional) Encryption settings for the network connections. |
compressionCompressionSpec | (Optional) Compression settings for the network connections. |
requireMsgr2bool | (Optional) Whether to require msgr2 (port 3300) even if compression or encryption are not enabled. If true, the msgr1 port (6789) will be disabled. Requires a kernel that supports msgr2 (kernel 5.11 or CentOS 8.4 or newer). |
CrashCollectorSpec
(Appears on:ClusterSpec)
CrashCollectorSpec represents options to configure the crash controller
| Field | Description |
|---|---|
disablebool | (Optional) Disable determines whether we should enable the crash collector |
daysToRetainuint | (Optional) DaysToRetain represents the number of days to retain crash until they get pruned |
DaemonHealthSpec
(Appears on:CephClusterHealthCheckSpec)
DaemonHealthSpec is a daemon health check
| Field | Description |
|---|---|
statusHealthCheckSpec | (Optional) Status represents the health check settings for the Ceph health |
monHealthCheckSpec | (Optional) Monitor represents the health check settings for the Ceph monitor |
osdHealthCheckSpec | (Optional) ObjectStorageDaemon represents the health check settings for the Ceph OSDs |
DashboardSpec
(Appears on:ClusterSpec)
DashboardSpec represents the settings for the Ceph dashboard
| Field | Description |
|---|---|
enabledbool | (Optional) Enabled determines whether to enable the dashboard |
urlPrefixstring | (Optional) URLPrefix is a prefix for all URLs to use the dashboard with a reverse proxy |
portint | (Optional) Port is the dashboard webserver port |
sslbool | (Optional) SSL determines whether SSL should be used |
prometheusEndpointstring | (Optional) Endpoint for the Prometheus host |
prometheusEndpointSSLVerifybool | (Optional) Whether to verify the ssl endpoint for prometheus. Set to false for a self-signed cert. |
Device
(Appears on:Selection)
Device represents a disk to use in the cluster
| Field | Description |
|---|---|
namestring | (Optional) |
fullpathstring | (Optional) |
configmap[string]string | (Optional) |
DeviceClasses
(Appears on:CephStorage)
DeviceClasses represents device classes of a Ceph Cluster
| Field | Description |
|---|---|
namestring |
DisruptionManagementSpec
(Appears on:ClusterSpec)
DisruptionManagementSpec configures management of daemon disruptions
| Field | Description |
|---|---|
managePodBudgetsbool | (Optional) This enables management of poddisruptionbudgets |
osdMaintenanceTimeouttime.Duration | (Optional) OSDMaintenanceTimeout sets how many additional minutes the DOWN/OUT interval is for drained failure domains it only works if managePodBudgets is true. the default is 30 minutes |
pgHealthCheckTimeouttime.Duration | (Optional) DEPRECATED: PGHealthCheckTimeout is no longer implemented |
pgHealthyRegexstring | (Optional) PgHealthyRegex is the regular expression that is used to determine which PG states should be considered healthy. The default is |
manageMachineDisruptionBudgetsbool | (Optional) Deprecated. This enables management of machinedisruptionbudgets. |
machineDisruptionBudgetNamespacestring | (Optional) Deprecated. Namespace to look for MDBs by the machineDisruptionBudgetController |
EncryptionSpec
(Appears on:ConnectionsSpec)
| Field | Description |
|---|---|
enabledbool | (Optional) Whether to encrypt the data in transit across the wire to prevent eavesdropping the data on the network. The default is not set. Even if encryption is not enabled, clients still establish a strong initial authentication for the connection and data integrity is still validated with a crc check. When encryption is enabled, all communication between clients and Ceph daemons, or between Ceph daemons will be encrypted. |
EndpointAddress
(Appears on:GatewaySpec)
EndpointAddress is a tuple that describes a single IP address or host name. This is a subset of Kubernetes’s v1.EndpointAddress.
| Field | Description |
|---|---|
ipstring | (Optional) The IP of this endpoint. As a legacy behavior, this supports being given a DNS-addressable hostname as well. |
hostnamestring | (Optional) The DNS-addressable Hostname of this endpoint. This field will be preferred over IP if both are given. |
ErasureCodedSpec
(Appears on:PoolSpec)
ErasureCodedSpec represents the spec for erasure code in a pool
| Field | Description |
|---|---|
codingChunksuint | Number of coding chunks per object in an erasure coded storage pool (required for erasure-coded pool type). This is the number of OSDs that can be lost simultaneously before data cannot be recovered. |
dataChunksuint | Number of data chunks per object in an erasure coded storage pool (required for erasure-coded pool type). The number of chunks required to recover an object when any single OSD is lost is the same as dataChunks so be aware that the larger the number of data chunks, the higher the cost of recovery. |
algorithmstring | (Optional) The algorithm for erasure coding. If absent, defaults to the plugin specified in osd_pool_default_erasure_code_profile. |
ExternalSpec
(Appears on:ClusterSpec)
ExternalSpec represents the options supported by an external cluster
| Field | Description |
|---|---|
enablebool | (Optional) Enable determines whether external mode is enabled or not |
FSMirroringSpec
(Appears on:FilesystemSpec)
FSMirroringSpec represents the setting for a mirrored filesystem
| Field | Description |
|---|---|
enabledbool | (Optional) Enabled whether this filesystem is mirrored or not |
peersMirroringPeerSpec | (Optional) Peers represents the peers spec |
snapshotSchedules[]SnapshotScheduleSpec | (Optional) SnapshotSchedules is the scheduling of snapshot for mirrored filesystems |
snapshotRetention[]SnapshotScheduleRetentionSpec | (Optional) Retention is the retention policy for a snapshot schedule One path has exactly one retention policy. A policy can however contain multiple count-time period pairs in order to specify complex retention policies |
FileMirrorStatus
(Appears on:CephFilesystemMirror)
FileMirrorStatus represents the status of the FileSystem mirror resource
| Field | Description |
|---|---|
StatusStatus | (Members of |
cephxLocalCephxStatus |
FilesystemMirrorInfoPeerSpec
(Appears on:FilesystemsSpec)
FilesystemMirrorInfoPeerSpec is the specification of a filesystem peer mirror
| Field | Description |
|---|---|
uuidstring | (Optional) UUID is the peer unique identifier |
remotePeerRemoteSpec | (Optional) Remote are the remote cluster information |
statsPeerStatSpec | (Optional) Stats are the stat a peer mirror |
FilesystemMirroringInfo
(Appears on:FilesystemMirroringInfoSpec)
FilesystemMirrorInfoSpec is the filesystem mirror status of a given filesystem
| Field | Description |
|---|---|
daemon_idint | (Optional) DaemonID is the cephfs-mirror name |
filesystems[]FilesystemsSpec | (Optional) Filesystems is the list of filesystems managed by a given cephfs-mirror daemon |
FilesystemMirroringInfoSpec
(Appears on:CephFilesystemStatus)
FilesystemMirroringInfo is the status of the pool mirroring
| Field | Description |
|---|---|
daemonsStatus[]FilesystemMirroringInfo | (Optional) PoolMirroringStatus is the mirroring status of a filesystem |
lastCheckedstring | (Optional) LastChecked is the last time time the status was checked |
lastChangedstring | (Optional) LastChanged is the last time time the status last changed |
detailsstring | (Optional) Details contains potential status errors |
FilesystemMirroringSpec
(Appears on:CephFilesystemMirror)
FilesystemMirroringSpec is the filesystem mirroring specification
| Field | Description |
|---|---|
placementPlacement | (Optional) The affinity to place the rgw pods (default is to place on any available node) |
annotationsAnnotations | (Optional) The annotations-related configuration to add/set on each Pod related object. |
labelsLabels | (Optional) The labels-related configuration to add/set on each Pod related object. |
resourcesKubernetes core/v1.ResourceRequirements | (Optional) The resource requirements for the cephfs-mirror pods |
priorityClassNamestring | (Optional) PriorityClassName sets priority class on the cephfs-mirror pods |
FilesystemSnapshotScheduleStatusRetention
(Appears on:FilesystemSnapshotSchedulesSpec)
FilesystemSnapshotScheduleStatusRetention is the retention specification for a filesystem snapshot schedule
| Field | Description |
|---|---|
startstring | (Optional) Start is when the snapshot schedule starts |
createdstring | (Optional) Created is when the snapshot schedule was created |
firststring | (Optional) First is when the first snapshot schedule was taken |
laststring | (Optional) Last is when the last snapshot schedule was taken |
last_prunedstring | (Optional) LastPruned is when the last snapshot schedule was pruned |
created_countint | (Optional) CreatedCount is total amount of snapshots |
pruned_countint | (Optional) PrunedCount is total amount of pruned snapshots |
activebool | (Optional) Active is whether the scheduled is active or not |
FilesystemSnapshotScheduleStatusSpec
(Appears on:CephFilesystemStatus)
FilesystemSnapshotScheduleStatusSpec is the status of the snapshot schedule
| Field | Description |
|---|---|
snapshotSchedules[]FilesystemSnapshotSchedulesSpec | (Optional) SnapshotSchedules is the list of snapshots scheduled |
lastCheckedstring | (Optional) LastChecked is the last time time the status was checked |
lastChangedstring | (Optional) LastChanged is the last time time the status last changed |
detailsstring | (Optional) Details contains potential status errors |
FilesystemSnapshotSchedulesSpec
(Appears on:FilesystemSnapshotScheduleStatusSpec)
FilesystemSnapshotSchedulesSpec is the list of snapshot scheduled for images in a pool
| Field | Description |
|---|---|
fsstring | (Optional) Fs is the name of the Ceph Filesystem |
subvolstring | (Optional) Subvol is the name of the sub volume |
pathstring | (Optional) Path is the path on the filesystem |
rel_pathstring | (Optional) |
schedulestring | (Optional) |
retentionFilesystemSnapshotScheduleStatusRetention | (Optional) |
FilesystemSpec
(Appears on:CephFilesystem)
FilesystemSpec represents the spec of a file system
| Field | Description |
|---|---|
metadataPoolNamedPoolSpec | The metadata pool settings |
dataPools[]NamedPoolSpec | The data pool settings, with optional predefined pool name. |
preservePoolNamesbool | (Optional) Preserve pool names as specified |
preservePoolsOnDeletebool | (Optional) Preserve pools on filesystem deletion |
preserveFilesystemOnDeletebool | (Optional) Preserve the fs in the cluster on CephFilesystem CR deletion. Setting this to true automatically implies PreservePoolsOnDelete is true. |
metadataServerMetadataServerSpec | The mds pod info |
mirroringFSMirroringSpec | (Optional) The mirroring settings |
statusCheckMirrorHealthCheckSpec | The mirroring statusCheck |
FilesystemsSpec
(Appears on:FilesystemMirroringInfo)
FilesystemsSpec is spec for the mirrored filesystem
| Field | Description |
|---|---|
filesystem_idint | (Optional) FilesystemID is the filesystem identifier |
namestring | (Optional) Name is name of the filesystem |
directory_countint | (Optional) DirectoryCount is the number of directories in the filesystem |
peers[]FilesystemMirrorInfoPeerSpec | (Optional) Peers represents the mirroring peers |
GaneshaRADOSSpec
(Appears on:NFSGaneshaSpec)
GaneshaRADOSSpec represents the specification of a Ganesha RADOS object
| Field | Description |
|---|---|
poolstring | (Optional) The Ceph pool used store the shared configuration for NFS-Ganesha daemons. This setting is deprecated, as it is internally required to be “.nfs”. |
namespacestring | (Optional) The namespace inside the Ceph pool (set by ‘pool’) where shared NFS-Ganesha config is stored. This setting is deprecated as it is internally set to the name of the CephNFS. |
GaneshaServerSpec
(Appears on:NFSGaneshaSpec)
GaneshaServerSpec represents the specification of a Ganesha Server
| Field | Description |
|---|---|
activeint | The number of active Ganesha servers |
placementPlacement | (Optional) The affinity to place the ganesha pods |
annotationsAnnotations | (Optional) The annotations-related configuration to add/set on each Pod related object. |
labelsLabels | (Optional) The labels-related configuration to add/set on each Pod related object. |
resourcesKubernetes core/v1.ResourceRequirements | (Optional) Resources set resource requests and limits |
priorityClassNamestring | (Optional) PriorityClassName sets the priority class on the pods |
logLevelstring | (Optional) LogLevel set logging level |
hostNetworkbool | (Optional) Whether host networking is enabled for the Ganesha server. If not set, the network settings from the cluster CR will be applied. |
livenessProbeProbeSpec | (Optional) A liveness-probe to verify that Ganesha server has valid run-time state. If LivenessProbe.Disabled is false and LivenessProbe.Probe is nil uses default probe. |
GatewaySpec
(Appears on:ObjectStoreSpec)
GatewaySpec represents the specification of Ceph Object Store Gateway
| Field | Description |
|---|---|
portint32 | (Optional) The port the rgw service will be listening on (http) |
securePortint32 | (Optional) The port the rgw service will be listening on (https) |
instancesint32 | (Optional) The number of pods in the rgw replicaset. |
sslCertificateRefstring | (Optional) The name of the secret that stores the ssl certificate for secure rgw connections |
caBundleRefstring | (Optional) The name of the secret that stores custom ca-bundle with root and intermediate certificates. |
placementPlacement | (Optional) The affinity to place the rgw pods (default is to place on any available node) |
disableMultisiteSyncTrafficbool | (Optional) DisableMultisiteSyncTraffic, when true, prevents this object store’s gateways from transmitting multisite replication data. Note that this value does not affect whether gateways receive multisite replication traffic: see ObjectZone.spec.customEndpoints for that. If false or unset, this object store’s gateways will be able to transmit multisite replication data. |
annotationsAnnotations | (Optional) The annotations-related configuration to add/set on each Pod related object. |
labelsLabels | (Optional) The labels-related configuration to add/set on each Pod related object. |
resourcesKubernetes core/v1.ResourceRequirements | (Optional) The resource requirements for the rgw pods |
priorityClassNamestring | (Optional) PriorityClassName sets priority classes on the rgw pods |
externalRgwEndpoints[]EndpointAddress | (Optional) ExternalRgwEndpoints points to external RGW endpoint(s). Multiple endpoints can be given, but for stability of ObjectBucketClaims, we highly recommend that users give only a single external RGW endpoint that is a load balancer that sends requests to the multiple RGWs. |
serviceRGWServiceSpec | (Optional) The configuration related to add/set on each rgw service. |
opsLogSidecarOpsLogSidecar | (Optional) Enable enhanced operation Logs for S3 in a sidecar named ops-log |
hostNetworkbool | (Optional) Whether host networking is enabled for the rgw daemon. If not set, the network settings from the cluster CR will be applied. |
dashboardEnabledbool | (Optional) Whether rgw dashboard is enabled for the rgw daemon. If not set, the rgw dashboard will be enabled. |
additionalVolumeMountsAdditionalVolumeMounts | AdditionalVolumeMounts allows additional volumes to be mounted to the RGW pod. The root directory for each additional volume mount is |
rgwConfigmap[string]string | (Optional) RgwConfig sets Ceph RGW config values for the gateway clients that serve this object store. Values are modified at runtime without RGW restart. This feature is intended for advanced users. It allows breaking configurations to be easily applied. Use with caution. |
rgwConfigFromSecretmap[string]k8s.io/api/core/v1.SecretKeySelector | (Optional) RgwConfigFromSecret works exactly like RgwConfig but takes config value from Secret Key reference. Values are modified at runtime without RGW restart. This feature is intended for advanced users. It allows breaking configurations to be easily applied. Use with caution. |
rgwCommandFlagsmap[string]string | (Optional) RgwCommandFlags sets Ceph RGW config values for the gateway clients that serve this object store. Values are modified at RGW startup, resulting in RGW pod restarts. This feature is intended for advanced users. It allows breaking configurations to be easily applied. Use with caution. |
readAffinityRgwReadAffinity | (Optional) ReadAffinity defines the RGW read affinity policy to optimize the read requests for the RGW clients Note: Only supported from Ceph Tentacle (v20) |
HTTPEndpointSpec
(Appears on:TopicEndpointSpec)
HTTPEndpointSpec represent the spec of an HTTP endpoint of a Bucket Topic
| Field | Description |
|---|---|
uristring | The URI of the HTTP endpoint to push notification to |
disableVerifySSLbool | (Optional) Indicate whether the server certificate is validated by the client or not |
sendCloudEventsbool | (Optional) Send the notifications with the CloudEvents header: https://github.com/cloudevents/spec/blob/main/cloudevents/adapters/aws-s3.md |
HealthCheckSpec
(Appears on:DaemonHealthSpec, MirrorHealthCheckSpec)
HealthCheckSpec represents the health check of an object store bucket
| Field | Description |
|---|---|
disabledbool | (Optional) |
intervalKubernetes meta/v1.Duration | (Optional) Interval is the internal in second or minute for the health check to run like 60s for 60 seconds |
timeoutstring | (Optional) |
HybridStorageSpec
(Appears on:ReplicatedSpec)
HybridStorageSpec represents the settings for hybrid storage pool
| Field | Description |
|---|---|
primaryDeviceClassstring | PrimaryDeviceClass represents high performance tier (for example SSD or NVME) for Primary OSD |
secondaryDeviceClassstring | SecondaryDeviceClass represents low performance tier (for example HDDs) for remaining OSDs |
IPFamilyType (string alias)
(Appears on:NetworkSpec)
IPFamilyType represents the single stack Ipv4 or Ipv6 protocol.
| Value | Description |
|---|---|
"IPv4" | IPv4 internet protocol version |
"IPv6" | IPv6 internet protocol version |
ImplicitTenantSetting (string alias)
(Appears on:KeystoneSpec)
| Value | Description |
|---|---|
"" | |
"false" | |
"s3" | |
"swift" | |
"true" |
KafkaEndpointSpec
(Appears on:TopicEndpointSpec)
KafkaEndpointSpec represent the spec of a Kafka endpoint of a Bucket Topic
| Field | Description |
|---|---|
uristring | The URI of the Kafka endpoint to push notification to |
useSSLbool | (Optional) Indicate whether to use SSL when communicating with the broker |
disableVerifySSLbool | (Optional) Indicate whether the server certificate is validated by the client or not |
ackLevelstring | (Optional) The ack level required for this topic (none/broker) |
mechanismstring | (Optional) The authentication mechanism for this topic (PLAIN/SCRAM-SHA-512/SCRAM-SHA-256/GSSAPI/OAUTHBEARER) |
userSecretRefKubernetes core/v1.SecretKeySelector | (Optional) The kafka user name to use for authentication |
passwordSecretRefKubernetes core/v1.SecretKeySelector | (Optional) The kafka password to use for authentication |
KerberosConfigFiles
(Appears on:KerberosSpec)
KerberosConfigFiles represents the source(s) from which Kerberos configuration should come.
| Field | Description |
|---|---|
volumeSourceConfigFileVolumeSource | VolumeSource accepts a pared down version of the standard Kubernetes VolumeSource for Kerberos configuration files like what is normally used to configure Volumes for a Pod. For example, a ConfigMap, Secret, or HostPath. The volume may contain multiple files, all of which will be loaded. |
KerberosKeytabFile
(Appears on:KerberosSpec)
KerberosKeytabFile represents the source(s) from which the Kerberos keytab file should come.
| Field | Description |
|---|---|
volumeSourceConfigFileVolumeSource | VolumeSource accepts a pared down version of the standard Kubernetes VolumeSource for the Kerberos keytab file like what is normally used to configure Volumes for a Pod. For example, a Secret or HostPath. There are two requirements for the source’s content: 1. The config file must be mountable via |
KerberosSpec
(Appears on:NFSSecuritySpec)
KerberosSpec represents configuration for Kerberos.
| Field | Description |
|---|---|
principalNamestring | (Optional) PrincipalName corresponds directly to NFS-Ganesha’s NFS_KRB5:PrincipalName config. In practice, this is the service prefix of the principal name. The default is “nfs”. This value is combined with (a) the namespace and name of the CephNFS (with a hyphen between) and (b) the Realm configured in the user-provided krb5.conf to determine the full principal name: |
domainNamestring | (Optional) DomainName should be set to the Kerberos Realm. |
configFilesKerberosConfigFiles | (Optional) ConfigFiles defines where the Kerberos configuration should be sourced from. Config files will be placed into the If this is left empty, Rook will not add any files. This allows you to manage the files yourself however you wish. For example, you may build them into your custom Ceph container image or use the Vault agent injector to securely add the files via annotations on the CephNFS spec (passed to the NFS server pods). Rook configures Kerberos to log to stderr. We suggest removing logging sections from config files to avoid consuming unnecessary disk space from logging to files. |
keytabFileKerberosKeytabFile | (Optional) KeytabFile defines where the Kerberos keytab should be sourced from. The keytab file will be placed into |
KeyManagementServiceSpec
(Appears on:ClusterSecuritySpec, ObjectStoreSecuritySpec, SecuritySpec)
KeyManagementServiceSpec represent various details of the KMS server
| Field | Description |
|---|---|
connectionDetailsmap[string]string | (Optional) ConnectionDetails contains the KMS connection details (address, port etc) |
tokenSecretNamestring | (Optional) TokenSecretName is the kubernetes secret containing the KMS token |
KeyRotationSpec
(Appears on:ClusterSecuritySpec, SecuritySpec)
KeyRotationSpec represents the settings for Key Rotation.
| Field | Description |
|---|---|
enabledbool | (Optional) Enabled represents whether the key rotation is enabled. |
schedulestring | (Optional) Schedule represents the cron schedule for key rotation. |
KeyType (string alias)
KeyType type safety
| Value | Description |
|---|---|
"exporter" | |
"cleanup" | |
"clusterMetadata" | |
"cmdreporter" | |
"crashcollector" | |
"dashboard" | |
"mds" | |
"mgr" | |
"mon" | |
"arbiter" | |
"monitoring" | |
"osd" | |
"prepareosd" | |
"rgw" | |
"keyrotation" |
KeystoneSpec
(Appears on:AuthSpec)
KeystoneSpec represents the Keystone authentication configuration of a Ceph Object Store Gateway
| Field | Description |
|---|---|
urlstring | The URL for the Keystone server. |
serviceUserSecretNamestring | The name of the secret containing the credentials for the service user account used by RGW. It has to be in the same namespace as the object store resource. |
acceptedRoles[]string | The roles requires to serve requests. |
implicitTenantsImplicitTenantSetting | (Optional) Create new users in their own tenants of the same name. Possible values are true, false, swift and s3. The latter have the effect of splitting the identity space such that only the indicated protocol will use implicit tenants. |
tokenCacheSizeint | (Optional) The maximum number of entries in each Keystone token cache. |
revocationIntervalint | (Optional) The number of seconds between token revocation checks. |
Labels (map[string]string alias)
(Appears on:FilesystemMirroringSpec, GaneshaServerSpec, GatewaySpec, MetadataServerSpec, RBDMirroringSpec)
Labels are label for a given daemons
LabelsSpec (map[github.com/rook/rook/pkg/apis/ceph.rook.io/v1.KeyType]github.com/rook/rook/pkg/apis/ceph.rook.io/v1.Labels alias)
(Appears on:ClusterSpec)
LabelsSpec is the main spec label for all daemons
LocalCephxStatus
(Appears on:CephFilesystemStatus, FileMirrorStatus, NFSStatus, ObjectStoreStatus, RBDMirrorStatus)
| Field | Description |
|---|---|
daemonCephxStatus | Daemon shows the CephX key status for local Ceph daemons associated with this resources. |
LogCollectorSpec
(Appears on:ClusterSpec)
LogCollectorSpec is the logging spec
| Field | Description |
|---|---|
enabledbool | (Optional) Enabled represents whether the log collector is enabled |
periodicitystring | (Optional) Periodicity is the periodicity of the log rotation. |
maxLogSizek8s.io/apimachinery/pkg/api/resource.Quantity | (Optional) MaxLogSize is the maximum size of the log per ceph daemons. Must be at least 1M. |
MetadataServerSpec
(Appears on:FilesystemSpec)
MetadataServerSpec represents the specification of a Ceph Metadata Server
| Field | Description |
|---|---|
activeCountint32 | The number of metadata servers that are active. The remaining servers in the cluster will be in standby mode. |
activeStandbybool | (Optional) Whether each active MDS instance will have an active standby with a warm metadata cache for faster failover. If false, standbys will still be available, but will not have a warm metadata cache. |
placementPlacement | (Optional) The affinity to place the mds pods (default is to place on all available node) with a daemonset |
annotationsAnnotations | (Optional) The annotations-related configuration to add/set on each Pod related object. |
labelsLabels | (Optional) The labels-related configuration to add/set on each Pod related object. |
resourcesKubernetes core/v1.ResourceRequirements | (Optional) The resource requirements for the mds pods |
priorityClassNamestring | (Optional) PriorityClassName sets priority classes on components |
livenessProbeProbeSpec | (Optional) |
startupProbeProbeSpec | (Optional) |
cacheMemoryLimitFactorfloat64 | (Optional) CacheMemoryLimitFactor is the factor applied to the memory limit to determine the MDS cache memory limit. MDS cache memory limit should be set to 50-60% of RAM reserved for the MDS container. MDS uses approximately 125% of the value of mds_cache_memory_limit in RAM. This factor is applied when resources.limits.memory is set. |
cacheMemoryRequestFactorfloat64 | (Optional) CacheMemoryRequestFactor is the factor applied to the memory request to determine the MDS cache memory limit. This factor is applied when resources.requests.memory is set and resources.limits.memory is not set. |
MgrSpec
(Appears on:ClusterSpec)
MgrSpec represents options to configure a ceph mgr
| Field | Description |
|---|---|
countint | (Optional) Count is the number of manager daemons to run |
allowMultiplePerNodebool | (Optional) AllowMultiplePerNode allows to run multiple managers on the same node (not recommended) |
modules[]Module | (Optional) Modules is the list of ceph manager modules to enable/disable |
hostNetworkbool | (Optional) Whether host networking is enabled for the Ceph Mgr. If not set, the network settings from CephCluster.spec.networking will be applied. |
Migration
(Appears on:StorageScopeSpec)
Migration handles the OSD migration
| Field | Description |
|---|---|
confirmationstring | (Optional) A user confirmation to migrate the OSDs. It destroys each OSD one at a time, cleans up the backing disk and prepares OSD with same ID on that disk |
MigrationStatus
(Appears on:OSDStatus)
MigrationStatus status represents the current status of any OSD migration.
| Field | Description |
|---|---|
pendingint |
MirrorHealthCheckSpec
(Appears on:FilesystemSpec, PoolSpec)
MirrorHealthCheckSpec represents the health specification of a Ceph Storage Pool mirror
| Field | Description |
|---|---|
mirrorHealthCheckSpec | (Optional) |
MirroringInfo
(Appears on:MirroringInfoSpec)
MirroringInfo is the mirroring info of a given pool/radosnamespace
| Field | Description |
|---|---|
modestring | (Optional) Mode is the mirroring mode |
site_namestring | (Optional) SiteName is the current site name |
peers[]PeersSpec | (Optional) Peers are the list of peer sites connected to that cluster |
MirroringInfoSpec
(Appears on:CephBlockPoolRadosNamespaceStatus, CephBlockPoolStatus)
MirroringInfoSpec is the status of the pool/radosnamespace mirroring
| Field | Description |
|---|---|
MirroringInfoMirroringInfo | (Members of |
lastCheckedstring | (Optional) |
lastChangedstring | (Optional) |
detailsstring | (Optional) |
MirroringPeerSpec
(Appears on:FSMirroringSpec, MirroringSpec, RBDMirroringSpec)
MirroringPeerSpec represents the specification of a mirror peer
| Field | Description |
|---|---|
secretNames[]string | (Optional) SecretNames represents the Kubernetes Secret names to add rbd-mirror or cephfs-mirror peers |
MirroringSpec
(Appears on:PoolSpec)
MirroringSpec represents the setting for a mirrored pool
| Field | Description |
|---|---|
enabledbool | (Optional) Enabled whether this pool is mirrored or not |
modestring | (Optional) Mode is the mirroring mode: pool, image or init-only. |
snapshotSchedules[]SnapshotScheduleSpec | (Optional) SnapshotSchedules is the scheduling of snapshot for mirrored images/pools |
peersMirroringPeerSpec | (Optional) Peers represents the peers spec |
MirroringStatus
(Appears on:MirroringStatusSpec)
MirroringStatus is the pool/radosNamespace mirror status
| Field | Description |
|---|---|
summaryMirroringStatusSummarySpec | (Optional) Summary is the mirroring status summary |
MirroringStatusSpec
(Appears on:CephBlockPoolRadosNamespaceStatus, CephBlockPoolStatus)
MirroringStatusSpec is the status of the pool/radosNamespace mirroring
| Field | Description |
|---|---|
MirroringStatusMirroringStatus | (Members of MirroringStatus is the mirroring status of a pool/radosNamespace |
lastCheckedstring | (Optional) LastChecked is the last time time the status was checked |
lastChangedstring | (Optional) LastChanged is the last time time the status last changed |
detailsstring | (Optional) Details contains potential status errors |
MirroringStatusSummarySpec
(Appears on:MirroringStatus)
MirroringStatusSummarySpec is the summary output of the command
| Field | Description |
|---|---|
healthstring | (Optional) Health is the mirroring health |
daemon_healthstring | (Optional) DaemonHealth is the health of the mirroring daemon |
image_healthstring | (Optional) ImageHealth is the health of the mirrored image |
statesStatesSpec | (Optional) States is the various state for all mirrored images |
image_statesStatesSpec | (Optional) ImageStates is the various state for all mirrored images |
group_healthstring | (Optional) GroupHealth is the health of the mirrored image group |
group_statesStatesSpec | (Optional) GroupStates is the various state for all mirrored image groups |
Module
(Appears on:MgrSpec)
Module represents mgr modules that the user wants to enable or disable
| Field | Description |
|---|---|
namestring | (Optional) Name is the name of the ceph manager module |
enabledbool | (Optional) Enabled determines whether a module should be enabled or not |
settingsModuleSettings | Settings to further configure the module |
ModuleSettings
(Appears on:Module)
| Field | Description |
|---|---|
balancerModestring | BalancerMode sets the |
MonSpec
(Appears on:ClusterSpec)
MonSpec represents the specification of the monitor
| Field | Description |
|---|---|
countint | (Optional) Count is the number of Ceph monitors |
allowMultiplePerNodebool | (Optional) AllowMultiplePerNode determines if we can run multiple monitors on the same node (not recommended) |
failureDomainLabelstring | (Optional) |
zones[]MonZoneSpec | (Optional) Zones are specified when we want to provide zonal awareness to mons |
stretchClusterStretchClusterSpec | (Optional) StretchCluster is the stretch cluster specification |
volumeClaimTemplateVolumeClaimTemplate | (Optional) VolumeClaimTemplate is the PVC definition |
externalMonIDs[]string | (Optional) ExternalMonIDs - optional list of monitor IDs which are deployed externally and not managed by Rook. If set, Rook will not remove mons with given IDs from quorum. This parameter is used only for local Rook cluster running in normal mode and will be ignored if external or stretched mode is used. leading |
MonZoneSpec
(Appears on:MonSpec, StretchClusterSpec)
MonZoneSpec represents the specification of a zone in a Ceph Cluster
| Field | Description |
|---|---|
namestring | (Optional) Name is the name of the zone |
arbiterbool | (Optional) Arbiter determines if the zone contains the arbiter used for stretch cluster mode |
volumeClaimTemplateVolumeClaimTemplate | (Optional) VolumeClaimTemplate is the PVC template |
MonitoringSpec
(Appears on:ClusterSpec)
MonitoringSpec represents the settings for Prometheus based Ceph monitoring
| Field | Description |
|---|---|
enabledbool | (Optional) Enabled determines whether to create the prometheus rules for the ceph cluster. If true, the prometheus types must exist or the creation will fail. Default is false. |
metricsDisabledbool | (Optional) Whether to disable the metrics reported by Ceph. If false, the prometheus mgr module and Ceph exporter are enabled. If true, the prometheus mgr module and Ceph exporter are both disabled. Default is false. |
externalMgrEndpoints[]Kubernetes core/v1.EndpointAddress | (Optional) ExternalMgrEndpoints points to an existing Ceph prometheus exporter endpoint |
externalMgrPrometheusPortuint16 | (Optional) ExternalMgrPrometheusPort Prometheus exporter port |
portint | (Optional) Port is the prometheus server port |
intervalKubernetes meta/v1.Duration | (Optional) Interval determines prometheus scrape interval |
exporterCephExporterSpec | (Optional) Ceph exporter configuration |
MultiClusterServiceSpec
(Appears on:NetworkSpec)
| Field | Description |
|---|---|
enabledbool | (Optional) Enable multiClusterService to export the mon and OSD services to peer cluster. Ensure that peer clusters are connected using an MCS API compatible application, like Globalnet Submariner. |
clusterIDstring | ClusterID uniquely identifies a cluster. It is used as a prefix to nslookup exported services. For example: |
NFSGaneshaSpec
(Appears on:CephNFS)
NFSGaneshaSpec represents the spec of an nfs ganesha server
| Field | Description |
|---|---|
radosGaneshaRADOSSpec | (Optional) RADOS is the Ganesha RADOS specification |
serverGaneshaServerSpec | Server is the Ganesha Server specification |
securityNFSSecuritySpec | (Optional) Security allows specifying security configurations for the NFS cluster |
NFSSecuritySpec
(Appears on:NFSGaneshaSpec)
NFSSecuritySpec represents security configurations for an NFS server pod
| Field | Description |
|---|---|
sssdSSSDSpec | (Optional) SSSD enables integration with System Security Services Daemon (SSSD). SSSD can be used to provide user ID mapping from a number of sources. See https://sssd.io for more information about the SSSD project. |
kerberosKerberosSpec | (Optional) Kerberos configures NFS-Ganesha to secure NFS client connections with Kerberos. |
NFSStatus
(Appears on:CephNFS)
NFSStatus represents the status of Ceph NFS
| Field | Description |
|---|---|
StatusStatus | (Members of |
cephxLocalCephxStatus |
NamedBlockPoolSpec
(Appears on:CephBlockPool)
NamedBlockPoolSpec allows a block pool to be created with a non-default name. This is more specific than the NamedPoolSpec so we get schema validation on the allowed pool names that can be specified.
| Field | Description |
|---|---|
namestring | (Optional) The desired name of the pool if different from the CephBlockPool CR name. |
PoolSpecPoolSpec | (Members of The core pool configuration |
NamedPoolSpec
(Appears on:FilesystemSpec)
NamedPoolSpec represents the named ceph pool spec
| Field | Description |
|---|---|
namestring | Name of the pool |
PoolSpecPoolSpec | (Members of PoolSpec represents the spec of ceph pool |
NetworkProviderType (string alias)
(Appears on:NetworkSpec)
NetworkProviderType defines valid network providers for Rook.
| Value | Description |
|---|---|
"" | |
"host" | |
"multus" |
NetworkSpec
(Appears on:ClusterSpec)
NetworkSpec for Ceph includes backward compatibility code
| Field | Description |
|---|---|
providerNetworkProviderType | (Optional) Provider is what provides network connectivity to the cluster e.g. “host” or “multus”. If the Provider is updated from being empty to “host” on a running cluster, then the operator will automatically fail over all the mons to apply the “host” network settings. |
selectorsmap[github.com/rook/rook/pkg/apis/ceph.rook.io/v1.CephNetworkType]string | (Optional) Selectors define NetworkAttachmentDefinitions to be used for Ceph public and/or cluster networks when the “multus” network provider is used. This config section is not used for other network providers. Valid keys are “public” and “cluster”. Refer to Ceph networking documentation for more: https://docs.ceph.com/en/latest/rados/configuration/network-config-ref/ Refer to Multus network annotation documentation for help selecting values: https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/docs/how-to-use.md#run-pod-with-network-annotation Rook will make a best-effort attempt to automatically detect CIDR address ranges for given network attachment definitions. Rook’s methods are robust but may be imprecise for sufficiently complicated networks. Rook’s auto-detection process obtains a new IP address lease for each CephCluster reconcile. If Rook fails to detect, incorrectly detects, only partially detects, or if underlying networks do not support reusing old IP addresses, it is best to use the ‘addressRanges’ config section to specify CIDR ranges for the Ceph cluster. As a contrived example, one can use a theoretical Kubernetes-wide network for Ceph client traffic and a theoretical Rook-only network for Ceph replication traffic as shown: selectors: public: “default/cluster-fast-net” cluster: “rook-ceph/ceph-backend-net” |
addressRangesAddressRangesSpec | (Optional) AddressRanges specify a list of CIDRs that Rook will apply to Ceph’s ‘public_network’ and/or ‘cluster_network’ configurations. This config section may be used for the “host” or “multus” network providers. |
connectionsConnectionsSpec | (Optional) Settings for network connections such as compression and encryption across the wire. |
hostNetworkbool | (Optional) HostNetwork to enable host network. If host networking is enabled or disabled on a running cluster, then the operator will automatically fail over all the mons to apply the new network settings. |
ipFamilyIPFamilyType | (Optional) IPFamily is the single stack IPv6 or IPv4 protocol |
dualStackbool | (Optional) DualStack determines whether Ceph daemons should listen on both IPv4 and IPv6 |
multiClusterServiceMultiClusterServiceSpec | (Optional) Enable multiClusterService to export the Services between peer clusters |
Node
(Appears on:StorageScopeSpec)
Node is a storage nodes
| Field | Description |
|---|---|
namestring | (Optional) |
resourcesKubernetes core/v1.ResourceRequirements | (Optional) |
configmap[string]string | (Optional) |
SelectionSelection | (Members of |
NodesByName ([]github.com/rook/rook/pkg/apis/ceph.rook.io/v1.Node alias)
NodesByName implements an interface to sort nodes by name
NotificationFilterRule
(Appears on:NotificationFilterSpec)
NotificationFilterRule represent a single rule in the Notification Filter spec
| Field | Description |
|---|---|
namestring | Name of the metadata or tag |
valuestring | Value to filter on |
NotificationFilterSpec
(Appears on:BucketNotificationSpec)
NotificationFilterSpec represent the spec of a Bucket Notification filter
| Field | Description |
|---|---|
keyFilters[]NotificationKeyFilterRule | (Optional) Filters based on the object’s key |
metadataFilters[]NotificationFilterRule | (Optional) Filters based on the object’s metadata |
tagFilters[]NotificationFilterRule | (Optional) Filters based on the object’s tags |
NotificationKeyFilterRule
(Appears on:NotificationFilterSpec)
NotificationKeyFilterRule represent a single key rule in the Notification Filter spec
| Field | Description |
|---|---|
namestring | Name of the filter - prefix/suffix/regex |
valuestring | Value to filter on |
OSDStatus
(Appears on:CephStorage)
OSDStatus represents OSD status of the ceph Cluster
| Field | Description |
|---|---|
storeTypemap[string]int | StoreType is a mapping between the OSD backend stores and number of OSDs using these stores |
migrationStatusMigrationStatus |
OSDStore
(Appears on:StorageScopeSpec)
OSDStore is the backend storage type used for creating the OSDs
| Field | Description |
|---|---|
typestring | (Optional) Type of backend storage to be used while creating OSDs. If empty, then bluestore will be used |
updateStorestring | (Optional) UpdateStore updates the backend store for existing OSDs. It destroys each OSD one at a time, cleans up the backing disk and prepares same OSD on that disk |
ObjectEndpointSpec
(Appears on:ObjectStoreHostingSpec)
ObjectEndpointSpec represents an object store endpoint
| Field | Description |
|---|---|
dnsNamestring | DnsName is the DNS name (in RFC-1123 format) of the endpoint. If the DNS name corresponds to an endpoint with DNS wildcard support, do not include the wildcard itself in the list of hostnames. E.g., use “mystore.example.com” instead of “*.mystore.example.com”. |
portint32 | Port is the port on which S3 connections can be made for this endpoint. |
useTlsbool | UseTls defines whether the endpoint uses TLS (HTTPS) or not (HTTP). |
ObjectEndpoints
(Appears on:ObjectStoreStatus)
| Field | Description |
|---|---|
insecure[]string | (Optional) |
secure[]string | (Optional) |
ObjectHealthCheckSpec
(Appears on:ObjectStoreSpec)
ObjectHealthCheckSpec represents the health check of an object store
ObjectRealmSpec
(Appears on:CephObjectRealm)
ObjectRealmSpec represent the spec of an ObjectRealm
| Field | Description |
|---|---|
pullPullSpec | |
defaultRealmbool | (Optional) Set this realm as the default in Ceph. Only one realm should be default. |
ObjectSharedPoolsSpec
(Appears on:ObjectStoreSpec, ObjectZoneSpec)
ObjectSharedPoolsSpec represents object store pool info when configuring RADOS namespaces in existing pools.
| Field | Description |
|---|---|
metadataPoolNamestring | (Optional) The metadata pool used for creating RADOS namespaces in the object store |
dataPoolNamestring | (Optional) The data pool used for creating RADOS namespaces in the object store |
preserveRadosNamespaceDataOnDeletebool | (Optional) Whether the RADOS namespaces should be preserved on deletion of the object store |
poolPlacements[]PoolPlacementSpec | (Optional) PoolPlacements control which Pools are associated with a particular RGW bucket. Once PoolPlacements are defined, RGW client will be able to associate pool with ObjectStore bucket by providing “ |
ObjectStoreAPI (string alias)
(Appears on:ProtocolSpec)
ObjectStoreHostingSpec
(Appears on:ObjectStoreSpec)
ObjectStoreHostingSpec represents the hosting settings for the object store
| Field | Description |
|---|---|
advertiseEndpointObjectEndpointSpec | (Optional) AdvertiseEndpoint is the default endpoint Rook will return for resources dependent on this object store. This endpoint will be returned to CephObjectStoreUsers, Object Bucket Claims, and COSI Buckets/Accesses. By default, Rook returns the endpoint for the object store’s Kubernetes service using HTTPS with |
dnsNames[]string | (Optional) A list of DNS host names on which object store gateways will accept client S3 connections. When specified, object store gateways will reject client S3 connections to hostnames that are not present in this list, so include all endpoints. The object store’s advertiseEndpoint and Kubernetes service endpoint, plus CephObjectZone |
ObjectStoreSecuritySpec
(Appears on:ObjectStoreSpec)
ObjectStoreSecuritySpec is spec to define security features like encryption
| Field | Description |
|---|---|
SecuritySpecSecuritySpec | (Optional) |
s3KeyManagementServiceSpec | (Optional) The settings for supporting AWS-SSE:S3 with RGW |
ObjectStoreSpec
(Appears on:CephObjectStore)
ObjectStoreSpec represent the spec of a pool
| Field | Description |
|---|---|
metadataPoolPoolSpec | (Optional) The metadata pool settings |
dataPoolPoolSpec | (Optional) The data pool settings |
sharedPoolsObjectSharedPoolsSpec | (Optional) The pool information when configuring RADOS namespaces in existing pools. |
preservePoolsOnDeletebool | (Optional) Preserve pools on object store deletion |
gatewayGatewaySpec | (Optional) The rgw pod info |
protocolsProtocolSpec | (Optional) The protocol specification |
authAuthSpec | (Optional) The authentication configuration |
zoneZoneSpec | (Optional) The multisite info |
healthCheckObjectHealthCheckSpec | (Optional) The RGW health probes |
securityObjectStoreSecuritySpec | (Optional) Security represents security settings |
allowUsersInNamespaces[]string | (Optional) The list of allowed namespaces in addition to the object store namespace where ceph object store users may be created. Specify “*” to allow all namespaces, otherwise list individual namespaces that are to be allowed. This is useful for applications that need object store credentials to be created in their own namespace, where neither OBCs nor COSI is being used to create buckets. The default is empty. |
hostingObjectStoreHostingSpec | (Optional) Hosting settings for the object store. A common use case for hosting configuration is to inform Rook of endpoints that support DNS wildcards, which in turn allows virtual host-style bucket addressing. |
defaultRealmbool | (Optional) Set this realm as the default in Ceph. Only one realm should be default. Do not set this true on more than one CephObjectStore. This may not be set when zone is also specified; in this case, the realm referenced by the zone’s zonegroup should configure defaulting behavior. |
ObjectStoreStatus
(Appears on:CephObjectStore)
ObjectStoreStatus represents the status of a Ceph Object Store resource
| Field | Description |
|---|---|
phaseConditionType | (Optional) |
messagestring | (Optional) |
endpointsObjectEndpoints | (Optional) |
infomap[string]string | (Optional) |
cephxLocalCephxStatus | |
conditions[]Condition | |
observedGenerationint64 | (Optional) ObservedGeneration is the latest generation observed by the controller. |
ObjectStoreUserSpec
(Appears on:CephObjectStoreUser)
ObjectStoreUserSpec represent the spec of an Objectstoreuser
| Field | Description |
|---|---|
storestring | (Optional) The store the user will be created in |
displayNamestring | (Optional) The display name for the ceph user. |
capabilitiesObjectUserCapSpec | (Optional) |
quotasObjectUserQuotaSpec | (Optional) |
keys[]ObjectUserKey | (Optional) Allows specifying credentials for the user. If not provided, the operator will generate them. |
clusterNamespacestring | (Optional) The namespace where the parent CephCluster and CephObjectStore are found |
ObjectStoreUserStatus
(Appears on:CephObjectStoreUser)
ObjectStoreUserStatus represents the status Ceph Object Store Gateway User
| Field | Description |
|---|---|
phasestring | (Optional) |
infomap[string]string | (Optional) |
observedGenerationint64 | (Optional) ObservedGeneration is the latest generation observed by the controller. |
keys[]SecretReference | (Optional) |
ObjectUserCapSpec
(Appears on:ObjectStoreUserSpec)
Additional admin-level capabilities for the Ceph object store user
| Field | Description |
|---|---|
userstring | (Optional) Admin capabilities to read/write Ceph object store users. Documented in https://docs.ceph.com/en/latest/radosgw/admin/?#add-remove-admin-capabilities |
usersstring | (Optional) Admin capabilities to read/write Ceph object store users. Documented in https://docs.ceph.com/en/latest/radosgw/admin/?#add-remove-admin-capabilities |
bucketstring | (Optional) Admin capabilities to read/write Ceph object store buckets. Documented in https://docs.ceph.com/en/latest/radosgw/admin/?#add-remove-admin-capabilities |
bucketsstring | (Optional) Admin capabilities to read/write Ceph object store buckets. Documented in https://docs.ceph.com/en/latest/radosgw/admin/?#add-remove-admin-capabilities |
metadatastring | (Optional) Admin capabilities to read/write Ceph object store metadata. Documented in https://docs.ceph.com/en/latest/radosgw/admin/?#add-remove-admin-capabilities |
usagestring | (Optional) Admin capabilities to read/write Ceph object store usage. Documented in https://docs.ceph.com/en/latest/radosgw/admin/?#add-remove-admin-capabilities |
zonestring | (Optional) Admin capabilities to read/write Ceph object store zones. Documented in https://docs.ceph.com/en/latest/radosgw/admin/?#add-remove-admin-capabilities |
rolesstring | (Optional) Admin capabilities to read/write roles for user. Documented in https://docs.ceph.com/en/latest/radosgw/admin/?#add-remove-admin-capabilities |
infostring | (Optional) Admin capabilities to read/write information about the user. Documented in https://docs.ceph.com/en/latest/radosgw/admin/?#add-remove-admin-capabilities |
amz-cachestring | (Optional) Add capabilities for user to send request to RGW Cache API header. Documented in https://docs.ceph.com/en/latest/radosgw/rgw-cache/#cache-api |
bilogstring | (Optional) Add capabilities for user to change bucket index logging. Documented in https://docs.ceph.com/en/latest/radosgw/admin/?#add-remove-admin-capabilities |
mdlogstring | (Optional) Add capabilities for user to change metadata logging. Documented in https://docs.ceph.com/en/latest/radosgw/admin/?#add-remove-admin-capabilities |
datalogstring | (Optional) Add capabilities for user to change data logging. Documented in https://docs.ceph.com/en/latest/radosgw/admin/?#add-remove-admin-capabilities |
user-policystring | (Optional) Add capabilities for user to change user policies. Documented in https://docs.ceph.com/en/latest/radosgw/admin/?#add-remove-admin-capabilities |
oidc-providerstring | (Optional) Add capabilities for user to change oidc provider. Documented in https://docs.ceph.com/en/latest/radosgw/admin/?#add-remove-admin-capabilities |
ratelimitstring | (Optional) Add capabilities for user to set rate limiter for user and bucket. Documented in https://docs.ceph.com/en/latest/radosgw/admin/?#add-remove-admin-capabilities |
ObjectUserKey
(Appears on:ObjectStoreUserSpec)
ObjectUserKey defines a set of rgw user access credentials to be retrieved from secret resources.
| Field | Description |
|---|---|
accessKeyRefKubernetes core/v1.SecretKeySelector | Secret key selector for the access_key (commonly referred to as AWS_ACCESS_KEY_ID). |
secretKeyRefKubernetes core/v1.SecretKeySelector | Secret key selector for the secret_key (commonly referred to as AWS_SECRET_ACCESS_KEY). |
ObjectUserQuotaSpec
(Appears on:ObjectStoreUserSpec)
ObjectUserQuotaSpec can be used to set quotas for the object store user to limit their usage. See the Ceph docs for more
| Field | Description |
|---|---|
maxBucketsint | (Optional) Maximum bucket limit for the ceph user |
maxSizek8s.io/apimachinery/pkg/api/resource.Quantity | (Optional) Maximum size limit of all objects across all the user’s buckets See https://pkg.go.dev/k8s.io/apimachinery/pkg/api/resource#Quantity for more info. |
maxObjectsint64 | (Optional) Maximum number of objects across all the user’s buckets |
ObjectZoneGroupSpec
(Appears on:CephObjectZoneGroup)
ObjectZoneGroupSpec represent the spec of an ObjectZoneGroup
| Field | Description |
|---|---|
realmstring | The name of the realm the zone group is a member of. |
ObjectZoneSpec
(Appears on:CephObjectZone)
ObjectZoneSpec represent the spec of an ObjectZone
| Field | Description |
|---|---|
zoneGroupstring | The name of the zone group the zone is a member of. |
metadataPoolPoolSpec | (Optional) The metadata pool settings |
dataPoolPoolSpec | (Optional) The data pool settings |
sharedPoolsObjectSharedPoolsSpec | (Optional) The pool information when configuring RADOS namespaces in existing pools. |
customEndpoints[]string | (Optional) If this zone cannot be accessed from other peer Ceph clusters via the ClusterIP Service endpoint created by Rook, you must set this to the externally reachable endpoint(s). You may include the port in the definition. For example: “https://my-object-store.my-domain.net:443”. In many cases, you should set this to the endpoint of the ingress resource that makes the CephObjectStore associated with this CephObjectStoreZone reachable to peer clusters. The list can have one or more endpoints pointing to different RGW servers in the zone. If a CephObjectStore endpoint is omitted from this list, that object store’s gateways will not receive multisite replication data (see CephObjectStore.spec.gateway.disableMultisiteSyncTraffic). |
preservePoolsOnDeletebool | (Optional) Preserve pools on object zone deletion |
OpsLogSidecar
(Appears on:GatewaySpec)
RGWLoggingSpec is intended to extend the s3/swift logging for client operations
| Field | Description |
|---|---|
resourcesKubernetes core/v1.ResourceRequirements | (Optional) Resources represents the way to specify resource requirements for the ops-log sidecar |
PeerRemoteSpec
(Appears on:FilesystemMirrorInfoPeerSpec)
| Field | Description |
|---|---|
client_namestring | (Optional) ClientName is cephx name |
cluster_namestring | (Optional) ClusterName is the name of the cluster |
fs_namestring | (Optional) FsName is the filesystem name |
PeerStatSpec
(Appears on:FilesystemMirrorInfoPeerSpec)
PeerStatSpec are the mirror stat with a given peer
| Field | Description |
|---|---|
failure_countint | (Optional) FailureCount is the number of mirroring failure |
recovery_countint | (Optional) RecoveryCount is the number of recovery attempted after failures |
PeerTokenCephxStatus
(Appears on:CephBlockPoolStatus)
PeerTokenCephxStatus represents the cephx key rotation status for peer tokens
| Field | Description |
|---|---|
peerTokenCephxStatus | PeerToken shows the rotation status of the peer token associated with the |
PeersSpec
(Appears on:MirroringInfo)
PeersSpec contains peer details
| Field | Description |
|---|---|
uuidstring | (Optional) UUID is the peer UUID |
directionstring | (Optional) Direction is the peer mirroring direction |
site_namestring | (Optional) SiteName is the current site name |
mirror_uuidstring | (Optional) MirrorUUID is the mirror UUID |
client_namestring | (Optional) ClientName is the CephX user used to connect to the peer |
Placement
(Appears on:CephCOSIDriverSpec, FilesystemMirroringSpec, GaneshaServerSpec, GatewaySpec, MetadataServerSpec, RBDMirroringSpec, StorageClassDeviceSet)
Placement is the placement for an object
| Field | Description |
|---|---|
nodeAffinityKubernetes core/v1.NodeAffinity | (Optional) NodeAffinity is a group of node affinity scheduling rules |
podAffinityKubernetes core/v1.PodAffinity | (Optional) PodAffinity is a group of inter pod affinity scheduling rules |
podAntiAffinityKubernetes core/v1.PodAntiAffinity | (Optional) PodAntiAffinity is a group of inter pod anti affinity scheduling rules |
tolerations[]Kubernetes core/v1.Toleration | (Optional) The pod this Toleration is attached to tolerates any taint that matches the triple |
topologySpreadConstraints[]Kubernetes core/v1.TopologySpreadConstraint | (Optional) TopologySpreadConstraints specifies how to spread matching pods among the given topology |
PlacementSpec (map[github.com/rook/rook/pkg/apis/ceph.rook.io/v1.KeyType]github.com/rook/rook/pkg/apis/ceph.rook.io/v1.Placement alias)
(Appears on:ClusterSpec)
PlacementSpec is the placement for core ceph daemons part of the CephCluster CRD
PlacementStorageClassSpec
(Appears on:PoolPlacementSpec)
| Field | Description |
|---|---|
namestring | Name is the StorageClass name. Ceph allows arbitrary name for StorageClasses, however most clients/libs insist on AWS names so it is recommended to use one of the valid x-amz-storage-class values for better compatibility: REDUCED_REDUNDANCY | STANDARD_IA | ONEZONE_IA | INTELLIGENT_TIERING | GLACIER | DEEP_ARCHIVE | OUTPOSTS | GLACIER_IR | SNOW | EXPRESS_ONEZONE See AWS docs: https://aws.amazon.com/de/s3/storage-classes/ |
dataPoolNamestring | DataPoolName is the data pool used to store ObjectStore objects data. |
PoolPlacementSpec
(Appears on:ObjectSharedPoolsSpec)
| Field | Description |
|---|---|
namestring | Pool placement name. Name can be arbitrary. Placement with name “default” will be used as default. |
defaultbool | (Optional) Sets given placement as default. Only one placement in the list can be marked as default. Default is false. |
metadataPoolNamestring | The metadata pool used to store ObjectStore bucket index. |
dataPoolNamestring | The data pool used to store ObjectStore objects data. |
dataNonECPoolNamestring | (Optional) The data pool used to store ObjectStore data that cannot use erasure coding (ex: multi-part uploads). If dataPoolName is not erasure coded, then there is no need for dataNonECPoolName. |
storageClasses[]PlacementStorageClassSpec | (Optional) StorageClasses can be selected by user to override dataPoolName during object creation. Each placement has default STANDARD StorageClass pointing to dataPoolName. This list allows defining additional StorageClasses on top of default STANDARD storage class. |
PoolSpec
(Appears on:NamedBlockPoolSpec, NamedPoolSpec, ObjectStoreSpec, ObjectZoneSpec)
PoolSpec represents the spec of ceph pool
| Field | Description |
|---|---|
failureDomainstring | (Optional) The failure domain: osd/host/(region or zone if available) - technically also any type in the crush map |
crushRootstring | (Optional) The root of the crush hierarchy utilized by the pool |
deviceClassstring | (Optional) The device class the OSD should set to for use in the pool |
enableCrushUpdatesbool | (Optional) Allow rook operator to change the pool CRUSH tunables once the pool is created |
compressionModestring | (Optional) DEPRECATED: use Parameters instead, e.g., Parameters[“compression_mode”] = “force” The inline compression mode in Bluestore OSD to set to (options are: none, passive, aggressive, force) Do NOT set a default value for kubebuilder as this will override the Parameters |
replicatedReplicatedSpec | (Optional) The replication settings |
erasureCodedErasureCodedSpec | (Optional) The erasure code settings |
parametersmap[string]string | (Optional) Parameters is a list of properties to enable on a given pool |
enableRBDStatsbool | EnableRBDStats is used to enable gathering of statistics for all RBD images in the pool |
mirroringMirroringSpec | The mirroring settings |
statusCheckMirrorHealthCheckSpec | The mirroring statusCheck |
quotasQuotaSpec | (Optional) The quota settings |
applicationstring | (Optional) The application name to set on the pool. Only expected to be set for rgw pools. |
PriorityClassNamesSpec (map[github.com/rook/rook/pkg/apis/ceph.rook.io/v1.KeyType]string alias)
(Appears on:ClusterSpec)
PriorityClassNamesSpec is a map of priority class names to be assigned to components
ProbeSpec
(Appears on:GaneshaServerSpec, MetadataServerSpec, ObjectHealthCheckSpec)
ProbeSpec is a wrapper around Probe so it can be enabled or disabled for a Ceph daemon
| Field | Description |
|---|---|
disabledbool | (Optional) Disabled determines whether probe is disable or not |
probeKubernetes core/v1.Probe | (Optional) Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. |
ProtocolSpec
(Appears on:ObjectStoreSpec)
ProtocolSpec represents a Ceph Object Store protocol specification
| Field | Description |
|---|---|
enableAPIs[]ObjectStoreAPI | (Optional) Represents RGW ‘rgw_enable_apis’ config option. See: https://docs.ceph.com/en/reef/radosgw/config-ref/#confval-rgw_enable_apis If no value provided then all APIs will be enabled: s3, s3website, swift, swift_auth, admin, sts, iam, notifications If enabled APIs are set, all remaining APIs will be disabled. This option overrides S3.Enabled value. |
s3S3Spec | (Optional) The spec for S3 |
swiftSwiftSpec | (Optional) The spec for Swift |
PullSpec
(Appears on:ObjectRealmSpec)
PullSpec represents the pulling specification of a Ceph Object Storage Gateway Realm
| Field | Description |
|---|---|
endpointstring |
QuotaSpec
(Appears on:PoolSpec)
QuotaSpec represents the spec for quotas in a pool
| Field | Description |
|---|---|
maxBytesuint64 | (Optional) MaxBytes represents the quota in bytes Deprecated in favor of MaxSize |
maxSizestring | (Optional) MaxSize represents the quota in bytes as a string |
maxObjectsuint64 | (Optional) MaxObjects represents the quota in objects |
RBDMirrorStatus
(Appears on:CephRBDMirror)
RBDMirrorStatus represents the status of the RBD mirror resource
| Field | Description |
|---|---|
StatusStatus | (Members of |
cephxLocalCephxStatus |
RBDMirroringSpec
(Appears on:CephRBDMirror)
RBDMirroringSpec represents the specification of an RBD mirror daemon
| Field | Description |
|---|---|
countint | Count represents the number of rbd mirror instance to run |
peersMirroringPeerSpec | (Optional) Peers represents the peers spec |
placementPlacement | (Optional) The affinity to place the rgw pods (default is to place on any available node) |
annotationsAnnotations | (Optional) The annotations-related configuration to add/set on each Pod related object. |
labelsLabels | (Optional) The labels-related configuration to add/set on each Pod related object. |
resourcesKubernetes core/v1.ResourceRequirements | (Optional) The resource requirements for the rbd mirror pods |
priorityClassNamestring | (Optional) PriorityClassName sets priority class on the rbd mirror pods |
RGWServiceSpec
(Appears on:GatewaySpec)
RGWServiceSpec represent the spec for RGW service
| Field | Description |
|---|---|
annotationsAnnotations | The annotations-related configuration to add/set on each rgw service. nullable optional |
RadosNamespaceMirroring
(Appears on:CephBlockPoolRadosNamespaceSpec)
RadosNamespaceMirroring represents the mirroring configuration of CephBlockPoolRadosNamespace
| Field | Description |
|---|---|
remoteNamespacestring | (Optional) RemoteNamespace is the name of the CephBlockPoolRadosNamespace on the secondary cluster CephBlockPool |
modeRadosNamespaceMirroringMode | Mode is the mirroring mode; either pool or image. |
snapshotSchedules[]SnapshotScheduleSpec | (Optional) SnapshotSchedules is the scheduling of snapshot for mirrored images |
RadosNamespaceMirroringMode (string alias)
(Appears on:RadosNamespaceMirroring)
RadosNamespaceMirroringMode represents the mode of the RadosNamespace
| Value | Description |
|---|---|
"image" | RadosNamespaceMirroringModeImage represents the image mode |
"pool" | RadosNamespaceMirroringModePool represents the pool mode |
ReadAffinitySpec
(Appears on:CSIDriverSpec)
ReadAffinitySpec defines the read affinity settings for CSI driver.
| Field | Description |
|---|---|
enabledbool | (Optional) Enables read affinity for CSI driver. |
crushLocationLabels[]string | (Optional) CrushLocationLabels defines which node labels to use as CRUSH location. This should correspond to the values set in the CRUSH map. |
ReplicatedSpec
(Appears on:PoolSpec)
ReplicatedSpec represents the spec for replication in a pool
| Field | Description |
|---|---|
sizeuint | Size - Number of copies per object in a replicated storage pool, including the object itself (required for replicated pool type) |
targetSizeRatiofloat64 | (Optional) TargetSizeRatio gives a hint (%) to Ceph in terms of expected consumption of the total cluster capacity |
requireSafeReplicaSizebool | (Optional) RequireSafeReplicaSize if false allows you to set replica 1 |
replicasPerFailureDomainuint | (Optional) ReplicasPerFailureDomain the number of replica in the specified failure domain |
subFailureDomainstring | (Optional) SubFailureDomain the name of the sub-failure domain |
hybridStorageHybridStorageSpec | (Optional) HybridStorage represents hybrid storage tier settings |
ResourceSpec (map[string]k8s.io/api/core/v1.ResourceRequirements alias)
(Appears on:ClusterSpec)
ResourceSpec is a collection of ResourceRequirements that describes the compute resource requirements
RgwReadAffinity
(Appears on:GatewaySpec)
| Field | Description |
|---|---|
typestring | Type defines the RGW ReadAffinity type localize: read from the nearest OSD based on crush location of the RGW client balance: picks a random OSD from the PG’s active set default: read from the primary OSD |
S3Spec
(Appears on:ProtocolSpec)
S3Spec represents Ceph Object Store specification for the S3 API
| Field | Description |
|---|---|
enabledbool | (Optional) Deprecated: use protocol.enableAPIs instead. Whether to enable S3. This defaults to true (even if protocols.s3 is not present in the CRD). This maintains backwards compatibility – by default S3 is enabled. |
authUseKeystonebool | (Optional) Whether to use Keystone for authentication. This option maps directly to the rgw_s3_auth_use_keystone option. Enabling it allows generating S3 credentials via an OpenStack API call, see the docs. If not given, the defaults of the corresponding RGW option apply. |
SSSDSidecar
(Appears on:SSSDSpec)
SSSDSidecar represents configuration when SSSD is run in a sidecar.
| Field | Description |
|---|---|
imagestring | Image defines the container image that should be used for the SSSD sidecar. |
sssdConfigFileSSSDSidecarConfigFile | (Optional) SSSDConfigFile defines where the SSSD configuration should be sourced from. The config file will be placed into |
additionalFilesAdditionalVolumeMounts | (Optional) AdditionalFiles defines any number of additional files that should be mounted into the SSSD sidecar with a directory root of |
resourcesKubernetes core/v1.ResourceRequirements | (Optional) Resources allow specifying resource requests/limits on the SSSD sidecar container. |
debugLevelint | (Optional) DebugLevel sets the debug level for SSSD. If unset or set to 0, Rook does nothing. Otherwise, this may be a value between 1 and 10. See SSSD docs for more info: https://sssd.io/troubleshooting/basics.html#sssd-debug-logs |
SSSDSidecarConfigFile
(Appears on:SSSDSidecar)
SSSDSidecarConfigFile represents the source(s) from which the SSSD configuration should come.
| Field | Description |
|---|---|
volumeSourceConfigFileVolumeSource | VolumeSource accepts a pared down version of the standard Kubernetes VolumeSource for the SSSD configuration file like what is normally used to configure Volumes for a Pod. For example, a ConfigMap, Secret, or HostPath. There are two requirements for the source’s content: 1. The config file must be mountable via |
SSSDSpec
(Appears on:NFSSecuritySpec)
SSSDSpec represents configuration for System Security Services Daemon (SSSD).
| Field | Description |
|---|---|
sidecarSSSDSidecar | (Optional) Sidecar tells Rook to run SSSD in a sidecar alongside the NFS-Ganesha server in each NFS pod. |
SanitizeDataSourceProperty (string alias)
(Appears on:SanitizeDisksSpec)
SanitizeDataSourceProperty represents a sanitizing data source
| Value | Description |
|---|---|
"random" | SanitizeDataSourceRandom uses `shred’s default entropy source |
"zero" | SanitizeDataSourceZero uses /dev/zero as sanitize source |
SanitizeDisksSpec
(Appears on:CleanupPolicySpec)
SanitizeDisksSpec represents a disk sanitizing specification
| Field | Description |
|---|---|
methodSanitizeMethodProperty | (Optional) Method is the method we use to sanitize disks |
dataSourceSanitizeDataSourceProperty | (Optional) DataSource is the data source to use to sanitize the disk with |
iterationint32 | (Optional) Iteration is the number of pass to apply the sanitizing |
SanitizeMethodProperty (string alias)
(Appears on:SanitizeDisksSpec)
SanitizeMethodProperty represents a disk sanitizing method
| Value | Description |
|---|---|
"complete" | SanitizeMethodComplete will sanitize everything on the disk |
"quick" | SanitizeMethodQuick will sanitize metadata only on the disk |
SecretReference
(Appears on:BucketTopicStatus, ObjectStoreUserStatus)
| Field | Description |
|---|---|
,secretReferenceKubernetes core/v1.SecretReference | |
uidk8s.io/apimachinery/pkg/types.UID | |
resourceVersionstring |
SecuritySpec
(Appears on:ObjectStoreSecuritySpec)
SecuritySpec is security spec to include various security items such as kms
| Field | Description |
|---|---|
kmsKeyManagementServiceSpec | (Optional) KeyManagementService is the main Key Management option |
keyRotationKeyRotationSpec | (Optional) KeyRotation defines options for Key Rotation. |
Selection
(Appears on:Node, StorageScopeSpec)
| Field | Description |
|---|---|
useAllDevicesbool | (Optional) Whether to consume all the storage devices found on a machine |
deviceFilterstring | (Optional) A regular expression to allow more fine-grained selection of devices on nodes across the cluster |
devicePathFilterstring | (Optional) A regular expression to allow more fine-grained selection of devices with path names |
devices[]Device | (Optional) List of devices to use as storage devices |
volumeClaimTemplates[]VolumeClaimTemplate | (Optional) PersistentVolumeClaims to use as storage |
SnapshotSchedule
(Appears on:SnapshotSchedulesSpec)
SnapshotSchedule is a schedule
| Field | Description |
|---|---|
intervalstring | (Optional) Interval is the interval in which snapshots will be taken |
start_timestring | (Optional) StartTime is the snapshot starting time |
SnapshotScheduleRetentionSpec
(Appears on:FSMirroringSpec)
SnapshotScheduleRetentionSpec is a retention policy
| Field | Description |
|---|---|
pathstring | (Optional) Path is the path to snapshot |
durationstring | (Optional) Duration represents the retention duration for a snapshot |
SnapshotScheduleSpec
(Appears on:FSMirroringSpec, MirroringSpec, RadosNamespaceMirroring)
SnapshotScheduleSpec represents the snapshot scheduling settings of a mirrored pool
| Field | Description |
|---|---|
pathstring | (Optional) Path is the path to snapshot, only valid for CephFS |
intervalstring | (Optional) Interval represent the periodicity of the snapshot. |
startTimestring | (Optional) StartTime indicates when to start the snapshot |
SnapshotScheduleStatusSpec
(Appears on:CephBlockPoolRadosNamespaceStatus, CephBlockPoolStatus)
SnapshotScheduleStatusSpec is the status of the snapshot schedule
| Field | Description |
|---|---|
snapshotSchedules[]SnapshotSchedulesSpec | (Optional) SnapshotSchedules is the list of snapshots scheduled |
lastCheckedstring | (Optional) LastChecked is the last time time the status was checked |
lastChangedstring | (Optional) LastChanged is the last time time the status last changed |
detailsstring | (Optional) Details contains potential status errors |
SnapshotSchedulesSpec
(Appears on:SnapshotScheduleStatusSpec)
SnapshotSchedulesSpec is the list of snapshot scheduled for images in a pool
| Field | Description |
|---|---|
poolstring | (Optional) Pool is the pool name |
namespacestring | (Optional) Namespace is the RADOS namespace the image is part of |
imagestring | (Optional) Image is the mirrored image |
items[]SnapshotSchedule | (Optional) Items is the list schedules times for a given snapshot |
StatesSpec
(Appears on:MirroringStatusSummarySpec)
StatesSpec are rbd images mirroring state
| Field | Description |
|---|---|
starting_replayint | (Optional) StartingReplay is when the replay of the mirroring journal starts |
replayingint | (Optional) Replaying is when the replay of the mirroring journal is on-going |
syncingint | (Optional) Syncing is when the image is syncing |
stopping_replayint | (Optional) StopReplaying is when the replay of the mirroring journal stops |
stoppedint | (Optional) Stopped is when the mirroring state is stopped |
unknownint | (Optional) Unknown is when the mirroring state is unknown |
errorint | (Optional) Error is when the mirroring state is errored |
Status
(Appears on:CephBucketNotification, CephObjectRealm, CephObjectZone, CephObjectZoneGroup, FileMirrorStatus, NFSStatus, RBDMirrorStatus)
Status represents the status of an object
| Field | Description |
|---|---|
phasestring | (Optional) |
observedGenerationint64 | (Optional) ObservedGeneration is the latest generation observed by the controller. |
conditions[]Condition |
StorageClassDeviceSet
(Appears on:StorageScopeSpec)
StorageClassDeviceSet is a storage class device set
| Field | Description |
|---|---|
namestring | Name is a unique identifier for the set |
countint | Count is the number of devices in this set |
resourcesKubernetes core/v1.ResourceRequirements | (Optional) |
placementPlacement | (Optional) |
preparePlacementPlacement | (Optional) |
configmap[string]string | (Optional) Provider-specific device configuration |
volumeClaimTemplates[]VolumeClaimTemplate | VolumeClaimTemplates is a list of PVC templates for the underlying storage devices |
portablebool | (Optional) Portable represents OSD portability across the hosts |
tuneDeviceClassbool | (Optional) TuneSlowDeviceClass Tune the OSD when running on a slow Device Class |
tuneFastDeviceClassbool | (Optional) TuneFastDeviceClass Tune the OSD when running on a fast Device Class |
schedulerNamestring | (Optional) Scheduler name for OSD pod placement |
encryptedbool | (Optional) Whether to encrypt the deviceSet |
StorageScopeSpec
(Appears on:ClusterSpec)
| Field | Description |
|---|---|
nodes[]Node | (Optional) |
useAllNodesbool | (Optional) |
scheduleAlwaysbool | (Optional) Whether to always schedule OSDs on a node even if the node is not currently scheduleable or ready |
onlyApplyOSDPlacementbool | (Optional) |
configmap[string]string | (Optional) |
SelectionSelection | (Members of |
storageClassDeviceSets[]StorageClassDeviceSet | (Optional) |
migrationMigration | (Optional) Migration handles the OSD migration |
storeOSDStore | (Optional) |
flappingRestartIntervalHoursint | (Optional) FlappingRestartIntervalHours defines the time for which the OSD pods, that failed with zero exit code, will sleep before restarting. This is needed for OSD flapping where OSD daemons are marked down more than 5 times in 600 seconds by Ceph. Preventing the OSD pods to restart immediately in such scenarios will prevent Rook from marking OSD as |
fullRatiofloat64 | (Optional) FullRatio is the ratio at which the cluster is considered full and ceph will stop accepting writes. Default is 0.95. |
nearFullRatiofloat64 | (Optional) NearFullRatio is the ratio at which the cluster is considered nearly full and will raise a ceph health warning. Default is 0.85. |
backfillFullRatiofloat64 | (Optional) BackfillFullRatio is the ratio at which the cluster is too full for backfill. Backfill will be disabled if above this threshold. Default is 0.90. |
allowDeviceClassUpdatebool | (Optional) Whether to allow updating the device class after the OSD is initially provisioned |
allowOsdCrushWeightUpdatebool | (Optional) Whether Rook will resize the OSD CRUSH weight when the OSD PVC size is increased. This allows cluster data to be rebalanced to make most effective use of new OSD space. The default is false since data rebalancing can cause temporary cluster slowdown. |
osdMaxUpdatesInParalleluint32 | (Optional) The maximum number of OSDs to update in parallel. |
StoreType (string alias)
| Value | Description |
|---|---|
"bluestore" | StoreTypeBlueStore is the bluestore backend storage for OSDs |
"bluestore-rdr" | StoreTypeBlueStoreRDR is the bluestore-rdr backed storage for OSDs |
StretchClusterSpec
(Appears on:MonSpec)
StretchClusterSpec represents the specification of a stretched Ceph Cluster
| Field | Description |
|---|---|
failureDomainLabelstring | (Optional) FailureDomainLabel the failure domain name (e,g: zone) |
subFailureDomainstring | (Optional) SubFailureDomain is the failure domain within a zone |
zones[]MonZoneSpec | (Optional) Zones is the list of zones |
SwiftSpec
(Appears on:ProtocolSpec)
SwiftSpec represents Ceph Object Store specification for the Swift API
| Field | Description |
|---|---|
accountInUrlbool | (Optional) Whether or not the Swift account name should be included in the Swift API URL. If set to false (the default), then the Swift API will listen on a URL formed like http://host:port/ |
urlPrefixstring | (Optional) The URL prefix for the Swift API, to distinguish it from the S3 API endpoint. The default is swift, which makes the Swift API available at the URL http://host:port/swift/v1 (or http://host:port/swift/v1/AUTH_%(tenant_id)s if rgw swift account in url is enabled). |
versioningEnabledbool | (Optional) Enables the Object Versioning of OpenStack Object Storage API. This allows clients to put the X-Versions-Location attribute on containers that should be versioned. |
TopicEndpointSpec
(Appears on:BucketTopicSpec)
TopicEndpointSpec contains exactly one of the endpoint specs of a Bucket Topic
| Field | Description |
|---|---|
httpHTTPEndpointSpec | (Optional) Spec of HTTP endpoint |
amqpAMQPEndpointSpec | (Optional) Spec of AMQP endpoint |
kafkaKafkaEndpointSpec | (Optional) Spec of Kafka endpoint |
VolumeClaimTemplate
(Appears on:MonSpec, MonZoneSpec, Selection, StorageClassDeviceSet)
VolumeClaimTemplate is a simplified version of K8s corev1’s PVC. It has no type meta or status.
| Field | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta | (Optional) Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Refer to the Kubernetes API documentation for the fields of themetadata field. | ||||||||||||||||||
specKubernetes core/v1.PersistentVolumeClaimSpec | (Optional) spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
|
ZoneSpec
(Appears on:ObjectStoreSpec)
ZoneSpec represents a Ceph Object Store Gateway Zone specification
| Field | Description |
|---|---|
namestring | CephObjectStoreZone name this CephObjectStore is part of |
Generated with gen-crd-api-reference-docs.