hyper2kvm

Worker Job Protocol - Documentation Index

Complete guide to the hyper2kvm Worker Job Protocol v1 for production Kubernetes deployments.


πŸ“š Documentation Structure

Getting Started

  1. QUICKSTART.md ⭐ START HERE
    • 5-minute introduction
    • First job submission
    • Basic concepts
    • CLI usage examples
  2. PROTOCOL_SPEC.md - Complete Specification
    • JSON schema definitions
    • State machine details
    • Capability system
    • Event streaming
    • API reference

Deployment Guides

  1. ../deployment/WORKER_PROTOCOL_SUMMARY.md - Complete Implementation Summary
    • v1.0.0 - v1.3.0 overview
    • Architecture diagrams
    • Statistics and metrics
    • Deployment options
    • Production checklist
  2. ../../k8s/README.md - Kubernetes Deployment
    • kubectl deployment
    • Makefile targets
    • PVC configuration
    • Job submission
    • Troubleshooting
  3. ../../helm/hyper2kvm-worker/README.md - Helm Chart
    • Installation guide
    • Configuration parameters
    • Storage setup
    • Monitoring integration
    • Examples (minimal, production)

Version-Specific Guides

  1. ../deployment/production-enhancements.md - v1.1.0 Features
    • Persistent storage (5 PVCs)
    • Prometheus metrics
    • ServiceMonitor
    • Alert rules
    • Production DaemonSet
  2. ../deployment/v1.2.0-enhancements.md - v1.2.0 Features
    • Metrics integration
    • Grafana dashboard (9 panels)
    • Helm charts
    • Template helpers
    • Conditional resources
  3. ../deployment/v1.3.0-cicd-ops.md - v1.3.0 Features
    • GitHub Actions CI/CD
    • GitLab CI pipeline
    • Backup/restore scripts
    • Helm migration tool
    • Operator CRD foundation

Operator Development (Future)

  1. ../../k8s/operator/README.md - Operator Roadmap
    • MigrationJob CRD
    • Controller architecture
    • Development roadmap
    • Implementation technologies
    • Contributing guide

Release Information

  1. ../../RELEASE_NOTES_v1.3.0.md - Latest Release
    • What’s new in v1.3.0
    • Upgrade instructions
    • Breaking changes
    • Future roadmap

🎯 Quick Navigation

By Role

Developers (First Time)

  1. QUICKSTART.md - Learn basics
  2. PROTOCOL_SPEC.md - Understand details
  3. k8s/worker/examples/ - See examples

DevOps Engineers

  1. k8s/README.md - kubectl deployment
  2. helm/README.md - Helm installation
  3. v1.3.0-cicd-ops.md - CI/CD setup

SRE / Operations

  1. production-enhancements.md - Monitoring
  2. v1.3.0-cicd-ops.md - Backup/restore
  3. WORKER_PROTOCOL_SUMMARY.md - Architecture

Architects

  1. WORKER_PROTOCOL_SUMMARY.md - Full overview
  2. PROTOCOL_SPEC.md - Technical details
  3. operator/README.md - Future direction

By Task

Deploy Workers

Submit Jobs

Monitor Jobs

Operate Workers

Set Up CI/CD


πŸ“– Learning Paths

Path 1: Quick Start (1 hour)

  1. Read QUICKSTART.md (15 min)
  2. Deploy to k3d using k8s README (30 min)
  3. Submit example job from examples/ (15 min)

Path 2: Production Deployment (4 hours)

  1. Read WORKER_PROTOCOL_SUMMARY.md (30 min)
  2. Review Helm Chart README (30 min)
  3. Set up storage classes (1 hour)
  4. Deploy with Helm + monitoring (1 hour)
  5. Configure backups and CI/CD (1 hour)

Path 3: Development (8 hours)

  1. Read PROTOCOL_SPEC.md (1 hour)
  2. Study code in hyper2kvm/worker/*.py (2 hours)
  3. Run tests: pytest tests/test_worker_protocol.py (1 hour)
  4. Build Docker images (1 hour)
  5. Test in k3d (2 hours)
  6. Review CI/CD workflows (1 hour)

Path 4: Operator Development (Future)

  1. Read operator/README.md (30 min)
  2. Install CRDs: kubectl apply -f k8s/operator/crds/ (10 min)
  3. Study MigrationJob spec (30 min)
  4. Review operator frameworks (Kopf, Operator SDK) (1 hour)
  5. Propose architecture in GitHub Discussions

πŸ” Find What You Need

Schemas and Specifications

Topic Document Location
Job Schema PROTOCOL_SPEC.md Section 2
State Machine PROTOCOL_SPEC.md Section 3
Capability System PROTOCOL_SPEC.md Section 4
Event Format PROTOCOL_SPEC.md Section 5
MigrationJob CRD operator/README.md Full spec

Configuration

Topic Document Section
Helm Values helm/README.md Configuration
Storage Classes helm/README.md Storage Configuration
Prometheus Metrics production-enhancements.md Metrics
Grafana Dashboard v1.2.0-enhancements.md Dashboard
DaemonSet Config k8s/README.md Manifests

Operations

Topic Document Section
Backup v1.3.0-cicd-ops.md Operational Scripts
Restore v1.3.0-cicd-ops.md Operational Scripts
Helm Migration v1.3.0-cicd-ops.md Operational Scripts
Troubleshooting k8s/README.md Troubleshooting
Monitoring production-enhancements.md Full Document

Examples

Example Location Description
Inspect Job k8s/worker/examples/inspect-job.json Basic inspection
Convert Job k8s/worker/examples/convert-job.json VMDK to qcow2
Offline Fix k8s/worker/examples/offline-fix-job.json Boot repair
Job Status k8s/worker/examples/job-state.json State tracking
Helm Values (Minimal) helm/README.md k3d deployment
Helm Values (Production) helm/README.md Production config

πŸ“ Documentation Standards

File Organization

docs/
β”œβ”€β”€ worker/                      Core protocol docs
β”‚   β”œβ”€β”€ INDEX.md                This file
β”‚   β”œβ”€β”€ QUICKSTART.md           Getting started
β”‚   └── PROTOCOL_SPEC.md        Complete spec
β”‚
β”œβ”€β”€ deployment/                  Deployment guides
β”‚   β”œβ”€β”€ WORKER_PROTOCOL_SUMMARY.md  Complete overview
β”‚   β”œβ”€β”€ production-enhancements.md  v1.1.0 features
β”‚   β”œβ”€β”€ v1.2.0-enhancements.md      v1.2.0 features
β”‚   β”œβ”€β”€ v1.3.0-cicd-ops.md          v1.3.0 features
β”‚   └── k3d-test-report.md          Test results
β”‚
k8s/
β”œβ”€β”€ README.md                    kubectl deployment
β”œβ”€β”€ operator/
β”‚   └── README.md                Operator roadmap
└── worker/examples/             Job examples

helm/hyper2kvm-worker/
└── README.md                    Helm chart guide

RELEASE_NOTES_v1.3.0.md         Latest release notes

Document Types

Guides (QUICKSTART, k8s/README)

Specifications (PROTOCOL_SPEC)

Reference (helm/README, SUMMARY)

Release Notes


πŸ†• Recent Updates

v1.3.0 (2026-01-30)

v1.2.0 (2026-01-30)

v1.1.0 (2026-01-30)

v1.0.0 (2026-01-30)


πŸ’‘ Tips

For New Users

  1. Start with QUICKSTART.md - Don’t skip this!
  2. Use k3d for learning - Safe, local, fast
  3. Study examples - Copy and modify example jobs
  4. Test locally first - Before production deployment

For Production

  1. Read WORKER_PROTOCOL_SUMMARY.md - Understand architecture
  2. Review production checklist - In WORKER_PROTOCOL_SUMMARY.md
  3. Set up monitoring first - Before deploying workers
  4. Test backup/restore - Before you need it

For Developers

  1. Read PROTOCOL_SPEC.md thoroughly - Complete understanding
  2. Run tests locally - pytest tests/test_worker_protocol.py
  3. Use type hints - Pydantic models are your friends
  4. Check CI before pushing - Local tests first

For Operators

  1. Automate backups - Use scripts in scripts/ops/
  2. Monitor alerts - Set up AlertManager integration
  3. Document customizations - Keep Helm values in Git
  4. Plan upgrades - Test in staging first

🀝 Contributing

Found a documentation issue?

  1. Check if it’s already reported: GitHub Issues
  2. Submit improvement: GitHub Pull Request
  3. Discuss ideas: GitHub Discussions

Documentation Standards:


πŸ“ž Support

Self-Service

  1. Search this index for your topic
  2. Read the relevant guide
  3. Check examples in k8s/worker/examples/
  4. Review troubleshooting sections

Community Support

Enterprise Support

For enterprise support, consulting, or custom development, contact the maintainers.


🎯 Next Steps

Based on your role:

I’m a Developer β†’ QUICKSTART.md I’m deploying to k3d β†’ k8s/README.md I’m deploying to production β†’ WORKER_PROTOCOL_SUMMARY.md I want to use Helm β†’ helm/README.md I need to set up CI/CD β†’ v1.3.0-cicd-ops.md I want to contribute β†’ PROTOCOL_SPEC.md


Last Updated: 2026-01-30 (v1.3.0) Status: Production-Ready βœ