```plaintext
%% Ray Repository Structure (ADR-0024)
%% Flowchart showing build and dynamic loading flow
flowchart TB
subgraph repos["π Repositories"]
direction LR
kuberay["kuberay-images
π³ Docker images
(infrequent updates)"]
rayserve["ray-serve
π¦ PyPI package
(frequent updates)"]
end
subgraph ci["π§ CI/CD Pipelines"]
direction LR
build_images["Build Docker
nvidia, rdna2,
strixhalo, intel"]
build_pypi["Build wheel
uv build"]
end
subgraph registries["π¦ Registries"]
direction LR
container_reg["π³ Container Registry
registry.lab.daviestechlabs.io"]
pypi_reg["π¦ PyPI Registry
git.daviestechlabs.io/pypi"]
end
subgraph ray["β‘ Ray Cluster"]
direction TB
head["π§ Head Node"]
workers["π₯οΈ Worker Nodes
(GPU-specific)"]
subgraph runtime["π Runtime Loading"]
pull_image["docker pull
ray-worker-*"]
pip_install["pip install ray-serve
runtime_env"]
end
serve_apps["Ray Serve Apps
/llm, /whisper, etc."]
end
subgraph k8s["βΈοΈ Kubernetes"]
manifests["RayService CR
(homelab-k8s2)"]
end
%% Build flows
kuberay --> build_images
rayserve --> build_pypi
build_images --> container_reg
build_pypi --> pypi_reg
%% Deployment flow
manifests --> ray
container_reg --> pull_image
pull_image --> workers
pypi_reg --> pip_install
pip_install --> serve_apps
classDef repo fill:#3498db,color:white
classDef ci fill:#f39c12,color:black
classDef registry fill:#9b59b6,color:white
classDef ray fill:#27ae60,color:white
classDef k8s fill:#e74c3c,color:white
class kuberay,rayserve repo
class build_images,build_pypi ci
class container_reg,pypi_reg registry
class head,workers,pull_image,pip_install,serve_apps ray
class manifests k8s
```