controllers

package
v1.21.2 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2021 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 LegacyNodeReconciler added in v1.19.0

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

LegacyNodeReconciler 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 NewLegacyNodeReconciler added in v1.19.0

func NewLegacyNodeReconciler(mgr manager.Manager, configPath string, identifier nodeidentity.LegacyIdentifier) (*LegacyNodeReconciler, error)

NewLegacyNodeReconciler is the constructor for a LegacyNodeReconciler

func (*LegacyNodeReconciler) Reconcile added in v1.19.0

func (r *LegacyNodeReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

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

func (*LegacyNodeReconciler) SetupWithManager added in v1.19.0

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

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, identifier nodeidentity.Identifier) (*NodeReconciler, error)

NewNodeReconciler is the constructor for a NodeReconciler

func (*NodeReconciler) Reconcile

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

+kubebuilder:rbac:groups=,resources=nodes,verbs=get;list;watch;patch Reconcile 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