Documentation ¶
Index ¶
- Constants
- func MountPerNodeConfig(dcConfig *cassandra.DatacenterConfig)
- func NewDefaultPerNodeConfigMap(kcKey types.NamespacedName, dcConfig *cassandra.DatacenterConfig) *corev1.ConfigMap
- func NewDefaultPerNodeConfigMapKey(kcKey types.NamespacedName, dcConfig *cassandra.DatacenterConfig) types.NamespacedName
Constants ¶
View Source
const ( PerNodeConfigInitContainerName = "per-node-config" PerNodeConfigVolumeName = "per-node-config" )
Variables ¶
This section is empty.
Functions ¶
func MountPerNodeConfig ¶
func MountPerNodeConfig(dcConfig *cassandra.DatacenterConfig)
MountPerNodeConfig mounts the per-node-config ConfigMap, on all pods in the given datacenter and adds an init container that will merge the per-node config into the main config. This function should only be called for DCs having a per-node ConfigMap reference.
func NewDefaultPerNodeConfigMap ¶
func NewDefaultPerNodeConfigMap(kcKey types.NamespacedName, dcConfig *cassandra.DatacenterConfig) *corev1.ConfigMap
NewDefaultPerNodeConfigMap generates a ConfigMap that contains default per-node configuration files for this DC. It returns nil if this DC does not require any per-node configuration.
func NewDefaultPerNodeConfigMapKey ¶
func NewDefaultPerNodeConfigMapKey(kcKey types.NamespacedName, dcConfig *cassandra.DatacenterConfig) types.NamespacedName
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.