probes

package
v0.110.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2026 License: Apache-2.0 Imports: 4 Imported by: 21 modules, 21 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package probes contains a helper to configure sensible default health and ready probes on a controller-runtime manager.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupChecks

func SetupChecks(mgr ctrl.Manager, log logr.Logger)

SetupChecks configures simple default ready and health probes on the given mgr.

The func can be used in the main.go file of your controller, after initialisation of the manager:

	func main() {
		mgr, err := ctrl.NewManager(cfg, ctrl.Options{})
		if err != nil {
			log.Error(err, "unable to start manager")
			os.Exit(1)
		}
		probes.SetupChecks(mgr, log)
 }

Types

This section is empty.

Jump to

Keyboard shortcuts

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