From a83837873b47c249d2413023103db8269c6afd74 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 27 May 2020 21:19:33 +0200 Subject: [PATCH] specify resources and probes --- ipapi/deployment.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/ipapi/deployment.yaml b/ipapi/deployment.yaml index b94506c..dcbdb39 100644 --- a/ipapi/deployment.yaml +++ b/ipapi/deployment.yaml @@ -47,6 +47,21 @@ spec: volumeMounts: - name: geoip mountPath: /data/geoip + livenessProbe: + httpGet: + path: /health + port: http + readinessProbe: + httpGet: + path: /health + port: http + resources: + requests: + memory: 64Mi + cpu: 150m + limits: + memory: 256Mi + cpu: 300m volumes: - name: geoip persistentVolumeClaim: