apiVersion: v1
kind: Service
metadata:
  name: postgrest
  namespace: pdcm-api
  labels:
    app: postgrest
    tier: frontend
spec:
  type: NodePort
  ports:
   - port: 3000
  selector:
    app: postgrest
    tier: frontend