Kubernetes Deployment
Prerequisites
Architecture on Kubernetes
┌─────────────────────────────────────────────────────────────────────────────┐
│ Kubernetes Cluster │
│ │
│ ┌───────────────────────────────────────────────────────────────────┐ │
│ │ Ingress │ │
│ │ (nginx/traefik) │ │
│ └───────────────────────────────┬───────────────────────────────────┘ │
│ │ │
│ ┌───────────────────────────────▼───────────────────────────────────┐ │
│ │ Gateway Service │ │
│ │ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │ │
│ │ │ Gateway Pod │ │ Gateway Pod │ │ Gateway Pod │ │ │
│ │ │ (replica) │ │ (replica) │ │ (replica) │ │ │
│ │ └─────────────┘ └─────────────┘ └─────────────┘ │ │
│ └───────────────────────────────────────────────────────────────────┘ │
│ │
│ ┌───────────────────────────────────────────────────────────────────┐ │
│ │ Registry StatefulSet │ │
│ │ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │ │
│ │ │Registry Pod │ │Registry Pod │ │Registry Pod │ │ │
│ │ │ + PVC │ │ + PVC │ │ + PVC │ │ │
│ │ └─────────────┘ └─────────────┘ └─────────────┘ │ │
│ └───────────────────────────────────────────────────────────────────┘ │
│ │
│ ┌───────────────────────────────────────────────────────────────────┐ │
│ │ Compute DaemonSet/Deployment │ │
│ │ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │ │
│ │ │Compute Pod │ │Compute Pod │ │Compute Pod │ │ │
│ │ │ (GPU) │ │ (GPU) │ │ (CPU) │ │ │
│ │ └─────────────┘ └─────────────┘ └─────────────┘ │ │
│ └───────────────────────────────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────────────────┘Namespace Setup
Secrets
ConfigMaps
P2P Registry StatefulSet
Gateway Deployment
Compute Node Deployment
Ingress
Horizontal Pod Autoscaler
Deploy All Resources
Monitoring
Prometheus ServiceMonitor
Helm Chart (Alternative)
Troubleshooting
View Logs
Exec into Pod
Check Events
Next Steps
Last updated
