DocsGPT/k8s/services/redis-service.yaml
2024-05-23 18:23:01 +01:00

12 lines
180 B
YAML

apiVersion: v1
kind: Service
metadata:
name: redis-service
spec:
selector:
app: redis
ports:
- protocol: TCP
port: 6379
targetPort: 6379
type: ClusterIP