Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Overpass and Increase ingress proxy time value #334

Merged
merged 4 commits into from
Jun 20, 2024
Merged
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
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
Loading