Commit c608346
committed
feat(deploy): Add production-ready Docker and Kubernetes deployment configurations
Added comprehensive deployment configurations for NLP service and orchestrator,
enabling production-ready containerized deployment with observability.
## Docker Support
- nlp/Dockerfile: Multi-stage Python 3.11 build
* Optimized for production with non-root user
* Health checks and security best practices
* Image size: ~150MB (slim base)
- deploy/docker-compose.yml: Local development stack
* NLP Service (port 8082)
* Orchestrator (ports 8080, 9090)
* Isolated network with health checks
## Kubernetes Deployments
### NLP Service (deploy/k8s/nlp/)
- Namespace: oran-nlp
- Deployment: 2 replicas with HPA (2-10 pods)
- Service: ClusterIP + NodePort (30082)
- ConfigMap: Configuration management
- Resources: 200m-500m CPU, 256Mi-512Mi memory
- Probes: Liveness and readiness checks
- Security: Non-root user, dropped capabilities
### Orchestrator (deploy/k8s/orchestrator/)
- Namespace: oran-orchestrator
- Deployment: 2 replicas with HPA (2-10 pods)
- Service: ClusterIP + NodePort (30080)
- ServiceAccount + RBAC: Argo CD permissions
- Resources: 500m-1000m CPU, 512Mi-1Gi memory
- Metrics: Prometheus on port 9090
- Security: Read-only root filesystem
## High Availability Features
- PodDisruptionBudget: Ensures minimum availability
- HorizontalPodAutoscaler: Auto-scaling on CPU/memory
- Multiple replicas: 2+ pods for redundancy
- Health checks: Liveness and readiness probes
- Resource limits: Prevents resource exhaustion
## Deployment Guide (deploy/README.md)
- Quick start with Docker Compose
- Kubernetes production deployment steps
- Configuration management
- Security and RBAC setup
- Monitoring and metrics
- Troubleshooting guide
- Scaling strategies
## Usage
### Docker Compose (Development)
```bash
cd deploy
docker-compose up -d
```
### Kubernetes (Production)
```bash
kubectl apply -f deploy/k8s/nlp/deployment-complete.yaml
kubectl apply -f deploy/k8s/orchestrator/deployment-complete.yaml
```
## Documentation Updates
- README.md: Added Natural Language Intent Processing section
- Quick start guide for natural language API
- Intent pattern examples and response formats
- End-to-end flow diagram
This enables production deployment with full observability, security,
and high availability for natural language network slice orchestration.1 parent 9d156ad commit c608346
12 files changed
Lines changed: 1045 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
219 | 284 | | |
220 | 285 | | |
221 | | - | |
| 286 | + | |
222 | 287 | | |
223 | 288 | | |
224 | 289 | | |
| |||
0 commit comments