summaryrefslogtreecommitdiff
path: root/yaml/postgres-service.yaml
blob: ad3b9691e6fd17229e7830f0e674fbee28dcf7f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
apiVersion: v1
kind: Service
metadata:
  name: postgres-service
spec:
  ports:
    - port: 5432
      targetPort: 5432
  selector:
    app: postgres
  type: ClusterIP