<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>监控 pending 状态的工作负载 on Kueue</title><link>https://kueue.sigs.k8s.io/zh-cn/v0.17/docs/tasks/manage/monitor_pending_workloads/</link><description>Recent content in 监控 pending 状态的工作负载 on Kueue</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Mon, 20 Jul 2026 00:10:19 -0700</lastBuildDate><atom:link href="https://kueue.sigs.k8s.io/zh-cn/v0.17/docs/tasks/manage/monitor_pending_workloads/index.xml" rel="self" type="application/rss+xml"/><item><title>Pending Workloads on-demand</title><link>https://kueue.sigs.k8s.io/zh-cn/v0.17/docs/tasks/manage/monitor_pending_workloads/pending_workloads_on_demand/</link><pubDate>Mon, 30 Sep 2024 00:00:00 +0000</pubDate><guid>https://kueue.sigs.k8s.io/zh-cn/v0.17/docs/tasks/manage/monitor_pending_workloads/pending_workloads_on_demand/</guid><description>&lt;p&gt;This page shows you how to monitor pending workloads with &lt;code&gt;VisibilityOnDemand&lt;/code&gt; feature.&lt;/p&gt;
&lt;p&gt;The intended audience for this page are &lt;a href="https://kueue.sigs.k8s.io/zh-cn/v0.17/docs/tasks/#batch-administrator"&gt;batch administrators&lt;/a&gt; for &lt;a href="https://kueue.sigs.k8s.io/zh-cn/v0.17/docs/tasks/manage/monitor_pending_workloads/pending_workloads_on_demand/#cluster-queue-visibility-via-kubectl"&gt;Cluster Queue visibility section&lt;/a&gt;, and &lt;a href="https://kueue.sigs.k8s.io/zh-cn/v0.17/docs/tasks/#batch-user"&gt;batch users&lt;/a&gt; for &lt;a href="https://kueue.sigs.k8s.io/zh-cn/v0.17/docs/tasks/manage/monitor_pending_workloads/pending_workloads_on_demand/#local-queue-visibility-via-kubectl"&gt;Local Queue Visibility section&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;From version v0.6.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.&lt;/p&gt;
&lt;h2 id="before-you-begin"&gt;
Before you begin
&lt;a href="#before-you-begin" class="anchor-link"&gt;
 &lt;svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="24" height="24" viewBox="0 0 24 24"&gt;
 &lt;path d="M0 0h24v24H0z" fill="none"&gt;&lt;/path&gt;
 &lt;path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"&gt;&lt;/path&gt;
&lt;/svg&gt;
&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;Make sure the following conditions are met:&lt;/p&gt;</description></item><item><title>Grafana 中监控待处理的工作负载</title><link>https://kueue.sigs.k8s.io/zh-cn/v0.17/docs/tasks/manage/monitor_pending_workloads/pending_workloads_in_grafana/</link><pubDate>Thu, 12 Jun 2025 00:00:00 +0000</pubDate><guid>https://kueue.sigs.k8s.io/zh-cn/v0.17/docs/tasks/manage/monitor_pending_workloads/pending_workloads_in_grafana/</guid><description>&lt;p&gt;本指南解释了如何使用 &lt;code&gt;VisibilityOnDemand&lt;/code&gt; 特性在 Grafana 中监控待处理的工作负载。&lt;/p&gt;
&lt;p&gt;本文的受众是&lt;a href="https://kueue.sigs.k8s.io/zh-CN/docs/tasks#batch-administrator"&gt;批处理管理员&lt;/a&gt;，
用于 ClusterQueue 可见性，以及&lt;a href="https://kueue.sigs.k8s.io/zh-cn/v0.17/docs/tasks/#batch-user"&gt;批处理用户&lt;/a&gt;用于 LocalQueue 可见性。&lt;/p&gt;
&lt;h2 id="开始之前"&gt;
开始之前
&lt;a href="#%e5%bc%80%e5%a7%8b%e4%b9%8b%e5%89%8d" class="anchor-link"&gt;
 &lt;svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="24" height="24" viewBox="0 0 24 24"&gt;
 &lt;path d="M0 0h24v24H0z" fill="none"&gt;&lt;/path&gt;
 &lt;path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"&gt;&lt;/path&gt;
&lt;/svg&gt;
&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;确保满足以下条件：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;正在运行一个 Kubernetes 集群。&lt;/li&gt;
&lt;li&gt;已安装 &lt;a href="https://kueue.sigs.k8s.io/zh-CN/docs/installation"&gt;Kueue&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;已安装 &lt;a href="https://github.com/prometheus-operator/kube-prometheus/blob/main/README.md#quickstart"&gt;Kube-prometheus operator&lt;/a&gt;
版本 v0.15.0 或更新版本。&lt;/li&gt;
&lt;li&gt;已启用 &lt;a href="https://kueue.sigs.k8s.io/zh-CN/docs/tasks/manage/monitor_pending_workloads/pending_workloads_on_demand/#monitor-pending-workloads-on-demand"&gt;VisibilityOnDemand&lt;/a&gt; 特性。&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="setting-up-grafana-for-pending-workloads"&gt;
配置 Grafana 监控待处理工作负载
&lt;a href="#setting-up-grafana-for-pending-workloads" class="anchor-link"&gt;
 &lt;svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="24" height="24" viewBox="0 0 24 24"&gt;
 &lt;path d="M0 0h24v24H0z" fill="none"&gt;&lt;/path&gt;
 &lt;path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"&gt;&lt;/path&gt;
&lt;/svg&gt;
&lt;/a&gt;
&lt;/h2&gt;
&lt;h3 id="步骤-1配置集群权限"&gt;
步骤 1：配置集群权限
&lt;a href="#%e6%ad%a5%e9%aa%a4-1%e9%85%8d%e7%bd%ae%e9%9b%86%e7%be%a4%e6%9d%83%e9%99%90" class="anchor-link"&gt;
 &lt;svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="24" height="24" viewBox="0 0 24 24"&gt;
 &lt;path d="M0 0h24v24H0z" fill="none"&gt;&lt;/path&gt;
 &lt;path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"&gt;&lt;/path&gt;
&lt;/svg&gt;
&lt;/a&gt;
&lt;/h3&gt;
&lt;p&gt;为了启用可见性，为 &lt;code&gt;ClusterQueue&lt;/code&gt; 或 &lt;code&gt;LocalQueue&lt;/code&gt; 创建 &lt;code&gt;ClusterRole&lt;/code&gt; 和 &lt;code&gt;ClusterRoleBinding&lt;/code&gt;：&lt;/p&gt;</description></item></channel></rss>