worker

package
v1.96.6 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 13 Imported by: 14

Documentation

Index

Constants

View Source
const (
	// AnnotationKeyNotManagedByMCM is a constant for an annotation on the node resource that indicates that
	// the node is not handled by MCM.
	AnnotationKeyNotManagedByMCM = "node.machine.sapcloud.io/not-managed-by-mcm"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultHealthChecker

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

DefaultHealthChecker all the information for the Worker HealthCheck. This check assumes that the MachineControllerManager (https://github.com/gardener/machine-controller-manager) has been deployed by the Worker extension controller.

func NewNodesChecker added in v1.5.0

func NewNodesChecker() *DefaultHealthChecker

NewNodesChecker is a health check function which performs certain checks about the nodes registered in the cluster. It implements the healthcheck.HealthCheck interface.

func (*DefaultHealthChecker) Check

Check executes the health check.

func (*DefaultHealthChecker) DeepCopy

DeepCopy clones the healthCheck struct by making a copy and returning the pointer to that new copy. Actually, it does not perform a *deep* copy.

func (*DefaultHealthChecker) InjectSeedClient

func (h *DefaultHealthChecker) InjectSeedClient(seedClient client.Client)

InjectSeedClient injects the seed client.

func (*DefaultHealthChecker) InjectShootClient

func (h *DefaultHealthChecker) InjectShootClient(shootClient client.Client)

InjectShootClient injects the shoot client.

func (*DefaultHealthChecker) SetLoggerSuffix

func (h *DefaultHealthChecker) SetLoggerSuffix(provider, extension string)

SetLoggerSuffix injects the logger.

func (*DefaultHealthChecker) WithScaleDownProgressingThreshold added in v1.5.0

func (h *DefaultHealthChecker) WithScaleDownProgressingThreshold(d time.Duration) *DefaultHealthChecker

WithScaleDownProgressingThreshold sets the scaleDownProgressingThreshold property.

func (*DefaultHealthChecker) WithScaleUpProgressingThreshold added in v1.5.0

func (h *DefaultHealthChecker) WithScaleUpProgressingThreshold(d time.Duration) *DefaultHealthChecker

WithScaleUpProgressingThreshold sets the scaleUpProgressingThreshold property.

Jump to

Keyboard shortcuts

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