agentleFS
scitixscitix/siclaw/skills/core/volcano-scheduler-config/SKILL.md

volcano-scheduler-config

Skill235 starsChanged 6 months agoApache-2.0View on GitHub

View Volcano scheduler configuration. Check scheduler ConfigMap, actions, plugins, and tier settings.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 2 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Look for name: gang in the plugin list.

    line 153
  2. Very specific:

    Look for reclaim in the actions list.

    line 161
  3. Very specific:

    Look for name: proportion.

    line 169
  4. Distinctive:

    If your configuration differs significantly, it may explain scheduling behaviors.

    line 192
  5. Very specific:

    Use --format yaml or --raw to see full plugin configurations including arguments.

    line 204
  6. Very specific:

    Solution: Add gang plugin to configuration

    line 217
  7. Very specific:

    Solution: Add reclaim to actions list

    line 228
  8. Very specific:

    Default overcommit-factor of 1.2 means 20% overcommit

    line 277
  9. Distinctive:

    Only schedules best-effort pods (no resource requests)

    line 284

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Volcano Scheduler Configuration

View Volcano scheduler configuration to understand scheduling policies, enabled plugins, and actions. This skill helps diagnose configuration-related scheduling behaviors.

Scope: This skill is for diagnosis only. It retrieves configuration for analysis but does not modify any cluster state.

Usage

bash skills/core/volcano-scheduler-config/scripts/get-scheduler-config.sh [options]

Parameters

ParameterRequiredDescription
--section SECTIONnoShow specific section: actions, plugins, tiers, all (default: all)
--format FORMATnoOutput format: yaml, json, summary (default: summary)
--rawnoShow raw ConfigMap data without parsing

Examples

Get summary of scheduler configuration:

bash skills/core/volcano-scheduler-config/scripts/get-scheduler-config.sh

View actions configuration only:

bash skills/core/volcano-scheduler-config/scripts/get-scheduler-config.sh --section actions

View plugins configuration:

bash skills/core/volcano-scheduler-config/scripts/get-scheduler-config.sh --section plugins

Show full YAML configuration:

bash skills/core/volcano-scheduler-config/scripts/get-scheduler-config.sh --format yaml

Get raw ConfigMap:

bash skills/core/volcano-scheduler-config/scripts/get-scheduler-config.sh --raw

Understanding Scheduler Configuration

Configuration Location

The Volcano scheduler configuration is stored in:

  • Namespace: volcano-system
  • ConfigMap: volcano-scheduler-configmap
  • Key: volcano-scheduler.conf

Configuration Structure

actions: "enqueue, allocate, backfill"  # Pipeline order
tiers:
- plugins:
  - name: priority
  - name: gang
  - name: conformance
- plugins:
  - name: overcommit
  - name: drf
  - name: predicates
  - name: proportion
  - name: nodeorder
  - name: binpack

Actions

Actions define the two-phase scheduling pipeline:

  1. Enqueue phase — PodGroup is admitted to the queue based on queue capacity (does the queue have enough deserved resources?)
  2. Allocate phase — Individual pods are placed on nodes based on node resources, affinity, taints, etc.

A job can pass enqueue (PodGroup moves to Inqueue) but fail allocation (pods stay Pending) if node-level constraints block placement. This two-phase model explains the common scenario: "queue has capacity but pods won't schedule."

Actions in order:

ActionRequiredPurpose
enqueueYesAdmit pod groups to queue
allocateYesAllocate resources to pods
backfillNoFill idle resources with best-effort pods
preemptNoEvict low-priority pods for high-priority
reclaimNoReclaim resources from over-allocated queues
electNoSelect target workload (removed in v1.6+)

Tiers

Tiers divide plugins into priority levels:

  • Tier 1: First to evaluate, results cannot be overridden
  • Tier 2: Second to evaluate, lower priority

Common tier organization:

  • Tier 1: Critical plugins (priority, gang, conformance)
  • Tier 2: Resource and optimization plugins

Plugins

Critical Plugins

PluginFunctionCritical For
gangGang schedulingBatch jobs, ML training
priorityPriority sortingWorkload prioritization
conformanceProtect critical podsSystem stability

Resource Plugins

PluginFunctionUse Case
proportionFair share allocationMulti-tenant clusters
drfDominant Resource FairnessFair GPU/CPU sharing
overcommitAllow overcommitResource efficiency

Node Plugins

PluginFunctionUse Case
predicatesNode filteringResource/affinity matching
nodeorderNode rankingNode selection optimization
binpackDense packingReduce fragmentation
numaawareNUMA topologyHPC workloads

Queue Plugins

PluginFunctionUse Case
priorityQueue orderingQueue prioritization
proportionProportional shareFair queue allocation

Diagnostic Use Cases

Case 1: Check If Gang Scheduling is Enabled

bash skills/core/volcano-scheduler-config/scripts/get-scheduler-config.sh --section plugins

Look for name: gang in the plugin list. If missing, Gang scheduling will not work.

Case 2: Verify Reclaim is Enabled

bash skills/core/volcano-scheduler-config/scripts/get-scheduler-config.sh --section actions

Look for reclaim in the actions list. If missing, queues cannot reclaim resources.

Case 3: Check Proportion Plugin Configuration

bash skills/core/volcano-scheduler-config/scripts/get-scheduler-config.sh --section plugins

Look for name: proportion. If missing, queue fair-share allocation is disabled.

Case 4: Compare with Default Configuration

Default configuration:

actions: "enqueue, allocate, backfill"
tiers:
- plugins:
  - name: priority
  - name: gang
    enablePreemptable: false
  - name: conformance
- plugins:
  - name: overcommit
  - name: drf
    enablePreemptable: false
  - name: predicates
  - name: proportion
  - name: nodeorder
  - name: binpack

If your configuration differs significantly, it may explain scheduling behaviors.

Case 5: Check Plugin Arguments

Some plugins accept arguments:

- name: overcommit
  arguments:
    overcommit-factor: "1.2"

Use --format yaml or --raw to see full plugin configurations including arguments.

Common Configuration Issues

Issue 1: Missing Gang Plugin

Symptom: PodGroups stay Pending, minMember never satisfied

Check:

bash skills/core/volcano-scheduler-config/scripts/get-scheduler-config.sh --section plugins | grep gang

Solution: Add gang plugin to configuration

Issue 2: Missing Reclaim Action

Symptom: Queues cannot reclaim resources from over-allocated queues

Check:

bash skills/core/volcano-scheduler-config/scripts/get-scheduler-config.sh --section actions | grep reclaim

Solution: Add reclaim to actions list

Issue 3: Wrong Action Order

Symptom: Unexpected scheduling behavior

Check:

bash skills/core/volcano-scheduler-config/scripts/get-scheduler-config.sh --section actions

Common orders:

  • Default: enqueue, allocate, backfill
  • With preemption: enqueue, allocate, backfill, preempt
  • With reclaim: enqueue, allocate, backfill, reclaim
  • Full: enqueue, allocate, backfill, preempt, reclaim

Important: enqueue must come before allocate. allocate must be present.

Issue 4: Plugin Tier Misconfiguration

Symptom: Priority/preemption not working as expected

Check:

bash skills/core/volcano-scheduler-config/scripts/get-scheduler-config.sh --section tiers

Guideline:

  • Tier 1: Plugins that should not be overridden (priority, gang)
  • Tier 2: Resource optimization plugins (proportion, binpack)

Configuration Options Reference

Plugin Arguments

PluginArgumentDefaultDescription
gangenablePreemptabletrueAllow Gang pods to be preempted
overcommitovercommit-factor1.2Multiplier for allocatable resources
drfenablePreemptabletrueAllow DRF pods to be preempted
nodeordervarious weights0Node scoring weights
proportion(none)-No arguments
predicatesGPUSharingEnablefalseEnable GPU sharing

Action-Specific Notes

Enqueue

  • Evaluates jobEnqueueableFn from plugins
  • Default overcommit-factor of 1.2 means 20% overcommit

Allocate

  • Main allocation logic
  • Calls allocate action for each tier

Backfill

  • Only schedules best-effort pods (no resource requests)
  • Ignores queue deserved resources

Preempt

  • Requires priority plugin for comparison
  • Requires preemptableFn from plugins

Reclaim

  • Requires proportion plugin
  • Requires reclaimableFn from plugins
  • Reclaims from over-allocated queues

Environment Variables

VariableDefaultDescription
VOLCANO_SCHEDULER_NSvolcano-systemScheduler namespace
VOLCANO_SCHEDULER_CONFIGvolcano-scheduler-configmapConfigMap name

Output Formats

Summary Format (default)

Human-readable summary:

Scheduler Configuration
=======================
Actions: enqueue, allocate, backfill

Tier 1 Plugins:
  - priority
  - gang
  - conformance

Tier 2 Plugins:
  - overcommit
  - drf
  - predicates
  - proportion
  - nodeorder
  - binpack

YAML Format

Parsed YAML structure:

actions: "enqueue, allocate, backfill"
tiers:
  - plugins:
      - name: priority
      - name: gang

JSON Format

Machine-parseable:

{
  "actions": "enqueue, allocate, backfill",
  "tiers": [
    {
      "plugins": [
        {"name": "priority"},
        {"name": "gang"}
      ]
    }
  ]
}

Raw Format

ConfigMap raw output:

volcano-scheduler.conf:
---
actions: "enqueue, allocate, backfill"
tiers:
...

See Also

  • volcano-queue-diagnose - Queue resource analysis
  • volcano-gang-scheduling - Gang scheduling issues
  • volcano-diagnose-pod - Pod scheduling diagnosis
  • volcano-scheduler-logs - Scheduler decision logs

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.