Pending workloads in Status
This page shows you how to monitor pending workloads.
The intended audience for this page are batch administrators.
From version v0.5.0, Kueue provides the ability for a batch administrators to monitor the pipeline of pending jobs, and help users to estimate when their jobs will start.
Before you begin
Make sure the following conditions are met:
- A Kubernetes cluster is running.
- The kubectl command-line tool has communication with your cluster.
- Kueue is installed in version v0.5.0 or later.
Enabling feature QueueVisibility
QueueVisibility is an Alpha
feature disabled by default, check the Change the feature gates configuration section of the Installation for details.
Monitor pending workloads
Warning
This feature is deprecated and will be deleted on v1beta2. Please use Pending Workloads on-demand instead.To install a simple setup of cluster queue, run the following command:
For example, let’s create 10 jobs in a loop
To view the pending workload status, run the following command:
The output is similar to the following:
To configure queue visibility, please, follow the instruction how to install Kueue with a custom manager configuration.
The queueVisibility.clusterQueues.maxCount
parameter indicates the maximal number of pending workloads exposed in the ClusterQueue status.
By default, Kueue will set this parameter to 10.
When the value is set to 0, then ClusterQueues visibility updates are disabled.
The queueVisibility.updateIntervalSeconds
parameter allows to control the period of snapshot updates after Kueue startup.
Defaults to 5s.
It also can be changed in Kueue configuration:
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.