Files
telecom-platform/deployments/kubernetes/02-redis.yaml
T
nutcas3 4dda7e25d8 feat: Add deployment infrastructure and documentation
Docker:
- Add production-ready Dockerfiles for all microservices
- Optimize for multi-stage builds and minimal image sizes

Kubernetes:
- Add namespace and service manifests
- Include MongoDB and Redis deployment configurations
- Configure API server and charging engine deployments

Documentation:
- Add comprehensive README with platform overview
- Include technology stack and quick start instructions
- Provide prerequisites and setup guidance
2026-04-03 19:56:33 +03:00

47 lines
804 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: redis
namespace: taas-platform
spec:
replicas: 1
selector:
matchLabels:
app: redis
template:
metadata:
labels:
app: redis
spec:
containers:
- name: redis
image: redis:7-alpine
ports:
- containerPort: 6379
command:
- redis-server
- --maxmemory
- "2gb"
- --maxmemory-policy
- allkeys-lru
resources:
requests:
memory: "256Mi"
cpu: "100m"
limits:
memory: "2Gi"
cpu: "500m"
---
apiVersion: v1
kind: Service
metadata:
name: redis
namespace: taas-platform
spec:
selector:
app: redis
ports:
- port: 6379
targetPort: 6379
type: ClusterIP