Production-grade Kubernetes manifests, Helm charts, and deployment automation for microservices.
- Production-ready Kubernetes manifests
- Helm charts with values templates
- Ingress controller with TLS
- Horizontal Pod Autoscaler (HPA)
- Network policies for security
- ConfigMaps and Secrets management
- Liveness and readiness probes
- Resource limits and requests
- Rolling updates with zero downtime
- Monitoring with Prometheus ServiceMonitor
kubernetes-deployment/
├── manifests/ # Raw Kubernetes manifests
│ ├── namespace.yaml
│ ├── deployments/
│ ├── services/
│ ├── ingress.yaml
│ ├── hpa.yaml
│ ├── configmap.yaml
│ ├── secret.yaml
│ └── networkpolicy.yaml
├── helm-chart/ # Helm chart for templated deployments
│ ├── Chart.yaml
│ ├── values.yaml
│ └── templates/
├── scripts/ # Deployment and management scripts
└── docker/ # Dockerfiles for each service
# Deploy with raw manifests
kubectl apply -f manifests/
# Deploy with Helm
helm install my-app ./helm-chart -f helm-chart/values-production.yaml
# Check status
kubectl get pods -n microservices
kubectl get ingress -n microservices- Kubernetes cluster (minikube, EKS, GKE, AKS)
- kubectl configured
- Helm 3.x
- NGINX Ingress Controller
- cert-manager (for TLS)
| Service | Replicas | Port | CPU/Memory |
|---|---|---|---|
| api-gateway | 2-10 | 3000 | 100m/128Mi - 500m/512Mi |
| user-service | 2-8 | 3001 | 100m/128Mi - 500m/512Mi |
| product-service | 2-8 | 3002 | 100m/128Mi - 500m/512Mi |
| order-service | 2-8 | 3003 | 100m/128Mi - 500m/512Mi |
| postgres | 1 | 5432 | 250m/512Mi |
| redis | 1 | 6379 | 100m/128Mi |
MIT