Skip to content

Commit

Permalink
Merge pull request #415 from OpenHistoricalMap/staging
Browse files Browse the repository at this point in the history
Update Tiler purge deployment
  • Loading branch information
Rub21 authored Nov 27, 2024
2 parents 1da7e35 + 15b5136 commit bf3ad96
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions ohm/templates/tiler-cache-purge/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,12 @@ spec:
value: {{ .Values.ohm.tilerCachePurge.env.SEED_CONCURRENCY | quote }}
- name: PURGE_CONCURRENCY
value: {{ .Values.ohm.tilerCachePurge.env.PURGE_CONCURRENCY | quote }}
- name: TILER_CACHE_S3_BUCKET
value: {{ .Values.ohm.tilerCachePurge.env.TILER_CACHE_S3_BUCKET | quote }}
- name: ZOOM_LEVELS_TO_DELETE
value: {{ .Values.ohm.tilerCachePurge.env.ZOOM_LEVELS_TO_DELETE | quote }}
- name: S3_BUCKET_CACHE_TILER
value: {{ .Values.ohm.tilerCachePurge.env.S3_BUCKET_CACHE_TILER | quote }}
- name: S3_BUCKET_PATH_FILES
value: {{ .Values.ohm.tilerCachePurge.env.S3_BUCKET_PATH_FILES | quote }}
envFrom:
- configMapRef:
name: {{ .Release.Name }}-tiler-server-cm
Expand Down
4 changes: 3 additions & 1 deletion values.production.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,9 @@ ohm:
PURGE_MAX_ZOOM: 17 # Purging zoom 18,19,20 takes hours to complete,we are going to remove direct from s3 the tiles for zoom 19-20
SEED_MIN_ZOOM: 8
SEED_MAX_ZOOM: 14
TILER_CACHE_S3_BUCKET: tiler-cache-production
ZOOM_LEVELS_TO_DELETE: 18,19,20
S3_BUCKET_CACHE_TILER: tiler-cache-production
S3_BUCKET_PATH_FILES: mnt/data/osm
resources:
enabled: false
requests:
Expand Down
4 changes: 3 additions & 1 deletion values.staging.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,9 @@ ohm:
PURGE_MAX_ZOOM: 14
SEED_MIN_ZOOM: 8
SEED_MAX_ZOOM: 9
TILER_CACHE_S3_BUCKET: tiler-cache-staging
ZOOM_LEVELS_TO_DELETE: 18,19,20
S3_BUCKET_CACHE_TILER: tiler-cache-staging
S3_BUCKET_PATH_FILES: mnt/data/osm
resources:
enabled: false
requests:
Expand Down

0 comments on commit bf3ad96

Please sign in to comment.