We have set up Growthbook in a Kubernetes cluster....
# ask-questions
m
We have set up Growthbook in a Kubernetes cluster. This works well so far. As we cannot access the Internet freely within the company network, we have allowed the BigQuery API IP range in the firewall. Nevertheless, when adding BigQuery as a datasource, we get a
net::ERR_FAILED 504 (gateway timeout)
when POSTing to the /datasource endpoint. Unfortunately, I have not found a way to extend the logging in the application that I can see the requests to the Internet. Is there a way to do this?
r
@mammoth-country-55223 has opened an issue Close Issue button
Hi Klaus, We don't officially service specific, infra-level integrations (like k8s setup/networking), but we try to answer as best as we can. Assuming you have the whitelists set up properly... I wonder if you are calling the BigQuery endpoint by IP address or by DNS (it's common that DNS record lookups are blocked inside the container). Apart from this, you may need to go back to basics and see if you can make a vanilla (non-GrowthBook) k8s instance "talk" to BigQuery.
m
Thanks @brief-honey-45610! DNS lookups should not be a problem. I did a tcpdump on another machine and saw also requests to www.googleapis.com and not only bigquery.googleapis.com. We hadn't taken that into account yet. Hopefully this will be the solution.
b
Great! Please let us know what the issue was