38 lines
953 B
YAML
38 lines
953 B
YAML
|
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
|