Giter Site home page Giter Site logo

tippecanoe-chart's Introduction

Tippecanoe helm chart

Helm 3 chart for Tippecanoe. The chart setups a Kubernetes CronJob where you can specify how often it should run and what arguments Tippecanoe should be called with. The Helm chart also allows you to run a pre-job using GDAL or your own configuration. This can be enabled using the Chart configurations.

Note

Moved to here

Install/Upgrade

First add the repo

helm repo add dax https://daxgrid.github.io/charts/
helm repo update

Example of usage.

helm upgrade --install my-release-name dax/tippecanoe \
     --set schedule="*/5 * * * *" \
     --set commandArgs='tippecanoe -zg -o /data/out.mbtiles --drop-densest-as-needed /data/output.geojson --force' \
     --set storage.enabled=true \
     --set storage.claimName=my-claim-name \
     --set storage.path=/data

Example of using with a GDAL pre-job before the Tippecanoe job.

helm upgrade --install my-release-name dax/tippecanoe \
     --set schedule="*/5 * * * *" \
     --set commandArgs='tippecanoe -zg -o /data/out.mbtiles --drop-densest-as-needed /data/output.geojson --force' \
     --set storage.enabled=true \
     --set storage.claimName=my-claim-name \
     --set storage.path=/data \
     --set prejob.enabled=true \
     --set prejob.commandArgs='ogr2ogr -f GeoJSON /data/output.geojson PG:"host=localhost dbname=MY_DB user=myuser password=mypassword" -sql "select id, ST_Transform(wkb_geometry\, 4326) as wkb_geometry from my_table"'

Parameters

Parameters for the helm chart.

Tippecanoe

Parameter Description Default
image.repository The image repository openftth/tippecanoe
image.tag The image version tag v1.36.0
schedule How often the job should run 0 0 * * * (once a day at midnight)
commandArgs Tippecanoe command argument tippecanoe
restartPolicy Restartpolicy Never
backOffLimit BackoffLimit 0
storage.enabled Enable storage false
storage.path Where the storage is mounted /data
storage.claimName Storage claimName ``

Prejob

You also have option to enable a prejob. This is a job that runs before the Tippecanoe cronjob. This can for-example be used to generate geojson to be used by Tippecanoe. The default settings uses GDAL.

Parameter Description Default
prejob.enabled Prejob enabled false
prejob.commandArgs Prejob commands argument ogr2ogr
prejob.image.repository Prejob image repository osgeo/gdal
prejob.image.tag Prejob image tag alpine-small-3.2.2

tippecanoe-chart's People

Contributors

runeanielsen avatar

Watchers

 avatar  avatar  avatar

Forkers

runeanielsen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.