Kubernetes Deployment
Deploy Gati applications to Kubernetes clusters.
Work in Progress
This page is under construction. More detailed documentation coming soon.
Overview
Gati generates production-ready Kubernetes manifests automatically.
Quick Deploy
bash
# Generate manifests
gatic deploy dev --dry-run
# Deploy to local cluster
gatic deploy dev --local
# Deploy to production
gatic deploy prodGenerated Manifests
Gati creates:
deployment.yaml- Pod deployment configurationservice.yaml- Service configurationhpa.yaml- Horizontal Pod Autoscaleringress.yaml- Ingress configuration (optional)
Configuration
typescript
// gati.config.ts
export default {
environments: {
dev: {
replicas: 1,
resources: {
requests: { cpu: '100m', memory: '128Mi' },
limits: { cpu: '200m', memory: '256Mi' }
}
},
prod: {
replicas: 3,
resources: {
requests: { cpu: '500m', memory: '512Mi' },
limits: { cpu: '1000m', memory: '1Gi' }
}
}
}
};Related
- Docker Guide - Containerization
- Environment Config - Configuration management
- Building - Production builds