Open itissid opened 10 months ago
@itissid We're happy you could achieve your projects goals with ORS!
Thank you so much for your setup scripts! This will definitely be a good start for many to deploy on k8s.
If you would like to contribute this to our documentation, it is more than welcome.
It is as simple as doing a pull request into the docs' folder: https://github.com/GIScience/openrouteservice/tree/master/docs
Is there an existing issue for this?
Problem description
Hi, this project is amazing it helped me put together this project. It enabled distance calculation for walking to Event addresses that are reverse geocoded to lat longs from where you drop a pin on the home page.
In the process I deployed openroute service on k8s by editing the
docker-compose.yml
and used Persistent Open Volumes.I am not sure though if these would be useful to anyone in this project? If not I suppose I could just leave the low down on the basic files in this issue for someone to use. But I have almost neo natal knowledge of k8s so apologies if the code has implementation gaps.
First I split the compose yaml into parts using kompose then heavily edited them.
Proposed solution
Here are some barebones files I eventually used and that worked:
Deployment:
PVC Claims for DO look like(e.g. for graphs):
Pod deployment is like(Note that there are repeated commands for initContainer and volumeMounts), this is intentional but not needed. You can have those in deployment or this yaml depending on granularity of control, but Pod is smallest unit of control/abstraction in k8s:
Additional context
No response
Forum Topic Link
No response