controllers

package
v1.28.4 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSIPAMReconciler added in v1.23.0

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

AWSIPAMReconciler 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 NewAWSIPAMReconciler added in v1.23.0

func NewAWSIPAMReconciler(mgr manager.Manager) (*AWSIPAMReconciler, error)

NewAWSIPAMReconciler is the constructor for a IPAMReconciler

func (*AWSIPAMReconciler) Reconcile added in v1.23.0

func (r *AWSIPAMReconciler) 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 (*AWSIPAMReconciler) SetupWithManager added in v1.23.0

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

type GCEIPAMReconciler added in v1.28.0

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

GCEIPAMReconciler observes Node objects, assigning their`PodCIDRs` from the instance's `ExternalIpv6`.

func NewGCEIPAMReconciler added in v1.28.0

func NewGCEIPAMReconciler(mgr manager.Manager) (*GCEIPAMReconciler, error)

NewGCEIPAMReconciler is the constructor for a GCEIPAMReconciler

func (*GCEIPAMReconciler) Reconcile added in v1.28.0

func (r *GCEIPAMReconciler) 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 (*GCEIPAMReconciler) SetupWithManager added in v1.28.0

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

type HostsReconciler added in v1.23.0

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

HostsReconciler populates an /etc/hosts style file in the CoreDNS config map, supporting in-pod resolution of our k8s.local entries.

func NewHostsReconciler added in v1.23.0

func NewHostsReconciler(mgr manager.Manager, opt *config.Options, configMapID types.NamespacedName) (*HostsReconciler, error)

NewHostsReconciler is the constructor for a HostsReconciler

func (*HostsReconciler) Reconcile added in v1.23.0

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

Reconcile is the main reconciler function that observes node changes.

func (*HostsReconciler) SetupWithManager added in v1.23.0

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

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, vfsContext *vfs.VFSContext, 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