apiVersion: v1
kind: Service
metadata:
  labels:
    io.kompose.service: pycsw
  name: pycsw
spec:
  ports:
  - name: "8000"
    port: 8000
    targetPort: 8000
  selector:
    io.kompose.service: pycsw
status:
  loadBalancer: {}

apiVersion: v1
kind: Service
metadata:
  labels:
    io.kompose.service: pycsw
  name: pycsw
spec:
  type: NodePort
  ports:
    - port: 8000
      nodePort: 30000
  selector:
    io.kompose.service: pycsw
status:
  loadBalancer: {}

Use NodePort to expose pycsw service to external network
Use NodePort to expose pycsw service to external network
