added better cpu load, probes
This commit is contained in:
parent
81ce915621
commit
eb34cedbf0
@ -26,7 +26,7 @@ data:
|
|||||||
# OVERPASS_COMPRESSION: ""
|
# OVERPASS_COMPRESSION: ""
|
||||||
|
|
||||||
# integer, desired load from area generation. Controls the ratio of sleep to work. A value of 1 will make the system sleep 99x times longer than it works, a value of 50 will result in sleep and work in equal measure, and a value of 100 will only sleep 3 seconds between each execution. Defaults to 1.
|
# integer, desired load from area generation. Controls the ratio of sleep to work. A value of 1 will make the system sleep 99x times longer than it works, a value of 50 will result in sleep and work in equal measure, and a value of 100 will only sleep 3 seconds between each execution. Defaults to 1.
|
||||||
OVERPASS_RULES_LOAD: ""
|
OVERPASS_RULES_LOAD: "50"
|
||||||
|
|
||||||
# integer, the delay between updates (seconds).
|
# integer, the delay between updates (seconds).
|
||||||
OVERPASS_UPDATE_SLEEP: ""
|
OVERPASS_UPDATE_SLEEP: ""
|
||||||
|
@ -28,12 +28,41 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- containerPort: 12345
|
- containerPort: 12345
|
||||||
|
|
||||||
# readinessProbe: TODO
|
startupProbe:
|
||||||
|
# Gives the container 180m = 3h to start up
|
||||||
|
httpGet:
|
||||||
|
path: /api/interpreter
|
||||||
|
port: 12345
|
||||||
|
periodSeconds: 60
|
||||||
|
timeoutSeconds: 5
|
||||||
|
successThreshold: 1
|
||||||
|
failureThreshold: 180
|
||||||
|
|
||||||
|
# readinessProbe:
|
||||||
|
# # Mark the conainer as unready when requests are not being served
|
||||||
|
# httpGet:
|
||||||
|
# path: /api/interpreter
|
||||||
|
# port: 12345
|
||||||
|
# initialDelaySeconds: 3600
|
||||||
|
# periodSeconds: 60
|
||||||
|
# timeoutSeconds: 5
|
||||||
|
# successThreshold: 1
|
||||||
|
|
||||||
|
livenessProbe:
|
||||||
|
# Mark the container as unhealthy when requests are not being served
|
||||||
|
httpGet:
|
||||||
|
path: /api/interpreter
|
||||||
|
port: 12345
|
||||||
|
periodSeconds: 30
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 2
|
||||||
|
|
||||||
|
|
||||||
# livenessProbe: TODO
|
# livenessProbe: TODO
|
||||||
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: overpass-data
|
- name: overpass-data
|
||||||
mountPath: /database
|
mountPath: /db
|
||||||
volumes:
|
volumes:
|
||||||
- name: overpass-data
|
- name: overpass-data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
|
@ -3,5 +3,10 @@ kind: ConfigMap
|
|||||||
metadata:
|
metadata:
|
||||||
name: overpass-config
|
name: overpass-config
|
||||||
data:
|
data:
|
||||||
# only monaco
|
# # only a small subset of the world in this case
|
||||||
OVERPASS_PLANET_URL: "https://planet.openstreetmap.org/TODO"
|
# OVERPASS_PLANET_URL: "https://download.geofabrik.de/europe/italy-latest.osm.pbf"
|
||||||
|
|
||||||
|
OVERPASS_PLANET_URL: "http://download.geofabrik.de/europe/belgium-latest.osm.bz2"
|
||||||
|
|
||||||
|
# left empty because we don't want to diff the whole world
|
||||||
|
OVERPASS_DIFF_URL: ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user