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

18 lines
259 B
YAML

apiVersion: v1
kind: Service
metadata:
annotations:
labels:
app: redis
name: redis
spec:
ports:
- name: redis
nodePort: 30379
port: 6379
targetPort: redis
selector:
app: redis
app.kubernetes.io/name: redis
type: NodePort