volcano-scheduler-logs
Skill235 starsChanged 6 months agoApache-2.0View on GitHub
Retrieve and analyze Volcano scheduler logs. Filter by keyword, time range, or pod name to debug scheduling decisions.
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-configSkill
- manage-skillSkill
- skill-authoringSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 38
Search for error messages:
- Distinctive: line 58
Check logs from previous scheduler instance (after crash/restart):
- Distinctive: line 168
Check Gang plugin behavior:
- Distinctive: line 180
Check proportion and reclaim decisions:
- Distinctive: line 192
Check for scheduling delays:
- Distinctive: line 224
Multi-scheduler: If running multiple schedulers, logs will be interleaved
- Distinctive: line 225
Log level: Default log level may not show all debug information
- Very specific: line 231
Combine keywords: Search for error\|Failed\|failed to catch all failures
- Very specific: line 232
Check pod context: Always include --pod when investigating specific pods
≈ “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 Logs
Retrieve and analyze Volcano scheduler logs to understand scheduling decisions, failures, and performance issues.
Scope: This skill is for diagnosis only. It retrieves logs for analysis but does not modify any cluster state.
Usage
bash skills/core/volcano-scheduler-logs/scripts/get-scheduler-logs.sh [options]Parameters
| Parameter | Required | Description |
--keyword KEYWORD | no | Filter logs by keyword (case-insensitive) |
--pod POD | no | Filter logs related to specific pod name |
--since TIME | no | Show logs newer than relative time (e.g., 10m, 1h) |
--lines N | no | Number of lines to show (default: 100) |
--follow | no | Stream logs in real-time (Ctrl+C to stop) |
--previous | no | Show logs from previous container instance (after restart) |
Examples
Get recent scheduler logs:
bash skills/core/volcano-scheduler-logs/scripts/get-scheduler-logs.shSearch for error messages:
bash skills/core/volcano-scheduler-logs/scripts/get-scheduler-logs.sh --keyword errorGet logs for a specific pod:
bash skills/core/volcano-scheduler-logs/scripts/get-scheduler-logs.sh --pod my-job-0Get last 500 lines from the past hour:
bash skills/core/volcano-scheduler-logs/scripts/get-scheduler-logs.sh --since 1h --lines 500Stream logs for gang scheduling issues:
bash skills/core/volcano-scheduler-logs/scripts/get-scheduler-logs.sh --keyword gang --followCheck logs from previous scheduler instance (after crash/restart):
bash skills/core/volcano-scheduler-logs/scripts/get-scheduler-logs.sh --previous --lines 200Common Keywords for Filtering
| Keyword | Use Case |
error | Find error messages and failures |
FailedScheduling | Scheduling failures |
allocate | Resource allocation attempts |
gang | Gang scheduling decisions |
minMember | MinMember constraint issues |
preempt | Preemption events |
reclaim | Resource reclamation |
enqueue | Queue admission decisions |
bind | Pod binding attempts |
queue | Queue-related decisions |
proportion | Proportion plugin decisions |
priority | Priority-related decisions |
Understanding Scheduler Logs
Log Format
Volcano scheduler logs typically follow this format:
I0102 15:04:05.123456 1 scheduler.go:123] Starting scheduling session
I0102 15:04:05.234567 1 allocate.go:456] Try to allocate resources for Job <namespace>/<job-name>
E0102 15:04:05.345678 1 gang.go:789] Failed to schedule pod <pod-name>: minMember not satisfiedLog levels:
I- Info: Normal operation informationW- Warning: Unusual but non-fatal conditionsE- Error: Failures and errorsF- Fatal: Critical errors causing shutdown
Common Log Patterns
Session Start
Starting scheduling session
Starting scheduling loop- Indicates scheduler is processing a new batch of pending pods
Enqueue Decisions
Try to enqueue pod group
PodGroup <name> is enqueued
PodGroup <name> is pending- Shows whether pod groups are admitted to the queue
Allocation Attempts
Try to allocate resources for Job
Try to allocate for task- Shows scheduling attempts for specific jobs/pods
Gang Scheduling
minMember not satisfied
gang member not ready
Waiting for gang members- Indicates Gang constraint preventing scheduling
Resource Shortage
Insufficient cpu
Insufficient memory
0 nodes are available- Indicates resource constraint preventing scheduling
Preemption
Preempting pods
Found victim pods- Shows preemption decisions for high-priority workloads
Reclaim
Try to reclaim resources
Reclaiming resources from queue- Shows resource reclamation between queues
Diagnostic Use Cases
Case 1: Pod Stuck in Pending
Find relevant scheduler decisions:
bash skills/core/volcano-scheduler-logs/scripts/get-scheduler-logs.sh --pod <pod-name> --since 30mLook for:
FailedSchedulingeventsminMember not satisfiedInsufficientresource messagesenqueuedecisions (is the PodGroup being admitted?)
Case 2: Gang Scheduling Issues
Check Gang plugin behavior:
bash skills/core/volcano-scheduler-logs/scripts/get-scheduler-logs.sh --keyword gang --since 1hLook for:
minMemberrelated messages- Gang constraint validation
- Comparison of running vs required members
Case 3: Queue Resource Issues
Check proportion and reclaim decisions:
bash skills/core/volcano-scheduler-logs/scripts/get-scheduler-logs.sh --keyword "reclaim\|proportion" --since 30mLook for:
- Queue resource calculations
- Reclaim triggers
- Over-commit handling
Case 4: Scheduler Performance
Check for scheduling delays:
bash skills/core/volcano-scheduler-logs/scripts/get-scheduler-logs.sh --lines 500 | grep -E "(Starting|Finished) scheduling"Look for:
- Long gaps between "Starting" and "Finished"
- High frequency of scheduling loops
- Errors causing retries
Case 5: Preemption Analysis
Check preemption decisions:
bash skills/core/volcano-scheduler-logs/scripts/get-scheduler-logs.sh --keyword preempt --since 1hLook for:
- Which pods are being preempted
- Priority comparisons
- Preemption success/failure
Environment Variables
| Variable | Default | Description |
VOLCANO_SCHEDULER_NS | volcano-system | Scheduler namespace |
VOLCANO_SCHEDULER_LABEL | app=volcano-scheduler | Label selector for scheduler pods |
Limitations
- Log retention: Logs may be rotated based on cluster configuration
- Multi-scheduler: If running multiple schedulers, logs will be interleaved
- Log level: Default log level may not show all debug information
- Previous logs:
--previousonly works if the container has restarted
Tips for Effective Log Analysis
- Use time ranges: Narrow down with
--sinceto focus on recent issues - Combine keywords: Search for
error\|Failed\|failedto catch all failures - Check pod context: Always include
--podwhen investigating specific pods - Look for patterns: Repeating errors may indicate systemic issues
- Correlate with events: Compare with
kubectl get eventstimestamps
See Also
volcano-diagnose-pod- Diagnose individual pod issuesvolcano-gang-scheduling- Gang scheduling specific diagnosisvolcano-queue-diagnose- Queue resource analysisvolcano-resource-insufficient- Resource shortage diagnosis
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.

