Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.22 KB

File metadata and controls

31 lines (20 loc) · 1.22 KB

Kubernetes deployment - Contextual Query

Required: Kubernetes cluster configured into local kubectl

Cluster requirements

We used Google Cloud managed Kubernetes Engine with 2 nodes of type: n1-standard-1 (1 vCPU, 3.75 GB memory).

It's is worth taking into consideration that Google Cloud offers grants for research projects. Read more here.

Set up

Acces requester

Requirement: Have kubectl to access the cluster

  • kubectl proxy
  • http://localhost:8001/api/v1/namespaces/default/services/requester:http/proxy/

Modify CORS for buckets

To allow files to be downloaded from webpages for online analysis, you will need to change the CORS setting in your Google Storage settings. Use the script in gutil/set-cors-bucket.sh to do that. You can change the bucket name in the same script.