Documentation ¶
Index ¶
- func NewConcurrencyWatchdog(manager ctrl.Manager, conf *config.Config, target ListWatchdogTargets) error
- func NewIngressClassReconciler(manager ctrl.Manager, resources []client.Object, name string) error
- func NewIngressControllerReconciler(manager ctrl.Manager, resources []client.Object, name string) error
- func NginxScrapeFn(ctx context.Context, client rest.Interface, pod *corev1.Pod) (float64, error)
- type ConcurrencyWatchdog
- type ListWatchdogTargets
- type ScrapeFn
- type WatchdogTarget
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConcurrencyWatchdog ¶
func NewIngressClassReconciler ¶ added in v0.0.2
NewIngressClassReconciler creates a reconciler that manages ingress class resources
Types ¶
type ConcurrencyWatchdog ¶
type ConcurrencyWatchdog struct {
// contains filtered or unexported fields
}
ConcurrencyWatchdog evicts ingress controller pods that have too many active connections relative to others. This helps redistribute long-running connections when the ingress controller scales up.
func (*ConcurrencyWatchdog) NeedLeaderElection ¶ added in v0.0.3
func (c *ConcurrencyWatchdog) NeedLeaderElection() bool
type ListWatchdogTargets ¶ added in v0.1.0
type ListWatchdogTargets func() ([]WatchdogTarget, error)
func GetListNginxWatchdogTargets ¶ added in v0.1.0
func GetListNginxWatchdogTargets(cl client.Client, defaultNicControllerClass string) ListWatchdogTargets
type WatchdogTarget ¶ added in v0.0.2
WatchdogTarget refers to a target the concurrency watchdog should track
Click to show internal directories.
Click to hide internal directories.