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

Merge branch 'malowe/master/probes' into 'master'

Add liveness + startup probes to OKD config, update staging res limits

See merge request !44
parents 96520d2f fd327bd2
No related branches found
Tags v6.36.0
1 merge request!44Add liveness + startup probes to OKD config, update staging res limits
Pipeline #42174 passed
...@@ -41,6 +41,26 @@ spec: ...@@ -41,6 +41,26 @@ spec:
requests: requests:
cpu: 200m cpu: 200m
memory: 1Gi memory: 1Gi
startupProbe:
httpGet:
path: /geoip/q/health
port: 8080
scheme: HTTP
timeoutSeconds: 1
initialDelaySeconds: 35
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
livenessProbe:
httpGet:
path: /geoip/q/health
port: 8080
scheme: HTTP
timeoutSeconds: 1
initialDelaySeconds: 60
periodSeconds: 60
successThreshold: 1
failureThreshold: 3
--- ---
apiVersion: "v1" apiVersion: "v1"
kind: "Service" kind: "Service"
......
...@@ -36,11 +36,31 @@ spec: ...@@ -36,11 +36,31 @@ spec:
- containerPort: 8080 - containerPort: 8080
resources: resources:
limits: limits:
cpu: 500m cpu: 300m
memory: 1Gi memory: 512Mi
requests: requests:
cpu: 100m cpu: 300m
memory: 1Gi memory: 512Mi
startupProbe:
httpGet:
path: /geoip/q/health
port: 8080
scheme: HTTP
timeoutSeconds: 1
initialDelaySeconds: 35
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
livenessProbe:
httpGet:
path: /geoip/q/health
port: 8080
scheme: HTTP
timeoutSeconds: 1
initialDelaySeconds: 60
periodSeconds: 60
successThreshold: 1
failureThreshold: 3
--- ---
apiVersion: "v1" apiVersion: "v1"
kind: "Service" kind: "Service"
......
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