Product-Manager/z2/k8s/statefulset-service.yaml

15 lines
252 B
YAML
Raw Permalink Normal View History

2022-05-07 11:14:18 +00:00
# PostgreSQL StatefulSet Service
apiVersion: v1
kind: Service
metadata:
name: postgres-db-service
spec:
selector:
app: postgresql-db
type: ClusterIP
clusterIP: None
ports:
- port: 5432
targetPort: postgresql
protocol: TCP