Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SeedLabel determines if a member is a seed or not. SeedLabel = "cassandra.rook.io/seed" // 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 = "cassandra.rook.io/decommissioned" // 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 = "cassandra.rook.io/developer-mode" 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 = "cassandra.rook.io/cluster" DatacenterNameLabel = "cassandra.rook.io/datacenter" RackNameLabel = "cassandra.rook.io/rack" 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 ( PluginDirName = SharedDirName + "/" + "plugins" DataDirCassandra = "/var/lib/cassandra/data" DataDirScylla = "/var/lib/scylla/data" JolokiaJarName = "jolokia.jar" JolokiaPort = 8778 JolokiaContext = "jolokia" ReadinessProbePath = "/readyz" LivenessProbePath = "/healthz" ProbePort = 8080 )
Configuration Values
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.