controller

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 13 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 watches Nodes for pod CIDRs to update route table(s)

func NewNodeReconciler

func NewNodeReconciler(
	client client.Client,
	log logr.Logger,
	elected <-chan struct{},
	recorder record.EventRecorder,
) *NodeReconciler

NewNodeReconciler creates a NodeReconciler instance

func (*NodeReconciler) HealthzChecker

func (r *NodeReconciler) HealthzChecker(_ *http.Request) error

func (*NodeReconciler) ReadyChecker

func (r *NodeReconciler) ReadyChecker(_ *http.Request) error

func (*NodeReconciler) Reconcile

Reconcile extracts pod cidrs from nodes

func (*NodeReconciler) StartUpdater

func (r *NodeReconciler) StartUpdater(ctx context.Context, updateFunc updater.NodeRoutesUpdater,
	tickPeriod, syncPeriod, maxDelayOnFailure time.Duration)

StartUpdater starts background go routine to check for changed routes calculated by watching nodes

Jump to

Keyboard shortcuts

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