ingress

package
v0.0.0-...-4d78981 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = "IngressControllerARO"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	base.AROController
}

Reconciler spots openshift ingress controllers has abnormal replica counts (less than 2) when happens, it tries to rescale the controller to 2 replicas, i.e., the minimum required replicas

func NewReconciler

func NewReconciler(log *logrus.Entry, client client.Client) *Reconciler

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

func (*Reconciler) SetupWithManager

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

SetupWithManager setup the mananger for openshift ingress controller resource

Jump to

Keyboard shortcuts

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