Documentation ¶
Overview ¶
Package config for OSD config managed by the operator
Index ¶
Constants ¶
View Source
const ( StoreTypeKey = "storeType" WalSizeMBKey = "walSizeMB" DatabaseSizeMBKey = "databaseSizeMB" JournalSizeMBKey = "journalSizeMB" OSDsPerDeviceKey = "osdsPerDevice" EncryptedDeviceKey = "encryptedDevice" MetadataDeviceKey = "metadataDevice" DeviceClassKey = "deviceClass" )
View Source
const ( // Bluestore represents a bluestore OSD Bluestore = "bluestore" // WalDefaultSizeMB is the default WAL size in Megabytes for Rocksdb in Bluestore WalDefaultSizeMB = 576 )
View Source
const (
OSDFSStoreNameFmt = "rook-ceph-osd-%d-fs-backup"
)
Variables ¶
This section is empty.
Functions ¶
func GetConfigStoreName ¶
func MetadataDevice ¶
Types ¶
type StoreConfig ¶
type StoreConfig struct { StoreType string `json:"storeType,omitempty"` WalSizeMB int `json:"walSizeMB,omitempty"` DatabaseSizeMB int `json:"databaseSizeMB,omitempty"` OSDsPerDevice int `json:"osdsPerDevice,omitempty"` EncryptedDevice bool `json:"encryptedDevice,omitempty"` DeviceClass string `json:"deviceClass,omitempty"` }
func ToStoreConfig ¶
func ToStoreConfig(config map[string]string) StoreConfig
Click to show internal directories.
Click to hide internal directories.