Documentation ¶
Overview ¶
Package mgr for the Ceph manager.
Package mgr for the Ceph manager.
Package mgr for the Ceph manager.
Index ¶
Constants ¶
View Source
const ( AppName = "rook-ceph-mgr" PrometheusModuleName = "prometheus" // DefaultMetricsPort prometheus exporter port DefaultMetricsPort uint16 = 9283 )
Variables ¶
This section is empty.
Functions ¶
func GeneratePassword ¶
func GenerateRandomBytes ¶
GenerateRandomBytes returns securely generated random bytes.
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
Cluster represents the Rook and environment configuration settings needed to set up Ceph mgrs.
func New ¶
func New(context *clusterd.Context, clusterInfo *cephclient.ClusterInfo, spec cephv1.ClusterSpec, rookVersion string) *Cluster
New creates an instance of the mgr
func (*Cluster) EnableServiceMonitor ¶
EnableServiceMonitor add a servicemonitor that allows prometheus to scrape from the monitoring endpoint of the cluster
func (*Cluster) MakeMetricsService ¶
MakeMetricsService generates the Kubernetes service object for the monitoring service
Click to show internal directories.
Click to hide internal directories.