Skills

Kubesphere Volcano

KubeSphere Volcano job management Skill.

Install

npx skills add kubesphere/kubesphere --skill kubesphere-volcano -g -a claude-code -y
Repository
kubesphere/kubesphere17.1k
Category
Engineering
Updated
4mo ago
License
See repository
Context cost
Mediumabout 3,000 tokens
Runs scripts
No, instructions only

What it does

KubeSphere Volcano job management Skill. Use when user asks to create, list, update, delete Jobs (Volcano Jobs), manage Queues, create PyTorch/TensorFlow/MPI training jobs, or troubleshoot Volcano scheduling issues in KubeSphere. Includes built-in YAML templates, scheduling policy recommendations, and best practices for resource configuration. Handles both KubeSphere API and kubectl operations.

KubeSphere Volcano Management

Environment (this KubeSphere instance):

  • KubeSphere: Set KS_HOST environment variable (e.g., http://<kubesphere-host>:30880)
  • Username: admin (default)
  • Password: Set KS_PASSWORD environment variable
  • Clusters: Run kubectl get clusters or ks_api GET /kapis/cluster.kubesphere.io/v1alpha1/clusters
  • Volcano Extension: Run kubectl get extension volcano -n kubesphere-system or check via KubeSphere console

Use this skill for the full Volcano lifecycle in KubeSphere:

  • Create, list, update, delete Volcano Jobs
  • Manage Queues for job scheduling
  • Generate YAML templates for PyTorch, TensorFlow, MPI, and batch jobs
  • Troubleshoot job pending, pod creation, and scheduling issues

Out of scope by default:

  • Advanced Volcano CRDs not requested by the user, such as JobFlow, JobTemplate, or Command
  • Deep scheduler configuration without cluster evidence
  • Volcano system installation (assume extension is already installed)

If the user explicitly asks for those, acknowledge that they are Volcano capabilities but treat them as a follow-up task.

Response Rules

  • Prefer executable output: Job YAML, Queue YAML, kubectl commands, or a short ordered procedure.
  • Use kind: Job (not VolcanoJob), the correct resource type in this KubeSphere environment.
  • Use kubectl get jobs.batch.volcano.sh or short name vcjob/vj to query jobs.
  • For uninstall/delete requests, warn that deleting Job resources will terminate running pods.
  • Omit optional fields instead of guessing values.

IMPORTANT: The resource type is Job (short: vcjob, vj), NOT VolcanoJob. Use these names in all kubectl commands.

API Usage

This skill supports two approaches for API operations. See Discovery Commands section below for detailed commands.

API Endpoints

KubeSphere provides two API paths for Volcano Job:

Option 1: KubeSphere Extension API (/kapis) - Recommended

Uses volcanojobs resource name:

Read the whole SKILL.md on GitHub

More in Engineering