Skip to content

Commit

Permalink
Disable livenessProbe for nominatim
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Feb 15, 2025
1 parent 1371c02 commit 5116f67
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions osm-seed/templates/nominatim-api/nominatim-api-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
environment: {{ .Values.environment }}
release: {{ .Release.Name }}
spec:
replicas: 1 # we only ever want one replica of the nominatimApi
replicas: 1
selector:
matchLabels:
app: {{ template "osm-seed.name" . }}
Expand Down Expand Up @@ -71,21 +71,14 @@ spec:
- name: EXTRA_TAGS
value: {{ .Values.nominatimApi.env.EXTRA_TAGS | default "" | quote }}

livenessProbe:
httpGet:
path: /status
port: 8080
initialDelaySeconds: 120
timeoutSeconds: 5
failureThreshold: 6
# livenessProbe:
# httpGet:
# path: /status
# port: 8080
# initialDelaySeconds: 40000
# timeoutSeconds: 5
# failureThreshold: 6

readinessProbe:
httpGet:
path: /status
port: 8080
initialDelaySeconds: 5
timeoutSeconds: 3
periodSeconds: 5
volumeMounts:
- name: nominatim-db-storage
mountPath: {{ .Values.nominatimApi.persistenceDisk.mountPath }}
Expand Down

0 comments on commit 5116f67

Please sign in to comment.