Hi gusy, its posible to ingest data via ui , witho...
# ingestion
f
Hi gusy, its posible to ingest data via ui , without specifying the gms ip? Why, i have datahub on k8s, and i dont want to have the gms ip public
s
You can specify the kubernetes hostname for GMS. The ingestion runs within a pod in kubernetes cluster itself. As long as that host name can be resolved within the same namespace in kubernetes it would work
f
i tried
Copy code
sink:
    type: datahub-rest
    config:
        server: '<http://datahub-datahub-gms>'
but i got
Copy code
"ConnectionError: HTTPConnectionPool(host='datahub-datahub-gms', port=80): Max retries exceeded with url: /config (Caused by "
           "NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc7a4438d90>: Failed to establish a new connection: [Errno 110] "
           "Connection timed out'))\n",
Also this is what i change on k8s
Copy code
datahub-gms:
  service:
    annotations:
      <http://cloud.google.com/neg|cloud.google.com/neg>: '{"ingress": true}'
    type: ClusterIP
hmm, i think i need to add the hostname somehow in k8s
s
No
Let me pull some docs
You can use the name of the gms service to connect to the pod
You need to specify the port for the service name here
f
i forgot the 8080 on ingest file
😐