etcd

package
v0.1.25 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	EtcdSTSQuotaBackendSize = 8 * 1024 * 1024 * 1024
)

Variables

This section is empty.

Functions

func ReconcileClientService

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

func ReconcileDefragControllerRole added in v0.1.18

func ReconcileDefragControllerRole(role *rbacv1.Role, p *EtcdParams) error

func ReconcileDefragControllerRoleBinding added in v0.1.18

func ReconcileDefragControllerRoleBinding(roleBinding *rbacv1.RoleBinding, p *EtcdParams) 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
	EtcdOperatorImage string
	CPOImage          string

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

	StorageSpec hyperv1.ManagedEtcdStorageSpec

	Availability hyperv1.AvailabilityPolicy

	SnapshotRestored bool
}

func NewEtcdParams

func NewEtcdParams(hcp *hyperv1.HostedControlPlane, releaseImageProvider *imageprovider.ReleaseImageProvider) (*EtcdParams, error)

Jump to

Keyboard shortcuts

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