- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for FlowSchemaName (0.34 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
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/request/mutating_work_estimator.go
} type mutatingWorkEstimator struct { config *WorkEstimatorConfig 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/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) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller_debug.go
includeRequestDetails := len(r.URL.Query().Get(queryIncludeRequestDetails)) > 0 tabWriter := tabwriter.NewWriter(w, 8, 0, 1, ' ', 0) tabPrint(tabWriter, rowForHeaders([]string{ "PriorityLevelName", // 1 "FlowSchemaName", // 2 "QueueIndex", // 3 "RequestIndexInQueue", // 4 "FlowDistingsher", // 5 "ArriveTime", // 6 "InitialSeats", // 7 "FinalSeats", // 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/request/list_work_estimator.go
} type listWorkEstimator struct { config *WorkEstimatorConfig 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
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_controller.go
// shouldDelayUpdate checks to see if a flowschema has been updated too often and returns true if a delay is needed. // Only invoke this in the one and only worker goroutine func (cfgCtlr *configController) shouldDelayUpdate(flowSchemaName string) bool { numUpdatesInPastMinute := 0 oneMinuteAgo := cfgCtlr.clock.Now().Add(-1 * time.Minute) for idx, update := range cfgCtlr.mostRecentUpdates { if oneMinuteAgo.After(update.timeUpdated) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 48.8K bytes - Viewed (1)