15 lines
212 B
YAML
15 lines
212 B
YAML
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: postgres
|
|
namespace: postgres
|
|
spec:
|
|
selector:
|
|
k8s-app: postgres
|
|
ports:
|
|
- name: postgres
|
|
protocol: TCP
|
|
port: 5432
|
|
targetPort: 5432
|