Skip to content

Commit

Permalink
Update Overpass and Increase ingress proxy time value (#334)
Browse files Browse the repository at this point in the history
* Update env var for overpass

* Update overpass image

* Add proxy read/sent api web

* Update ingress proxy read/sent=600
  • Loading branch information
Rub21 authored Jun 20, 2024
1 parent 36df970 commit 1719642
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion images/overpass-api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM wiktorn/overpass-api:latest
FROM wiktorn/overpass-api:0.7.62
COPY docker-entrypoint.sh /app/
RUN chmod a+rx /app/docker-entrypoint.sh
CMD ["/app/docker-entrypoint.sh"]
2 changes: 2 additions & 0 deletions osm-seed/templates/overpass-api/overpass-api-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ spec:
value: {{ .Values.overpassApi.env.OVERPASS_PLANET_PREPROCESS | quote}}
- name: OVERPASS_REPLICATION_SEQUENCE_NUMBER
value: {{ .Values.overpassApi.env.OVERPASS_REPLICATION_SEQUENCE_NUMBER | quote }}
- name: OVERPASS_ALLOW_DUPLICATE_QUERIES
value: {{ .Values.overpassApi.env.OVERPASS_ALLOW_DUPLICATE_QUERIES | quote }}
volumeMounts:
- mountPath: /db
name: overpass-api-storage
Expand Down
3 changes: 3 additions & 0 deletions osm-seed/templates/web/web-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ metadata:
kubernetes.io/ingress.class: nginx
cert-manager.io/cluster-issuer: letsencrypt-prod-issuer
nginx.ingress.kubernetes.io/proxy-body-size: 100m
nginx.ingress.kubernetes.io/proxy-connect-timeout: "600"
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
spec:
ingressClassName: nginx
tls:
Expand Down
1 change: 1 addition & 0 deletions osm-seed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,7 @@ overpassApi:
OVERPASS_RULES_LOAD: 10
OVERPASS_PLANET_PREPROCESS: 'mv /db/planet.osm.bz2 /db/planet.osm.pbf && osmium cat -o /db/planet.osm.bz2 /db/planet.osm.pbf && rm /db/planet.osm.pbf'
OVERPASS_REPLICATION_SEQUENCE_NUMBER: 5201000
OVERPASS_ALLOW_DUPLICATE_QUERIES: "yes"
persistenceDisk:
enabled: false
accessMode: ReadWriteOnce
Expand Down

0 comments on commit 1719642

Please sign in to comment.