Comments (2)
Writing Helm chart & yaml to deploy openstreetmap-tile-server is relatively straightforward once you get your head around kubernetes basic concepts. It's a bit steeper hill to climb than trying to just convert Docker compose files, however not sure how much success you will have in debugging any kubernetes issues if you do not spend time mastering the basics.
Where the difficulty was in deploying tile server was in how kubernetes (storage) volumes handling differs from Docker. Forked this repo and added couple of tweaks to Dockerfile + run.sh to handle those.
from openstreetmap-tile-server.
- create a VolumeClaim to hold the map data
- run a Deployment with that VolumeClaim mounted, let this Deployment handle the data import
- run another Deployment with a modified Dockerfile that wraps this one. It should wait until the first Deployment has ran and exited, before running the server.. just need to make sure they're in the same namespace
- you can then create a cronjob to update your data, or just enable auto updates via the environment variable
If this image lets you serve & import data at the same time, then you don't need that wrapper with the wait functionality, you can deploy everything at once. Just need to set restart: never
on the import Pod.
from openstreetmap-tile-server.
Related Issues (20)
- running server If I run the server, does it automatically render for all the files?
- Import command fails for OSM data
- Data/Labels not shown up on maps HOT 1
- How do I force latin names for countries like Greece or China? HOT 6
- Postgis Plugin: ERROR: could not resize shared memory segment "/PostgreSQL.2682777122" to 50438144 bytes: No space left on device HOT 1
- To optimise the rendering HOT 1
- Import not completing HOT 7
- Search filed?
- Postgres in container not working HOT 2
- Tile fetching behind reverse proxy HOT 1
- Postgres says rendrer user already exsists
- Error downloading tile file : i/0 time out HOT 3
- til-server automatic update: how to do? HOT 2
- Running out of space when downloading the planet HOT 3
- postgresql error HOT 1
- Automatize tile rendering of big country HOT 2
- Can We Use an External PostgreSQL in Kubernetes
- using 'https://tile.openstreetmap.org/{z}/{x}/{y}.png' HOT 2
- Renderd logs not visible in k8s container HOT 4
- Cannot recognize postgresql service
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openstreetmap-tile-server.