1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/kueue-modifying-monitoring-settings.adoc
2025-12-16 17:21:21 +00:00

57 lines
2.2 KiB
Plaintext

// Module included in the following assemblies:
//
// * ai_workloads/kueue/monitoring-pending-workloads.adoc
:_mod-docs-content-type: PROCEDURE
[id="modifying-monitoring-settings_{context}"]
= Modifying monitoring settings
[role="_abstract"]
Modify the monitoring settings according to your organization's requirements to ensure users can access and view the pending workloads in a timely and reliable manner.
This procedure tells you how to modify the resource flow control for the {kueue-name} `VisibilityOnDemand` feature. Modifications directly impact the system's ability to handle concurrent requests for job visibility information.
.Procedure
. Edit the `PriorityLevelConfiguration` asset for `VisibilityOnDemand` on `Kueue` by running the following command:
+
[source,terminal]
----
$ oc edit prioritylevelconfiguration kueue-visibility
----
. Modify the `nominalConcurrencyShares` field in the `PriorityLevelConfiguration` asset by setting the value for `kueue.openshift.io/allow-nominal-concurrency-shares-update` to `true`.
+
The possible values you can specify for `nominalConcurrencyShares` are `0`, `2` (the default) until `5`. If you specify a value that is not acceptable (the value `1` or any value above `5`), the default value `2`, is enforced.
+
See the following example:
+
[source,yaml]
----
apiVersion: flowcontrol.apiserver.k8s.io/v1
kind: PriorityLevelConfiguration
metadata:
name: kueue-visibility
annotations:
kueue.openshift.io/allow-nominal-concurrency-shares-update: "false"
spec:
limited:
borrowingLimitPercent: 0
lendablePercent: 90
limitResponse:
queuing:
handSize: 4
queueLengthLimit: 50
queues: 16
type: Queue
nominalConcurrencyShares: 2
type: Limited
----
+
The default value for `kueue.openshift.io/allow-nominal-concurrency-shares-update` is `false`. If you change the value of `nominalConcurrencyShares` to any value other than `2`, then you must first change the value of `kueue.openshift.io/allow-nominal-concurrency-shares-update` to `true`. Otherwise, the value you assign for `nominalConcurrencyShares` will not take effect.
. Verify the value is kept by running the following command:
+
[source,terminal]
----
$ oc get prioritylevelconfiguration kueue-visibility
----