Product-Manager/k8s/statefulset-service.yaml
2022-05-07 16:44:18 +05:30

15 lines
252 B
YAML

# 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