Skip to content
Agentmart
Submit a tool

volcano-queue-diagnose

Diagnose Volcano Queue status and resource allocation.

Skill by scitix

IndexedApache-2.0★ 238
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/scitix-volcano-queue-diagnose

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Diagnose Volcano Queue status and resource allocation. Check queue weights, deserved resources, allocated resources, and identify queue-related scheduling bottlenecks.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/volcano-queue-diagnose

What's inside

Skill name
volcano-queue-diagnose
Description
Diagnose Volcano Queue status and resource allocation. Check queue weights, deserved resources, allocated resources, and identify queue-related scheduling bottlenecks.
License
Apache-2.0
Instructions
288 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • diagnose-queue.sh · scripts/

SKILL.md (first lines)

# Volcano Queue Diagnosis

Diagnose Volcano Queue status, resource allocation, and scheduling bottlenecks. This skill helps understand how resources are distributed across queues and why workloads may be pending due to queue constraints.

**Scope:** This skill is for **diagnosis only**. Once you identify the root cause, report it to the user and stop. Do NOT attempt to modify queue configurations or delete queues.

**Not applicable to native ResourceQuota:** Volcano Queue and Kubernetes ResourceQuota are independent mechanisms. If the cluster does not use Volcano, use `quota-debug` instead. To check: `kubectl get queue 2>/dev/null` — if it returns an error or empty, Volcano is not installed.

## Usage

```bash
bash skills/core/volcano-queue-diagnose/scripts/diagnose-queue.sh [options]
```

## Parameters

| Parameter | Required | Description |
|-----------|----------|-------------|
| `--queue QUEUE` | no | Queue name to diagnose (default: all queues) |
| `--show-pods` | no | Show pods associated with each queue |
| `--verbose` | no | Show detailed resource breakdown |

## Examples

Diagnose all queues:
```bash
bash skills/core/volcano-queue-diagnose/scripts/diagnose-queue.sh
```

Diagnose specific queue:
```bash
bash skills/core/volcano-queue-diagnose/scripts/diagnose-queue.sh --queue training-queue
```

Show verbose output with pod information:
```bash
bash skills/core/volcano-queue-diagnose/scripts/diagnose-queue.sh --queue training-queue --show-pods --verbose
```

## Understanding Volcano Queues

### Queue Concept

In Volcano, a Queue is a cluster-level resource allocation unit. Jobs and PodGroups are submitted to queues, and the scheduler distributes resources among queues based on:

1. **Weight** - Relative share of cluster resources (proportional: weight 10 vs weight 2 = 83% vs 17%)
2. **Capability** - Maximum resources a queue can use (ceiling, not guarantee — actual allocation depends on cluster capacity and competition)
3. **Parent** - Hierarchical queue relationships (if enabled)

**Important:** A Queue is a **cluster-scoped** resource. PodGroups from **any namespace** can reference the same queue, so cross-namespace resource competition within a queue is expected.

### Queue Status Fields

| Field | Meaning |
|-------|---------|
| `state` | Queue state: Open, Closed, Closing |
| `deserved` | Resources the queue should receive based on weight |
| `allocated` | Resources currently allocated to jobs in this queue |
| `used` | Resources actually used by running pods (≤ allocated) |
| `pending` | Number of PodGroups waiting in the queue |
| `running` | Number of running PodGroups |

## Diagnostic Flow

### Step 1: List All Queues

Get an overview of all queues:

```bash
kubectl get queue
```

**Output columns:**
- NAME: Queue name
- WEIGHT: Queue weight (higher = more resources)
- STATE: Open, Closed, or Closing
- PARENT: Parent queue (for hierarchical queues)

### Step 2: Check Queue Details

Get detailed information about a specific queue:

```bash
kubectl get queue <queue-name> -o yaml
kubectl describe queue <queue-name>
```

**Key sections to examine:**

#### Spec (Configuration)
```yaml
spec:
  weight: 10              # Relative weight (default: 1)
  capability:             # Max resources allowed
    cpu: "100"
    memory: "200Gi"
  reclaimable: true       # Allow resource reclamation
```

#### Status (Runtime State)
```yaml
status:
  state: Open             # Open, Closed, or Closing
  pending: 5              # PodGroups waiting
  running: 10             # Running PodGroups
  deserved:               # Resources this queue should get
    cpu: "40"
    memory: "80Gi"
  allocated:              # Resources actually allocated
    cpu: "35"
    memory: "70Gi"
```

### Step 3: Check Queue Resource Utilization

Calculate utilization ratios:

```
Allocation Ratio = allocated / deserved

From scitix/siclaw, Apache-2.0.

More from scitix/siclaw

Signals

Stars
238
Forks
32
Open issues
16
Last commit (this folder)
Mar 12, 2026 (7 months ago)
Last release
Sep 14, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
Website
siclaw.ai
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from scitix

Cite this page

volcano-queue-diagnose skill. Agent Mart. https://agentmart.dev/skills/scitix-volcano-queue-diagnose (last updated 2026-10-24)