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 |
| ||||||||||
statusStatus | (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 |
| ||||||
statusStatus | (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 |
| ||||||||||||||
statusStatus | (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) |
AddressRangesSpec
(Appears on:NetworkSpec)
| Field | Description |
|---|---|
publicCIDRList | (Optional) Public defines a list of CIDRs to use for Ceph public network communication. |
clusterCIDRList | (Optional) Cluster defines a list of CIDRs to use for Ceph cluster network communication. |
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
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. |
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. |
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. |
CephBlockPoolRadosNamespaceStatus
(Appears on:CephBlockPoolRadosNamespace)
CephBlockPoolRadosNamespaceStatus represents the Status of Ceph BlockPool Rados Namespace
| Field | Description |
|---|---|
phaseConditionType | (Optional) |
infomap[string]string | (Optional) |
CephBlockPoolStatus
(Appears on:CephBlockPool)
CephBlockPoolStatus represents the mirroring status of Ceph Storage Pool
| Field | Description |
|---|---|
phaseConditionType | (Optional) |
mirroringStatusMirroringStatusSpec | (Optional) |
mirroringInfoMirroringInfoSpec | (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. |
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 |
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? |
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. |
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. |
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 |
ClientSpec
(Appears on:CephClient)
ClientSpec represents the specification of a Ceph Client
| Field | Description |
|---|---|
namestring | (Optional) |
capsmap[string]string |
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 |
securitySecuritySpec | (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 |
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 | |
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: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. |
"ReconcileFailed" | ReconcileFailed represents when a resource reconciliation failed. |
"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 |
"Progressing" | ConditionProgressing represents Progressing state of an object |
"Ready" | ConditionReady represents Ready state of an object |
ConfigFileVolumeSource
(Appears on:KerberosConfigFiles, KerberosKeytabFile, SSSDSidecarAdditionalFile, 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) PGHealthCheckTimeout is the time (in minutes) that the operator will wait for the placement groups to become healthy (active+clean) after a drain was completed and OSDs came back up. Rook will continue with the next drain if the timeout exceeds. It only works if managePodBudgets is true. No values or 0 means that the operator will wait until the placement groups are healthy before unblocking the next drain. |
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 |
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 |
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 |
|---|---|
metadataPoolPoolSpec | The metadata pool settings |
dataPools[]NamedPoolSpec | The data pool settings, with optional predefined pool name. |
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. |
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. |
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 |
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) |
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: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: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" |
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
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) |
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 |
MirrorHealthCheckSpec
(Appears on:FilesystemSpec, PoolSpec)
MirrorHealthCheckSpec represents the health specification of a Ceph Storage Pool mirror
| Field | Description |
|---|---|
mirrorHealthCheckSpec | (Optional) |
MirroringInfoSpec
(Appears on:CephBlockPoolStatus)
MirroringInfoSpec is the status of the pool mirroring
| Field | Description |
|---|---|
PoolMirroringInfoPoolMirroringInfo | (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: either pool or image |
snapshotSchedules[]SnapshotScheduleSpec | (Optional) SnapshotSchedules is the scheduling of snapshot for mirrored images/pools |
peersMirroringPeerSpec | (Optional) Peers represents the peers spec |
MirroringStatusSpec
(Appears on:CephBlockPoolStatus)
MirroringStatusSpec is the status of the pool mirroring
| Field | Description |
|---|---|
PoolMirroringStatusPoolMirroringStatus | (Members of PoolMirroringStatus is the mirroring status of a pool |
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 |
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 |
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 |
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. |
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/reef/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 |
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 |
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
| Field | Description |
|---|---|
readinessProbeProbeSpec | (Optional) |
startupProbeProbeSpec | (Optional) |
ObjectRealmSpec
(Appears on:CephObjectRealm)
ObjectRealmSpec represent the spec of an ObjectRealm
| Field | Description |
|---|---|
pullPullSpec |
ObjectSharedPoolsSpec
(Appears on:ObjectStoreSpec, ObjectZoneSpec)
ObjectSharedPoolsSpec represents object store pool info when configuring RADOS namespaces in existing pools.
| Field | Description |
|---|---|
metadataPoolNamestring | The metadata pool used for creating RADOS namespaces in the object store |
dataPoolNamestring | 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 |
ObjectStoreHostingSpec
(Appears on:ObjectStoreSpec)
ObjectStoreHostingSpec represents the hosting settings for the object store
| Field | Description |
|---|---|
dnsNames[]string | (Optional) A list of DNS names in which bucket can be accessed via virtual host path. These names need to valid according RFC-1123. Each domain requires wildcard support like ingress loadbalancer. Do not include the wildcard itself in the list of hostnames (e.g. use “mystore.example.com” instead of “*.mystore.example.com”). Add all hostnames including user-created Kubernetes Service endpoints to the list. CephObjectStore Service Endpoints and CephObjectZone customEndpoints are automatically added to the list. The feature is supported only for Ceph v18 and later versions. |
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 |
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 |
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) |
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 users |
capabilitiesObjectUserCapSpec | (Optional) |
quotasObjectUserQuotaSpec | (Optional) |
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. |
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/quincy/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 |
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 display name for the ceph users |
ObjectZoneSpec
(Appears on:CephObjectZone)
ObjectZoneSpec represent the spec of an ObjectZone
| Field | Description |
|---|---|
zoneGroupstring | The display name for the ceph users |
metadataPoolPoolSpec | The metadata pool settings |
dataPoolPoolSpec | 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 |
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 |
PeersSpec
(Appears on:PoolMirroringInfo)
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) TopologySpreadConstraint 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
PoolMirroringInfo
(Appears on:MirroringInfoSpec)
PoolMirroringInfo is the mirroring info of a given pool
| 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 |
PoolMirroringStatus
(Appears on:MirroringStatusSpec)
PoolMirroringStatus is the pool mirror status
| Field | Description |
|---|---|
summaryPoolMirroringStatusSummarySpec | (Optional) Summary is the mirroring status summary |
PoolMirroringStatusSummarySpec
(Appears on:PoolMirroringStatus)
PoolMirroringStatusSummarySpec 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 |
PoolSpec
(Appears on:FilesystemSpec, 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 |
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. |
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 |
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 |
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
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 |
additionalFiles[]SSSDSidecarAdditionalFile | (Optional) AdditionalFiles defines any number of additional files that should be mounted into the SSSD sidecar. These files may be referenced by the sssd.conf config file. |
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 |
SSSDSidecarAdditionalFile
(Appears on:SSSDSidecar)
SSSDSidecarAdditionalFile represents the source from where additional files for the the SSSD configuration should come from and are made available.
| Field | Description |
|---|---|
subPathstring | SubPath defines the sub-path in |
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 SSSD sidecar container in the |
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 |
SecuritySpec
(Appears on:ClusterSpec, 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)
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: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:PoolMirroringStatusSummarySpec)
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, CephFilesystemMirror, CephNFS, CephObjectRealm, CephObjectZone, CephObjectZoneGroup, CephRBDMirror)
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) |
onlyApplyOSDPlacementbool | (Optional) |
configmap[string]string | (Optional) |
SelectionSelection | (Members of |
storageClassDeviceSets[]StorageClassDeviceSet | (Optional) |
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. |
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 |
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 | RGW Zone the Object Store is in |
Generated with gen-crd-api-reference-docs.