etcd

package
v3.0.0-...-d6c4d9c Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceAccountName = "etcd-launcher"
)

Variables

This section is empty.

Functions

func CronJobReconciler

func CronJobReconciler(data cronJobReconcilerData) reconciling.NamedCronJobReconcilerFactory

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

func GetBasePodLabels

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 PodDisruptionBudgetReconciler

func PodDisruptionBudgetReconciler(data pdbData) reconciling.NamedPodDisruptionBudgetReconcilerFactory

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

func ServiceAccountReconciler

func ServiceAccountReconciler() (string, reconciling.ServiceAccountReconciler)

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

func ServiceReconciler

func ServiceReconciler(data serviceReconcilerData) reconciling.NamedServiceReconcilerFactory

ServiceReconciler returns the function to reconcile the etcd service.

func StatefulSetReconciler

func StatefulSetReconciler(data etcdStatefulSetReconcilerData, enableDataCorruptionChecks bool, enableTLSOnly bool) reconciling.NamedStatefulSetReconcilerFactory

StatefulSetReconciler returns the function to reconcile the etcd StatefulSet.

func TLSCertificateReconciler

func TLSCertificateReconciler(data tlsCertificateReconcilerData) reconciling.NamedSecretReconcilerFactory

TLSCertificateReconciler 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