Documentation
¶
Overview ¶
Package osd for the Ceph OSDs.
Package osd for the Ceph OSDs.
Package osd for the Ceph OSDs.
Package osd for the Ceph OSDs.
Index ¶
Constants ¶
View Source
const ( OrchestrationStatusStarting = "starting" OrchestrationStatusComputingDiff = "computingDiff" OrchestrationStatusOrchestrating = "orchestrating" OrchestrationStatusCompleted = "completed" OrchestrationStatusFailed = "failed" )
Variables ¶
This section is empty.
Functions ¶
func IsRemovingNode ¶
func UpdateNodeStatus ¶
func UpdateNodeStatus(kv *k8sutil.ConfigMapKVStore, node string, status OrchestrationStatus) error
Types ¶
type Cluster ¶
type Cluster struct {
Namespace string
Keyring string
DesiredStorage rookalpha.StorageScopeSpec // user-defined storage scope spec
ValidStorage rookalpha.StorageScopeSpec // valid subset of `Storage`, computed at runtime
HostNetwork bool
// contains filtered or unexported fields
}
Cluster keeps track of the OSDs
func New ¶
func New( clusterInfo *cephconfig.ClusterInfo, context *clusterd.Context, namespace string, rookVersion string, cephVersion cephv1.CephVersionSpec, storageSpec rookalpha.StorageScopeSpec, dataDirHostPath string, placement rookalpha.Placement, annotations rookalpha.Annotations, hostNetwork bool, resources v1.ResourceRequirements, ownerRef metav1.OwnerReference, ) *Cluster
New creates an instance of the OSD manager
type Monitor ¶
type Monitor struct {
// contains filtered or unexported fields
}
Monitor defines OSD process monitoring
func NewMonitor ¶
newMonitor instantiates OSD monitoring
type OSDInfo ¶
type OSDInfo struct {
ID int `json:"id"`
DataPath string `json:"data-path"`
Config string `json:"conf"`
Cluster string `json:"cluster"`
KeyringPath string `json:"keyring-path"`
UUID string `json:"uuid"`
Journal string `json:"journal"`
IsFileStore bool `json:"is-file-store"`
IsDirectory bool `json:"is-directory"`
DevicePartUUID string `json:"device-part-uuid"`
CephVolumeInitiated bool `json:"ceph-volume-initiated"`
}
type OrchestrationStatus ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package config for OSD config managed by the operator Package config for OSD config managed by the operator Copyright 2016 The Rook Authors.
|
Package config for OSD config managed by the operator Package config for OSD config managed by the operator Copyright 2016 The Rook Authors. |
Click to show internal directories.
Click to hide internal directories.