node

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller adds or removes node's CIDR allocation request from ippool spec whenever a node is added/updated/removed. Create a ippool if there isn't one for current cluster.

func NewController

func NewController(
	kubeClient kubernetes.Interface,
	ippoolManager ippoolmanager.IPPoolManager,
	informerManager *k8s.InformerManager,
	clusterName string,
	clusterNS string,
	ownerRef *metav1.OwnerReference) *Controller

NewController returns controller that reconciles node

func (*Controller) Run

func (c *Controller) Run(stopCh <-chan struct{})

Run starts the worker to process node updates

Jump to

Keyboard shortcuts

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