staticpodstate

package
v0.0.0-...-93b3a4f Latest Latest
Warning

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

Go to latest
Published: May 6, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StaticPodStateController

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

StaticPodStateController is a controller that watches static pods and will produce a failing status if the // static pods start crashing for some reason.

func NewStaticPodStateController

func NewStaticPodStateController(
	targetNamespace, staticPodName, operatorNamespace, operandName string,
	kubeInformersForTargetNamespace informers.SharedInformerFactory,
	operatorClient v1helpers.StaticPodOperatorClient,
	configMapGetter corev1client.ConfigMapsGetter,
	podsGetter corev1client.PodsGetter,
	versionRecorder status.VersionGetter,
	eventRecorder events.Recorder,
) *StaticPodStateController

NewStaticPodStateController creates a controller that watches static pods and will produce a failing status if the static pods start crashing for some reason.

func (*StaticPodStateController) Run

func (c *StaticPodStateController) Run(workers int, stopCh <-chan struct{})

Run starts the kube-apiserver and blocks until stopCh is closed.

Jump to

Keyboard shortcuts

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