- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for PriorityLevelName (0.24 sec)
-
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/width.go
// estimate the work of of incoming requests. type WorkEstimatorFunc func(request *http.Request, flowSchemaName, priorityLevelName string) WorkEstimate func (e WorkEstimatorFunc) EstimateWork(r *http.Request, flowSchemaName, priorityLevelName string) WorkEstimate { return e(r, flowSchemaName, priorityLevelName) } type workEstimator struct { // the minimum number of seats a request must occupy minimumSeats uint64
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 17 19:26:52 UTC 2023 - 5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller_debug.go
cfgCtlr.lock.Lock() defer cfgCtlr.lock.Unlock() tabWriter := tabwriter.NewWriter(w, 8, 0, 1, ' ', 0) columnHeaders := []string{ "PriorityLevelName", // 1 "ActiveQueues", // 2 "IsIdle", // 3 "IsQuiescing", // 4 "WaitingRequests", // 5 "ExecutingRequests", // 6 "DispatchedRequests", // 7 "RejectedRequests", // 8
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 18 17:38:43 UTC 2023 - 7.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/max_seats.go
GetMaxSeats(priorityLevelName string) uint64 // SetMaxSeats configures max seats for a priority level. SetMaxSeats(priorityLevelName string, maxSeats uint64) // ForgetPriorityLevel removes max seats tracking for a priority level. ForgetPriorityLevel(priorityLevelName string) } type maxSeatsTracker struct { sync.RWMutex
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 17 19:26:52 UTC 2023 - 1.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/mutating_work_estimator.go
countFn watchCountGetterFunc maxSeatsFn maxSeatsFunc } func (e *mutatingWorkEstimator) estimate(r *http.Request, flowSchemaName, priorityLevelName string) WorkEstimate { minSeats := e.config.MinimumSeats maxSeats := e.maxSeatsFn(priorityLevelName) if maxSeats == 0 || maxSeats > e.config.MaximumSeatsLimit { maxSeats = e.config.MaximumSeatsLimit }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 17 19:26:52 UTC 2023 - 6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness.go
return h.workEstimator(r, "", "") } workEstimate := h.workEstimator(r, classification.FlowSchemaName, classification.PriorityLevelName) fcmetrics.ObserveWorkEstimatedSeats(classification.PriorityLevelName, classification.FlowSchemaName, workEstimate.MaxSeats()) httplog.AddKeyValue(ctx, "apf_iseats", workEstimate.InitialSeats)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:35 UTC 2023 - 15.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/list_work_estimator.go
countGetterFn objectCountGetterFunc maxSeatsFn maxSeatsFunc } func (e *listWorkEstimator) estimate(r *http.Request, flowSchemaName, priorityLevelName string) WorkEstimate { minSeats := e.config.MinimumSeats maxSeats := e.maxSeatsFn(priorityLevelName) if maxSeats == 0 || maxSeats > e.config.MaximumSeatsLimit { maxSeats = e.config.MaximumSeatsLimit } requestInfo, ok := apirequest.RequestInfoFrom(r.Context())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 11:56:42 UTC 2024 - 7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_filter.go
} panicking = false } func observeQueueWaitTime(ctx context.Context, priorityLevelName, flowSchemaName, execute string, waitTime time.Duration) { metrics.ObserveWaitingDuration(ctx, priorityLevelName, flowSchemaName, execute, waitTime) endpointsrequest.TrackAPFQueueWaitLatency(ctx, waitTime)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:35 UTC 2023 - 8K bytes - Viewed (0) -
pkg/printers/internalversion/printers_test.go
}}, NonResourceRules: []flowcontrol.NonResourcePolicyRule{{ Verbs: all, NonResourceURLs: all, }}, }}, }, }, // Columns: Name, PriorityLevelName, MatchingPrecedence, DistinguisherMethod, Age, MissingPL expected: []metav1.TableRow{{Cells: []interface{}{"all-matcher", "allee", int64(math.MaxInt32), "ByUser", "0s", "?"}}}, }, { fs: flowcontrol.FlowSchema{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.27.md
- Two changes to the `/debug/api_priority_and_fairness/dump_priority_levels` endpoint of API Priority and Fairness: added total number of dispatched, timed-out, rejected and cancelled requests; output now sorted by `PriorityLevelName`. ([#112393](https://github.com/kubernetes/kubernetes/pull/112393), [@borgerli](https://github.com/borgerli)) - Unlocked the `CSIMigrationvSphere` feature gate.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 23:01:06 UTC 2024 - 455.3K bytes - Viewed (0)