Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ FROM node:24-slim AS production
RUN apt-get update && apt-get install -y --no-install-recommends \
dumb-init \
gdal-bin \
unzip \
&& rm -rf /var/lib/apt/lists/*

ENV NODE_ENV=production
Expand Down
8 changes: 8 additions & 0 deletions config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,14 @@
"zoomThreshold": 16,
"maxTilesPerSeedTask": 500000,
"maxTilesPerCleanTask": 4000000
},
"validation": {
"type": "validation"
},
"tilesDeletion": {
"type": "tiles-deletion",
"tileBatchSize": 10000,
"taskBatchSize": 5
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion helm/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ data:
TELEMETRY_METRICS_INTERVAL: {{ $metrics.interval | quote }}
TELEMETRY_METRICS_BUCKETS: {{ $metrics.buckets | toJson | quote }}
{{ end }}
{{- if eq (upper $storage.gpkgProvider) "S3" }}
{{- if (eq (upper $storage.gpkgProvider) "S3") }}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

REVERT

{{- $s3HttpProtocol := ternary "https://" "http://" $storage.s3.sslEnabled -}}
S3_ENDPOINT_URL: {{ printf "%s%s" $s3HttpProtocol $storage.s3.endpointUrl | quote }}
S3_ARTIFACTS_BUCKET: {{ $storage.s3.artifactsBucket | quote }}
Expand Down
88 changes: 44 additions & 44 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ global:

geoserver:
workspace: ''
dataStore: ''
ca:
dataStore: ''
ca:
secretName: ''
path: '/usr/local/share/ca-certificates'
key: 'ca.crt'
gracefulReloadMaxSeconds: 300
storage: {}
storage: {}

mclabels:
#environment: development
Expand Down Expand Up @@ -129,50 +129,50 @@ metrics:

instanceType: "" # supported values: ingestion | export
jobDefinitions:
jobs:
new:
type: ""
update:
type: ""
swapUpdate:
type: ""
seed:
type: ""
export:
jobs:
new:
type: ""
update:
type: ""
swapUpdate:
type: ""
seed:
type: ""
export:
type: ""
cleanupExpirationDays: 14
gpkgsRootDir: "gpkgs"
tasks:
createTasks:
type: ""
init:
type: ""
finalize:
type: ""
merge:
type: ""
tileBatchSize: 10000
taskBatchSize: 5
radiusBuffer: 0.000006
radiusBufferUnits: "degrees" # supported values are: "degrees" | "centimeters" | "meters" | "millimeters" | "kilometers" | "miles" | "inches" | "yards" | "feet" | "radians"
truncatePrecision: 11 # coordinate decimal precision
truncateCoordinates: 2 # maximum number of coordinates (primarly used to remove z coordinates)
seed:
type: ""
grid: "WorldCRS84"
maxZoom: 21
skipUncached: true
zoomThreshold: 16 #zoom level threshold for high res seeding first seeding task will be 0->zoomThreshold
maxTilesPerSeedTask: 250000
maxTilesPerCleanTask: 500000
export:
type: ""

config:
dequeueIntervalMs: 3000
heartBeat:
intervalMs: 3000
maxTaskAttempts: 3
tasks:
createTasks:
type: ""
init:
type: ""
finalize:
type: ""
merge:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add "tilesDeletion" task types values

type: ""
tileBatchSize: 10000
taskBatchSize: 5
radiusBuffer: 0.000006
radiusBufferUnits: "degrees" # supported values are: "degrees" | "centimeters" | "meters" | "millimeters" | "kilometers" | "miles" | "inches" | "yards" | "feet" | "radians"
truncatePrecision: 11 # coordinate decimal precision
truncateCoordinates: 2 # maximum number of coordinates (primarly used to remove z coordinates)
seed:
type: ""
grid: "WorldCRS84"
maxZoom: 21
skipUncached: true
zoomThreshold: 16 #zoom level threshold for high res seeding first seeding task will be 0->zoomThreshold
maxTilesPerSeedTask: 250000
maxTilesPerCleanTask: 500000
export:
type: ""

config:
dequeueIntervalMs: 3000
heartBeat:
intervalMs: 3000
maxTaskAttempts: 3

env:
port: 8080
Expand Down
Loading
Loading