A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/kubernetes-sigs/controller-runtime/issues/2374 below:

Priority Queue ยท Issue #2374 ยท kubernetes-sigs/controller-runtime ยท GitHub

Tasks Feature enablement

The feature can be enabled by setting the UsePriorityQueue option to true, e.g.:

	ctrlOptions := ctrl.Options{
		Controller: config.Controller{
			UsePriorityQueue: ptr.To[bool](true),
		},
        ...
	}

	mgr, err := ctrl.NewManager(restConfig, ctrlOptions)
Original issue description

While discussing #857 (comment) an idea come up about having something like a priority queue, so we can give resync events a lower priority while assigning to other events a higher priority.

This could help when there are many objects of the same type and at every resync period there is a storm of events being added to the queue.

cc @alvaroaleman @sbueringer

sbueringer, rabbitfang, cbuto, nao99, ebensom and 4 morealvaroaleman, nathanperkins and tsuzu


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4