k8s-manifests/customers/base/redis-service.yml

18 lines
247 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
annotations:
labels:
app: redis
name: redis
spec:
ports:
- name: redis-port
nodePort: 30379
port: 6379
protocol: TCP
targetPort: 6379
selector:
app: redis
type: NodePort