Skip to content

Commit

Permalink
Extend the configuration for limitting the number of workloads with p…
Browse files Browse the repository at this point in the history
…osition
  • Loading branch information
mimowo committed Jul 21, 2023
1 parent 7838d0d commit 4b6db68
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions keps/168-pending-workloads-visibility/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ know that this has succeeded?

### Non-Goals

- expose the information about workload position for each workload individually
- expose the information about workload position for each pending workload in
in case of very long queues

<!--
What is out of scope for this KEP? Listing non-goals helps to focus discussion
Expand Down Expand Up @@ -282,10 +283,20 @@ type Configuration struct {
}

type PendingWorkloadsVisibility struct {
// MaxPendingWorkloadsInStatus indicates the maximal number of pending
// LocalQueuePendingWorkloads indicates the maximal number of pending
// workloads for which their local queue order is exposed.
// Defaults to 100.
MaxTopPendingWorkloads *int32
LocalQueuePendingWorkloads *int32

// LocalQueuePendingWorkloadsWithPosition indicates the maximal number of
// pending workloads for which their position in the cluster queue is exposed.
// Defaults to 10.
LocalQueuePendingWorkloadsWithPosition *int32

// ClusterQueuePendingWorkloads indicates the maximal number of pending
// workloads for which their cluster queue order is exposed.
// Defaults to 100.
ClusterQueuePendingWorkloads *int32
}
```

Expand Down

0 comments on commit 4b6db68

Please sign in to comment.