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.
Click to show internal directories.
Click to hide internal directories.