cluster

package
v1.9.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2022 License: Apache-2.0 Imports: 57 Imported by: 0

Documentation

Overview

Package cluster to manage Kubernetes storage.

Package cluster to manage a Ceph cluster.

Package cluster to manage a Ceph cluster.

Package cluster to manage a Ceph cluster.

Package cluster to manage a Ceph cluster.

Package cluster to manage a Ceph cluster.

Package cluster to manage a Ceph cluster.

Package cluster to manage a Ceph cluster.

Package cluster to manage a Ceph cluster.

Index

Constants

View Source
const (

	// CleanupAppName is the cluster clean up job name
	CleanupAppName = "rook-ceph-cleanup"
)
View Source
const (
	// DefaultClusterName states the default name of the rook-cluster if not provided.
	DefaultClusterName = "rook-ceph"
)

Variables

View Source
var ControllerTypeMeta = metav1.TypeMeta{
	Kind:       opcontroller.ClusterResource.Kind,
	APIVersion: opcontroller.ClusterResource.APIVersion,
}

ControllerTypeMeta Sets the type meta for the controller main object

Functions

func Add

func Add(mgr manager.Manager, ctx *clusterd.Context, clusterController *ClusterController, opManagerContext context.Context) error

Add creates a new CephCluster Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func CephClusterDependents

func CephClusterDependents(c *clusterd.Context, namespace string) (*dependents.DependentList, error)

CephClusterDependents returns a DependentList of dependents of a CephCluster in the namespace.

Types

type ClusterController

type ClusterController struct {
	OpManagerCtx context.Context
	// contains filtered or unexported fields
}

ClusterController controls an instance of a Rook cluster

func NewClusterController

func NewClusterController(context *clusterd.Context, rookImage string) *ClusterController

NewClusterController create controller for watching cluster custom resources created

type ReconcileCephCluster

type ReconcileCephCluster struct {
	// contains filtered or unexported fields
}

ReconcileCephCluster reconciles a CephFilesystem object

func (*ReconcileCephCluster) Reconcile

func (r *ReconcileCephCluster) Reconcile(context context.Context, request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a CephCluster object and makes changes based on the state read and what is in the cephCluster.Spec The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

Directories

Path Synopsis
Package mgr for the Ceph manager.
Package mgr for the Ceph manager.
Package mon provides methods for creating clusters of Ceph mons in Kubernetes, for monitoring the cluster's status, for taking corrective actions if the status is non-ideal, and for reporting mon cluster failures.
Package mon provides methods for creating clusters of Ceph mons in Kubernetes, for monitoring the cluster's status, for taking corrective actions if the status is non-ideal, and for reporting mon cluster failures.
osd
Package osd for the Ceph OSDs.
Package osd for the Ceph OSDs.
config
Package config for OSD config managed by the operator
Package config for OSD config managed by the operator
Package rbd for mirroring
Package rbd for mirroring
Package telemetry codifies the Rook telemetry spec used to record Rook information for Ceph telemetry.
Package telemetry codifies the Rook telemetry spec used to record Rook information for Ceph telemetry.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL