defragcontroller

package
v0.0.0-alpha.0....-eeef803 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefragController

func NewDefragController(
	livenessChecker *health.MultiAlivenessChecker,
	operatorClient v1helpers.OperatorClient,
	memberLister etcdcli.AllMemberLister,
	defragClient etcdcli.Defragment,
	statusClient etcdcli.Status,
	infrastructureLister configv1listers.InfrastructureLister,
	eventRecorder events.Recorder,
	kubeInformers v1helpers.KubeInformersForNamespaces) factory.Controller

Types

type DefragController

type DefragController struct {
	// contains filtered or unexported fields
}

DefragController observes the etcd state file fragmentation via Status method of Maintenance API. Based on these observations the controller will perform rolling defragmentation of each etcd member in the cluster.

Jump to

Keyboard shortcuts

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