Initial commit

This commit is contained in:
2026-07-18 12:00:33 +05:30
commit caac8413e9
83 changed files with 10262 additions and 0 deletions

43
docs/QUICK_START.md Normal file
View File

@@ -0,0 +1,43 @@
# Quick Start - Kubernetes in 5 Minutes
## 🎯 Goal
Run Kubernetes locally in containers and deploy your apps.
## ⚡ Fast Track
### 1. Install k3d (if not using Docker Desktop)
```bash
# Windows: Download from https://k3d.io/
# Or use Docker Desktop Kubernetes (easier!)
```
### 2. Create Cluster
```bash
k3d cluster create mycluster --servers 1 --agents 2
```
### 3. Build Images
```bash
cd E:\nats\kubernetes
docker build -f Dockerfile --target api -t fastapi-backend:latest .
docker build -f Dockerfile --target worker -t nats-worker:latest .
```
### 4. Update Manifests
- `manifests/fastapi-deployment.yaml`: Change image to `fastapi-backend:latest`
- `manifests/worker-deployment.yaml`: Change image to `nats-worker:latest`
### 5. Deploy
```bash
./deploy.sh
```
### 6. Check
```bash
kubectl get pods -n nats-backend
```
## 🎉 Done!
Your apps are running in Kubernetes!