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

Merge branch 'malowe/main/probes' into 'main'

Add liveness and startup probes to OKD configs

See merge request eclipsefdn/it/api/eclipsefdn-project-adopters!259
parents 5ecdc884 72dcc35b
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