infra4talos/apps-kustomized/peertube/svc-redis.yaml

36 lines
800 B
YAML

apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/instance: redis4peertube
app.kubernetes.io/name: redis
helm.sh/chart: redis-15.5.5
name: redis4peertube-headless
spec:
ports:
- name: tcp-redis
port: 6379
targetPort: redis
selector:
app.kubernetes.io/instance: redis4peertube
app.kubernetes.io/name: redis
---
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/component: master
app.kubernetes.io/instance: redis4peertube
app.kubernetes.io/name: redis
helm.sh/chart: redis-15.5.5
name: redis4peertube-master
spec:
ports:
- name: tcp-redis
port: 6379
targetPort: redis
selector:
app.kubernetes.io/component: master
app.kubernetes.io/instance: redis4peertube
app.kubernetes.io/name: redis