etcd

package
v2.21.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackupConfigCreator added in v2.17.0

func BackupConfigCreator(data etcdBackupConfigCreatorData, seed *kubermaticv1.Seed) reconciling.NamedEtcdBackupConfigCreatorGetter

BackupConfigCreator returns the function to reconcile the EtcdBackupConfigs.

func CronJobCreator

func CronJobCreator(data cronJobCreatorData) reconciling.NamedCronJobCreatorGetter

CronJobCreator returns the func to create/update the etcd defragger cronjob.

func GetBasePodLabels added in v2.19.0

func GetBasePodLabels(cluster *kubermaticv1.Cluster) map[string]string

func GetClientEndpoints

func GetClientEndpoints(namespace string) []string

GetClientEndpoints returns the slice with the etcd endpoints for client communication.

func ImageTag

func ImageTag(c *kubermaticv1.Cluster) string

ImageTag returns the correct etcd image tag for a given Cluster TODO: Other functions use this function, switch them to getLauncherImage.

func PodDisruptionBudgetCreator

func PodDisruptionBudgetCreator(data pdbData) reconciling.NamedPodDisruptionBudgetCreatorGetter

PodDisruptionBudgetCreator returns a func to create/update the etcd PodDisruptionBudget.

func ServiceAccountCreator

func ServiceAccountCreator() (string, reconciling.ServiceAccountCreator)

ServiceAccountCreator returns a func to create/update the ServiceAccount used by etcd launcher.

func ServiceCreator

func ServiceCreator(data serviceCreatorData) reconciling.NamedServiceCreatorGetter

ServiceCreator returns the function to reconcile the etcd service.

func StatefulSetCreator

func StatefulSetCreator(data etcdStatefulSetCreatorData, enableDataCorruptionChecks bool, enableTLSOnly bool) reconciling.NamedStatefulSetCreatorGetter

StatefulSetCreator returns the function to reconcile the etcd StatefulSet.

func TLSCertificateCreator

func TLSCertificateCreator(data tlsCertificateCreatorData) reconciling.NamedSecretCreatorGetter

TLSCertificateCreator returns a function to create/update the secret with the etcd tls certificate.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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