volcano-scheduler-config
Skill235 starsChanged 6 months agoApache-2.0View on GitHub
View Volcano scheduler configuration. Check scheduler ConfigMap, actions, plugins, and tier settings.
In this repository30 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- kbc/CLAUDE.mdCLAUDE.md
- cluster-eventsSkill
- deployment-rollout-debugSkill
- dns-debugSkill
- gateway-diagnosticsSkill
- hpa-debugSkill
- http-log-statsSkill
- image-pull-debugSkill
- ingress-debugSkill
- job-debugSkill
- networkpolicy-debugSkill
- node-health-checkSkill
- node-logsSkill
- pod-crash-debugSkill
- pod-pending-debugSkill
- pvc-debugSkill
- quota-debugSkill
- service-debugSkill
- statefulset-debugSkill
- volcano-diagnose-podSkill
- volcano-gang-schedulingSkill
- volcano-job-diagnoseSkill
- volcano-node-resourcesSkill
- volcano-queue-diagnoseSkill
- volcano-resource-insufficientSkill
- volcano-scheduler-logsSkill
- manage-skillSkill
- skill-authoringSkill
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
- Very specific: line 153
Look for name: gang in the plugin list.
- Very specific: line 161
Look for reclaim in the actions list.
- Very specific: line 169
Look for name: proportion.
- Distinctive: line 192
If your configuration differs significantly, it may explain scheduling behaviors.
- Very specific: line 204
Use --format yaml or --raw to see full plugin configurations including arguments.
- Very specific: line 217
Solution: Add gang plugin to configuration
- Very specific: line 228
Solution: Add reclaim to actions list
- Very specific: line 277
Default overcommit-factor of 1.2 means 20% overcommit
- Distinctive: line 284
Only schedules best-effort pods (no resource requests)
≈ “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.
Files
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
| Parameter | Required | Description |
--section SECTION | no | Show specific section: actions, plugins, tiers, all (default: all) |
--format FORMAT | no | Output format: yaml, json, summary (default: summary) |
--raw | no | Show raw ConfigMap data without parsing |
Examples
Get summary of scheduler configuration:
bash skills/core/volcano-scheduler-config/scripts/get-scheduler-config.shView actions configuration only:
bash skills/core/volcano-scheduler-config/scripts/get-scheduler-config.sh --section actionsView plugins configuration:
bash skills/core/volcano-scheduler-config/scripts/get-scheduler-config.sh --section pluginsShow full YAML configuration:
bash skills/core/volcano-scheduler-config/scripts/get-scheduler-config.sh --format yamlGet raw ConfigMap:
bash skills/core/volcano-scheduler-config/scripts/get-scheduler-config.sh --rawUnderstanding 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: binpackActions
Actions define the two-phase scheduling pipeline:
- Enqueue phase — PodGroup is admitted to the queue based on queue capacity (does the queue have enough deserved resources?)
- 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:
| Action | Required | Purpose |
enqueue | Yes | Admit pod groups to queue |
allocate | Yes | Allocate resources to pods |
backfill | No | Fill idle resources with best-effort pods |
preempt | No | Evict low-priority pods for high-priority |
reclaim | No | Reclaim resources from over-allocated queues |
elect | No | Select 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
| Plugin | Function | Critical For |
gang | Gang scheduling | Batch jobs, ML training |
priority | Priority sorting | Workload prioritization |
conformance | Protect critical pods | System stability |
Resource Plugins
| Plugin | Function | Use Case |
proportion | Fair share allocation | Multi-tenant clusters |
drf | Dominant Resource Fairness | Fair GPU/CPU sharing |
overcommit | Allow overcommit | Resource efficiency |
Node Plugins
| Plugin | Function | Use Case |
predicates | Node filtering | Resource/affinity matching |
nodeorder | Node ranking | Node selection optimization |
binpack | Dense packing | Reduce fragmentation |
numaaware | NUMA topology | HPC workloads |
Queue Plugins
| Plugin | Function | Use Case |
priority | Queue ordering | Queue prioritization |
proportion | Proportional share | Fair 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 pluginsLook 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 actionsLook 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 pluginsLook 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: binpackIf 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 gangSolution: 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 reclaimSolution: 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 actionsCommon 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 tiersGuideline:
- Tier 1: Plugins that should not be overridden (priority, gang)
- Tier 2: Resource optimization plugins (proportion, binpack)
Configuration Options Reference
Plugin Arguments
| Plugin | Argument | Default | Description |
gang | enablePreemptable | true | Allow Gang pods to be preempted |
overcommit | overcommit-factor | 1.2 | Multiplier for allocatable resources |
drf | enablePreemptable | true | Allow DRF pods to be preempted |
nodeorder | various weights | 0 | Node scoring weights |
proportion | (none) | - | No arguments |
predicates | GPUSharingEnable | false | Enable GPU sharing |
Action-Specific Notes
Enqueue
- Evaluates
jobEnqueueableFnfrom plugins - Default
overcommit-factorof 1.2 means 20% overcommit
Allocate
- Main allocation logic
- Calls
allocateaction for each tier
Backfill
- Only schedules best-effort pods (no resource requests)
- Ignores queue deserved resources
Preempt
- Requires
priorityplugin for comparison - Requires
preemptableFnfrom plugins
Reclaim
- Requires
proportionplugin - Requires
reclaimableFnfrom plugins - Reclaims from over-allocated queues
Environment Variables
| Variable | Default | Description |
VOLCANO_SCHEDULER_NS | volcano-system | Scheduler namespace |
VOLCANO_SCHEDULER_CONFIG | volcano-scheduler-configmap | ConfigMap 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
- binpackYAML Format
Parsed YAML structure:
actions: "enqueue, allocate, backfill"
tiers:
- plugins:
- name: priority
- name: gangJSON 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 analysisvolcano-gang-scheduling- Gang scheduling issuesvolcano-diagnose-pod- Pod scheduling diagnosisvolcano-scheduler-logs- Scheduler decision logs
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
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.

