Documentation ¶
Index ¶
- func NewConcurrencyWatchdog(manager ctrl.Manager, conf *config.Config, targets []*WatchdogTarget) 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 LabelGetter
- 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 LabelGetter ¶ added in v0.0.2
LabelGetter returns unique pod labels for an Ingress controller
type WatchdogTarget ¶ added in v0.0.2
type WatchdogTarget struct { ScrapeFn ScrapeFn LabelGetter }
WatchdogTarget refers to a target the concurrency watchdog should track
Click to show internal directories.
Click to hide internal directories.