controllers

package
v1.18.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeReconciler

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

NodeReconciler observes Node objects, and labels them with the correct labels for the instancegroup This used to be done by the kubelet, but is moving to a central controller for greater security in 1.16

func NewNodeReconciler

func NewNodeReconciler(mgr manager.Manager, configPath string, identifier nodeidentity.Identifier) (*NodeReconciler, error)

NewNodeReconciler is the constructor for a NodeReconciler

func (*NodeReconciler) Reconcile

func (r *NodeReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

+kubebuilder:rbac:groups=,resources=nodes,verbs=get;list;watch;patch Reconciler is the main reconciler function that observes node changes

func (*NodeReconciler) SetupWithManager

func (r *NodeReconciler) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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