transport_server_postgres.yaml 276 B

123456789101112131415
  1. apiVersion: k8s.nginx.org/v1
  2. kind: TransportServer
  3. metadata:
  4. name: postgres-tcp
  5. namespace: postgres
  6. spec:
  7. listener:
  8. name: postgres-tcp
  9. protocol: TCP
  10. upstreams:
  11. - name: postgres
  12. service: postgres-gradewhisperer
  13. port: 5432
  14. action:
  15. pass: postgres