nodefailurectrl

package
v0.10.2 Latest Latest
Warning

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

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

Documentation

Overview

Package nodefailurectrl contains a controller that enforces a logic that ensure offloaded pods running on a failed node are evicted and rescheduled on a healthy node, preventing them to remain in a terminating state indefinitely. This feature can be useful in case of remote node failure to guarantee better service continuity and to have the expected pods workload on the remote cluster

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeFailureReconciler

type NodeFailureReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

NodeFailureReconciler reconciles a Node object.

func (*NodeFailureReconciler) Reconcile

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

Reconcile nodes objects.

func (*NodeFailureReconciler) SetupWithManager

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

SetupWithManager monitors updates on nodes and watch for pods that are terminating and managed by a ShadowPod.

Jump to

Keyboard shortcuts

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