node

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNodeController

func NewNodeController(k8sClientset *kubernetes.Clientset, calicoClient *client.Client) controller.Controller

NewNodeController Constructor for NodeController

Types

type NodeController

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

NodeController implements the Controller interface. It is responsible for monitoring kubernetes nodes and responding to delete events by removing them from the Calico datastore. It keeps a cache of known calico nodes and their corresponding kubernetes nodes to accomplish this.

func (*NodeController) Run

func (c *NodeController) Run(threadiness int, reconcilerPeriod string, stopCh chan struct{})

Run starts the node controller. It does start-of-day preparation and then launches worker threads.

Jump to

Keyboard shortcuts

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