Version: v1.2.6 Latest Latest

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

Go to latest
Published: Mar 12, 2020 License: Apache-2.0 Imports: 0 Imported by: 0




View Source
const (
	// SeedLabel determines if a member is a seed or not.
	SeedLabel = ""

	// DecommissionLabel expresses the intent to decommission
	// the specific member. The presence of the label expresses
	// the intent to decommission. If the value is true, it means
	// the member has finished decommissioning.
	// Values: {true, false}
	DecommissionLabel = ""

	// DeveloperModeAnnotation is present when the user wishes
	// to bypass production-readiness checks and start the database
	// either way. Currently useful for scylla, may get removed
	// once configMapName field is implemented in Cluster CRD.
	DeveloperModeAnnotation = ""

	LabelValueTrue  = "true"
	LabelValueFalse = "false"

These labels are only used on the ClusterIP services acting as each member's identity (static ip). Each of these labels is a record of intent to do something. The controller sets these labels and each member watches for them and takes the appropriate actions.

See the sidecar design doc for more details.

View Source
const (
	ClusterNameLabel    = ""
	DatacenterNameLabel = ""
	RackNameLabel       = ""

	AppName         = "rook-cassandra"
	OperatorAppName = "rook-cassandra-operator"

Generic Labels used on objects created by the operator.

View Source
const (
	PodIPEnvVar = "POD_IP"

	ResourceLimitCPUEnvVar    = "CPU_LIMIT"
	ResourceLimitMemoryEnvVar = "MEMORY_LIMIT"

Environment Variable Names

View Source
const (
	SharedDirName = "/mnt/shared"
	PluginDirName = SharedDirName + "/" + "plugins"

	DataDirCassandra = "/var/lib/cassandra"
	DataDirScylla    = "/var/lib/scylla"

	JolokiaJarName = "jolokia.jar"
	JolokiaPort    = 8778
	JolokiaContext = "jolokia"

	ReadinessProbePath = "/readyz"
	LivenessProbePath  = "/healthz"
	ProbePort          = 8080

Configuration Values


This section is empty.


This section is empty.


This section is empty.

Source Files

Jump to

Keyboard shortcuts

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