app

package
v1.5.9-beta.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2017 License: Apache-2.0 Imports: 83 Imported by: 0

Documentation

Overview

Package app implements a server that runs a set of active components. This includes replication controllers, service endpoints and nodes.

Index

Constants

View Source
const (
	// Jitter used when starting controller managers
	ControllerStartJitter = 1.0
)

Variables

This section is empty.

Functions

func AttemptToLoadRecycler added in v1.2.0

func AttemptToLoadRecycler(path string, config *volume.VolumeConfig) error

AttemptToLoadRecycler tries decoding a pod from a filepath for use as a recycler for a volume. If successful, this method will set the recycler on the config. If unsuccessful, an error is returned. Function is exported for reuse downstream.

func NewAlphaVolumeProvisioner added in v1.4.0

NewAlphaVolumeProvisioner returns a volume provisioner to use when running in a cloud or development environment. The alpha implementation of provisioning allows 1 implied provisioner per cloud and is here only for compatibility with Kubernetes 1.3 TODO: remove in Kubernetes 1.5

func NewControllerManagerCommand added in v1.1.1

func NewControllerManagerCommand() *cobra.Command

NewControllerManagerCommand creates a *cobra.Command object with default parameters

func ProbeAttachableVolumePlugins added in v1.3.0

func ProbeAttachableVolumePlugins(config componentconfig.VolumeConfiguration) []volume.VolumePlugin

ProbeAttachableVolumePlugins collects all volume plugins for the attach/ detach controller. VolumeConfiguration is used ot get FlexVolumePluginDir which specifies the directory to search for additional third party volume plugins. The list of plugins is manually compiled. This code and the plugin initialization code for kubelet really, really need a through refactor.

func ProbeControllerVolumePlugins added in v1.4.0

func ProbeControllerVolumePlugins(cloud cloudprovider.Interface, config componentconfig.VolumeConfiguration) []volume.VolumePlugin

ProbeControllerVolumePlugins collects all persistent volume plugins into an easy to use list. Only volume plugins that implement any of provisioner/recycler/deleter interface should be returned.

func ResyncPeriod added in v1.2.0

func ResyncPeriod(s *options.CMServer) func() time.Duration

func Run added in v1.2.0

func Run(s *options.CMServer) error

Run runs the CMServer. This should never exit.

func StartControllers added in v1.2.0

func StartControllers(s *options.CMServer, kubeconfig *restclient.Config, rootClientBuilder, clientBuilder controller.ControllerClientBuilder, stop <-chan struct{}, recorder record.EventRecorder) error

Types

This section is empty.

Directories

Path Synopsis
Package options provides the flags used for the controller manager.
Package options provides the flags used for the controller manager.

Jump to

Keyboard shortcuts

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