What is the best way to populate the PgStac on eoapi-k8s? #73
Replies: 2 comments 4 replies
-
Hey @MathewNWSH: Thanks for the questions and sorry about the delayed response. If leveraging Rather I'd recommend:
Of course this helm chart should attempt to make this easier for you (but currently doesn't as a demo). It will be ticketed |
Beta Was this translation helpful? Give feedback.
-
As far as I can see there have been a number of different approaches, from leveraging the deployment pipeline for data ingestion to exposing the STAC API Transaction Extensions via To address the need for quickly adding data to the deployed pgSTAC, I’ve put together a small script that automates the process of identifying the appropriate pod, uploading STAC JSON files, and using In principle, I believe the STAC API Transactions Extension is a good direction, especially with the new STAC manager we will even get a nice UI for it. Right now we face the challenge in terms of access control, as these endpoints are currently exposed without any protection. It would be good to explore options for securing these endpoints and ensuring controlled access. Specifically, I see a few potential solutions on the Kubernetes (k8s) side that could help:
|
Beta Was this translation helpful? Give feedback.
-
Hello,
regarding developmentseed/eoAPI#178, I managed to deploy eoapi on a Kubernetes cluster running on the creodias cloud :)
Now I would like to populate it with items.
So far, working with PgStac, I populated it in the following way:
Now I'm wondering how I can do this with a Kubernetes cluster. What came to my mind is:
Port-forward to localhost and export new environment variables
(cons: forwarding terminal must be running)
kubectl port-forward service/pgstac 5432:5432
Changing the service type from ClusterIP to LoadBalancer - then exporting the external IP address via environment variable.
(cons: less secure because the database is exposed via an external IP)
any suggestions?
Best,
Mat
Beta Was this translation helpful? Give feedback.
All reactions