healthchecker

package
v1.7.14 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthChecker

type HealthChecker interface {
	Probe(ctx context.Context, l logr.Logger, logSuffix string, partition int) error
}

HealthChecker interface

type HealthCheckerImpl

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

HealthCheckerImpl struct

func NewHealthChecker

func NewHealthChecker(cluster *resource.Cluster, clientset *kubernetes.Clientset, scheme *runtime.Scheme, config *rest.Config) *HealthCheckerImpl

NewHealthChecker ctor

func (*HealthCheckerImpl) Probe

func (hc *HealthCheckerImpl) Probe(ctx context.Context, l logr.Logger, logSuffix string, nodeID int) error

Probe will check the ranges_underreplicated metric for value 0 on all pods after the resart of a pod, before continue the rolling update of the next pod

Jump to

Keyboard shortcuts

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