68 lines
1.3 KiB
Markdown
68 lines
1.3 KiB
Markdown
# Kubernetes Configuration
|
|
|
|
Kubernetes manifests and Helm charts for The Order.
|
|
|
|
## Structure
|
|
|
|
- `base/` - Base Kubernetes manifests
|
|
- `overlays/` - Environment-specific overlays (dev, stage, prod)
|
|
- `charts/` - Helm charts (if using Helm)
|
|
|
|
## Usage
|
|
|
|
### Using Kustomize
|
|
|
|
```bash
|
|
# Build dev environment
|
|
kubectl kustomize overlays/dev
|
|
|
|
# Apply dev environment
|
|
kubectl apply -k overlays/dev
|
|
|
|
# Build prod environment
|
|
kubectl kustomize overlays/prod
|
|
|
|
# Apply prod environment
|
|
kubectl apply -k overlays/prod
|
|
```
|
|
|
|
### Using Helm
|
|
|
|
```bash
|
|
# Install chart
|
|
helm install the-order charts/the-order -f charts/the-order/values-dev.yaml
|
|
|
|
# Upgrade chart
|
|
helm upgrade the-order charts/the-order -f charts/the-order/values-prod.yaml
|
|
```
|
|
|
|
## Namespaces
|
|
|
|
- `the-order-dev` - Development environment
|
|
- `the-order-stage` - Staging environment
|
|
- `the-order-prod` - Production environment
|
|
|
|
## Services
|
|
|
|
Each service has its own deployment, service, and ingress configuration:
|
|
- Intake service
|
|
- Identity service
|
|
- Finance service
|
|
- Dataroom service
|
|
- Portal applications
|
|
|
|
## Secrets Management
|
|
|
|
Secrets are managed using:
|
|
- External Secrets Operator
|
|
- SOPS-encrypted secrets
|
|
- Cloud provider secrets managers
|
|
|
|
## Monitoring
|
|
|
|
- Prometheus for metrics
|
|
- Grafana for dashboards
|
|
- OpenTelemetry for tracing
|
|
- ELK/OpenSearch for logging
|
|
|