apiVersion: v1 kind: Service metadata: name: hue-postgres spec: ports: - name: pgql port: 5432 type: NodePort selector: app: hue-postgres