Documentation ¶
Overview ¶
Package labels defines constants and helpers for labels used throughout the m3db operator.
Index ¶
Constants ¶
View Source
const ( // App is the label used to identify the application. App = "operator.m3db.io/app" // AppM3DB is the value for "App" common to all operator-created clusters. AppM3DB = "m3db" // Cluster is the label identifying what m3db cluster an object is a part of. Cluster = "operator.m3db.io/cluster" // IsolationGroup identifies what isolation group an object is in. IsolationGroup = "operator.m3db.io/isolation-group" // StatefulSet identifies what StatefulSet an object belongs to. StatefulSet = "operator.m3db.io/stateful-set" // Component identifies what component of the M3 stack an object is part of. Component = "operator.m3db.io/component" // ComponentM3DBNode indicates a component is a dbnode. ComponentM3DBNode = "m3dbnode" // ComponentCoordinator indicates a component is a coordinator. ComponentCoordinator = "coordinator" // EtcdDeletionFinalizer is the finalizer used to delete cluster data stored // in etcd. EtcdDeletionFinalizer = "operator.m3db.io/etcd-deletion" )
Variables ¶
This section is empty.
Functions ¶
func BaseLabels ¶
func BaseLabels(cluster *myspec.M3DBCluster) map[string]string
BaseLabels returns the base labels we apply to all objects created by the operator for a given cluster.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.