etcd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReconcileClientService

func ReconcileClientService(service *corev1.Service, ownerRef config.OwnerRef) error

func ReconcileDiscoveryService

func ReconcileDiscoveryService(service *corev1.Service, ownerRef config.OwnerRef) error

func ReconcilePodDisruptionBudget

func ReconcilePodDisruptionBudget(pdb *policyv1.PodDisruptionBudget, p *EtcdParams) error

func ReconcileServiceMonitor

func ReconcileServiceMonitor(sm *prometheusoperatorv1.ServiceMonitor, ownerRef config.OwnerRef, clusterID string, metricsSet metrics.MetricsSet) error

ReconcileServiceMonitor

func ReconcileStatefulSet

func ReconcileStatefulSet(ss *appsv1.StatefulSet, p *EtcdParams) error

Types

type EtcdParams

type EtcdParams struct {
	EtcdImage string
	CPOImage  string

	OwnerRef         config.OwnerRef `json:"ownerRef"`
	DeploymentConfig config.DeploymentConfig

	StorageSpec hyperv1.ManagedEtcdStorageSpec

	Availability hyperv1.AvailabilityPolicy

	SnapshotRestored bool
}

func NewEtcdParams

func NewEtcdParams(hcp *hyperv1.HostedControlPlane, images map[string]string) *EtcdParams

Jump to

Keyboard shortcuts

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