Skip to content
Snippets Groups Projects
Commit 72dcc35b authored by Martin Lowe's avatar Martin Lowe :flag_ca:
Browse files

Add liveness and startup probes to OKD configs

parent 5ecdc884
No related branches found
No related tags found
No related merge requests found
......@@ -41,6 +41,26 @@ spec:
requests:
cpu: 300m
memory: 384Mi
startupProbe:
httpGet:
path: /adopters/q/health
port: 8090
scheme: HTTP
timeoutSeconds: 1
initialDelaySeconds: 20
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
livenessProbe:
httpGet:
path: /adopters/q/health
port: 8090
scheme: HTTP
timeoutSeconds: 1
initialDelaySeconds: 60
periodSeconds: 60
successThreshold: 1
failureThreshold: 3
volumeMounts:
- name: adopters
mountPath: "/config"
......
......@@ -41,6 +41,26 @@ spec:
requests:
cpu: 300m
memory: 384Mi
startupProbe:
httpGet:
path: /adopters/q/health
port: 8090
scheme: HTTP
timeoutSeconds: 1
initialDelaySeconds: 20
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
livenessProbe:
httpGet:
path: /adopters/q/health
port: 8090
scheme: HTTP
timeoutSeconds: 1
initialDelaySeconds: 60
periodSeconds: 60
successThreshold: 1
failureThreshold: 3
volumeMounts:
- name: adopters
mountPath: "/config"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment