Skip to content

Commit

Permalink
Merge pull request #411 from OpenHistoricalMap/staging
Browse files Browse the repository at this point in the history
Replace EBS for tiler-db - production
  • Loading branch information
Rub21 authored Nov 26, 2024
2 parents 6e09654 + d4b10be commit 3fde0d2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ohm/requirements.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dependencies:
- name: osm-seed
version: '0.1.0-n807.h37a0f93'
version: '0.1.0-n808.h6779f4a'
repository: https://devseed.com/osm-seed-chart/
4 changes: 2 additions & 2 deletions values.production.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ osm-seed:
mountPath: /var/lib/postgresql/data
subPath: postgresql-d
# In case cloudProvider: aws
AWS_ElasticBlockStore_volumeID: vol-0cb7b8d450400d3fd
AWS_ElasticBlockStore_volumeID: vol-0f115833b63d73efe
AWS_ElasticBlockStore_size: 200Gi
resources:
enabled: true
Expand Down Expand Up @@ -465,7 +465,7 @@ osm-seed:
accessMode: ReadWriteOnce
mountPath: /mnt/data
# In case cloudProvider: aws
AWS_ElasticBlockStore_volumeID: vol-0797ea723874e6e63
AWS_ElasticBlockStore_volumeID: vol-07868924d18654c8f
AWS_ElasticBlockStore_size: 100Gi
resources:
enabled: false
Expand Down
14 changes: 9 additions & 5 deletions values.staging.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -963,13 +963,17 @@ ohm:
NAMESPACE: default # Namespace to run the job
DOCKER_IMAGE: ghcr.io/openhistoricalmap/tiler-server:0.0.1-0.dev.git.1791.h27fbedb # TODO, this should be automatically updated from tiler server image
SQS_QUEUE_URL: {{STAGING_SQS_QUEUE_URL}}
NODEGROUP_TYPE: job_large # Nodegroup type to run the job
NODEGROUP_TYPE: web_large # Nodegroup type to run the job
MAX_ACTIVE_JOBS: 2 # Maximum number of active jobs in high concurrency queue
DELETE_OLD_JOBS_AGE: 3600 # Age in seconds to delete old jobs
EXECUTE_PURGE: 'true'
EXECUTE_SEED: 'true'
PURGE_CONCURRENCY: 8
SEED_CONCURRENCY: 8
PURGE_MIN_ZOOM: 8
PURGE_MAX_ZOOM: 20
PURGE_MAX_ZOOM: 14
SEED_MIN_ZOOM: 8
SEED_MAX_ZOOM: 14
SEED_MAX_ZOOM: 9
resources:
enabled: false
requests:
Expand All @@ -986,11 +990,11 @@ ohm:
# Tiler seed by default is giong to seet tiles from 0-5 zoom level
tilerCacheSeed:
enabled: true
schedule: '0 * * * *' # testing every hour
schedule: '0 */24 * * *' # testing every hour
env:
GEOJSON_URL: https://osmseed-dev.s3.us-east-1.amazonaws.com/tiler/wold-usa-eu.geojson
ZOOM_LEVELS: '7,8'
CONCURRENCY: 32
CONCURRENCY: 16
S3_BUCKET: osmseed-dev
OUTPUT_FILE: /logs/tiler_benchmark.log
resources:
Expand Down

0 comments on commit 3fde0d2

Please sign in to comment.