cloud

package
v1.8.9 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2018 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UpdateNodeSpecBackoff = wait.Backoff{
	Steps:    20,
	Duration: 50 * time.Millisecond,
	Jitter:   1.0,
}

Functions

This section is empty.

Types

type CloudNodeController

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

func NewCloudNodeController

func NewCloudNodeController(
	nodeInformer coreinformers.NodeInformer,
	kubeClient clientset.Interface,
	cloud cloudprovider.Interface,
	nodeMonitorPeriod time.Duration,
	nodeStatusUpdateFrequency time.Duration) *CloudNodeController

NewCloudNodeController creates a CloudNodeController object

func (*CloudNodeController) AddCloudNode added in v1.7.0

func (cnc *CloudNodeController) AddCloudNode(obj interface{})

This processes nodes that were added into the cluster, and cloud initialize them if appropriate

func (*CloudNodeController) MonitorNode added in v1.7.0

func (cnc *CloudNodeController) MonitorNode()

Monitor node queries the cloudprovider for non-ready nodes and deletes them if they cannot be found in the cloud provider

func (*CloudNodeController) Run

func (cnc *CloudNodeController) Run()

This controller deletes a node if kubelet is not reporting and the node is gone from the cloud provider.

func (*CloudNodeController) UpdateNodeStatus added in v1.7.0

func (cnc *CloudNodeController) UpdateNodeStatus()

UpdateNodeStatus updates the node status, such as node addresses

type PersistentVolumeLabelController added in v1.8.0

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

PersistentVolumeLabelController handles adding labels to persistent volumes when they are created

func NewPersistentVolumeLabelController added in v1.8.0

func NewPersistentVolumeLabelController(
	kubeClient kubernetes.Interface,
	cloud cloudprovider.Interface) *PersistentVolumeLabelController

NewPersistentVolumeLabelController creates a PersistentVolumeLabelController object

func (*PersistentVolumeLabelController) Run added in v1.8.0

func (pvlc *PersistentVolumeLabelController) Run(threadiness int, stopCh <-chan struct{})

Run starts a controller that adds labels to persistent volumes

Jump to

Keyboard shortcuts

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