Skip to content
Snippets Groups Projects

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

Merged Martin Lowe requested to merge malowe/geoip-rest-api:malowe/master/probes into master
2 files
+ 44
4
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -41,6 +41,26 @@ spec:
requests:
cpu: 200m
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"
kind: "Service"
Loading