healthcheck

package
v1.60.4 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// DefaultAddOptions are the default DefaultAddArgs for AddToManager.
	DefaultAddOptions = healthcheck.DefaultAddArgs{
		HealthCheckConfig: extensionsconfig.HealthCheckConfig{
			SyncPeriod: metav1.Duration{Duration: defaultSyncPeriod},

			ShootRESTOptions: &extensionsconfig.RESTOptions{
				QPS:   pointer.Float32(50),
				Burst: pointer.Int(100),
			},
		},
	}
)

Functions

func AddToManager

func AddToManager(mgr manager.Manager) error

AddToManager adds a controller with the default Options.

func RegisterHealthChecks

func RegisterHealthChecks(mgr manager.Manager, opts healthcheck.DefaultAddArgs) error

RegisterHealthChecks registers health checks for each extension resource HealthChecks are grouped by extension (e.g worker), extension.type (e.g local) and Health Check Type (e.g SystemComponentsHealthy)

Types

This section is empty.

Jump to

Keyboard shortcuts

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