Improve kubernetes for prod
This commit is contained in:
@@ -9,6 +9,7 @@ namespace: bakery-ia
|
||||
resources:
|
||||
- ../../base
|
||||
- prod-ingress.yaml
|
||||
- prod-configmap.yaml
|
||||
|
||||
labels:
|
||||
- includeSelectors: true
|
||||
@@ -79,6 +80,12 @@ replicas:
|
||||
count: 2
|
||||
- name: alert-processor-service
|
||||
count: 3
|
||||
- name: procurement-service
|
||||
count: 2
|
||||
- name: orchestrator-service
|
||||
count: 2
|
||||
- name: ai-insights-service
|
||||
count: 2
|
||||
- name: gateway
|
||||
count: 3
|
||||
- name: frontend
|
||||
|
||||
27
infrastructure/kubernetes/overlays/prod/prod-configmap.yaml
Normal file
27
infrastructure/kubernetes/overlays/prod/prod-configmap.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: bakery-config
|
||||
namespace: bakery-ia
|
||||
data:
|
||||
# Environment
|
||||
ENVIRONMENT: "production"
|
||||
DEBUG: "false"
|
||||
LOG_LEVEL: "INFO"
|
||||
|
||||
# Profiling and Development Features (disabled in production)
|
||||
PROFILING_ENABLED: "false"
|
||||
MOCK_EXTERNAL_APIS: "false"
|
||||
|
||||
# Performance and Security
|
||||
REQUEST_TIMEOUT: "30"
|
||||
MAX_CONNECTIONS: "100"
|
||||
|
||||
# Monitoring
|
||||
PROMETHEUS_ENABLED: "true"
|
||||
ENABLE_TRACING: "true"
|
||||
ENABLE_METRICS: "true"
|
||||
|
||||
# Rate Limiting (stricter in production)
|
||||
RATE_LIMIT_ENABLED: "true"
|
||||
RATE_LIMIT_PER_MINUTE: "60"
|
||||
Reference in New Issue
Block a user