missingstaticpodcontroller

package
v0.0.0-...-201d816 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	operatorClient v1helpers.StaticPodOperatorClient,
	kubeInformersForTargetNamespace informers.SharedInformerFactory,
	eventRecorder events.Recorder,
	targetNamespace string,
	staticPodName string,
	operandName string,
	infraInformer configv1informers.InfrastructureInformer,
) factory.Controller

New checks the latest static pods pods and uses the installer to get the latest revision. If the installer pod was successful, and if it has been longer than the terminationGracePeriodSeconds+maxTimeout(value depends on single node or multi node deployment) seconds since the installer pod completed successfully, and if the static pod is not at the correct revision , this controller will go degraded. It will also emit an event for detection in CI.

Types

This section is empty.

Jump to

Keyboard shortcuts

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