etcd

package
v2.26.2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackupConfigReconciler added in v2.22.0

func BackupConfigReconciler(data etcdBackupConfigReconcilerData, seed *kubermaticv1.Seed) reconciling.NamedEtcdBackupConfigReconcilerFactory

BackupConfigReconciler returns the function to reconcile the EtcdBackupConfigs.

func CronJobReconciler added in v2.22.0

func CronJobReconciler(data cronJobReconcilerData) reconciling.NamedCronJobReconcilerFactory

CronJobReconciler 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. Note that this tag does not contain the "-0" suffix that the registry.k8s.io images have appended to them. This is because semver comparisons then fail further up in the code and it's simpler to treat the "-0" suffix as not part of the etcd tag itself. TODO: Other functions use this function, switch them to getLauncherImage.

func KubeSystemServiceAccountReconciler added in v2.24.0

func KubeSystemServiceAccountReconciler(cluster *kubermaticv1.Cluster) reconciling.NamedServiceAccountReconcilerFactory

func PodDisruptionBudgetReconciler added in v2.22.0

func PodDisruptionBudgetReconciler(data pdbData) reconciling.NamedPodDisruptionBudgetReconcilerFactory

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

func ServiceAccountReconciler added in v2.22.0

func ServiceAccountReconciler() (string, reconciling.ServiceAccountReconciler)

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

func ServiceReconciler added in v2.22.0

func ServiceReconciler(data serviceReconcilerData) reconciling.NamedServiceReconcilerFactory

ServiceReconciler returns the function to reconcile the etcd service.

func StatefulSetReconciler added in v2.22.0

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

StatefulSetReconciler returns the function to reconcile the etcd StatefulSet.

func TLSCertificateReconciler added in v2.22.0

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