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

38 lines
953 B
YAML
Raw Permalink Normal View History

2023-12-18 23:11:09 +00:00
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/instance: postgres4peertube
app.kubernetes.io/name: postgresql
helm.sh/chart: postgresql-10.13.8
name: postgres4peertube-postgresql
spec:
ports:
- name: tcp-postgresql
port: 5432
targetPort: tcp-postgresql
selector:
app.kubernetes.io/instance: postgres4peertube
app.kubernetes.io/name: postgresql
role: primary
---
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/instance: postgres4peertube
app.kubernetes.io/name: postgresql
helm.sh/chart: postgresql-10.13.8
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
name: postgres4peertube-postgresql-headless
namespace: peertube
spec:
ports:
- name: tcp-postgresql
port: 5432
targetPort: tcp-postgresql
publishNotReadyAddresses: true
selector:
app.kubernetes.io/instance: postgres4peertube
app.kubernetes.io/name: postgresql