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.
Click to show internal directories.
Click to hide internal directories.