theshire/kubernetes/apps/database/crunchy-postgres-operator/cluster/service.yaml
Joseph Hanson 3251d8240b
adding database workloads
crunchy postgres
dragonfly
emqx
2024-09-05 01:33:23 -05:00

20 lines
480 B
YAML

---
apiVersion: v1
kind: Service
metadata:
labels:
postgres-operator.crunchydata.com/cluster: postgres
postgres-operator.crunchydata.com/role: primary
name: postgres-primary-real
namespace: media
spec:
internalTrafficPolicy: Cluster
ports:
- name: postgres
port: 5432
protocol: TCP
targetPort: postgres
selector:
postgres-operator.crunchydata.com/cluster: postgres
postgres-operator.crunchydata.com/role: master
type: ClusterIP