Join Slack
Powered by
Hello! Is it possible to use API without webapp ru...
# replication-troubleshooting
r
Rytis Zolubas
11/15/2022, 2:41 PM
Hello! Is it possible to use API without webapp running? How it could be done? Maybe I could expose a certain port from server?
y
Yage Hu
11/15/2022, 3:13 PM
I think you can either write your own Kustomize config (
https://github.com/airbytehq/airbyte/blob/master/kube/overlays/stable/kustomization.yaml
) or Terraform code. I did the latter.
r
Rytis Zolubas
11/15/2022, 3:25 PM
how do you reach api without webapp? if I turn off webapp, can I still send queries to localhost:8000?
y
Yage Hu
11/15/2022, 3:28 PM
The API server exposes port 8001 (
https://github.com/airbytehq/airbyte/blob/master/kube/resources/server.yaml#L157
). So you will need a k8s service to front it.
Yage Hu
11/15/2022, 3:31 PM
Oh the official Kustomize config already has a service:
https://github.com/airbytehq/airbyte/blob/master/kube/resources/server.yaml#L1
Open in Slack
Previous
Next