nodeconfig

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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, kc *k8ssandraapi.K8ssandraCluster, 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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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