diff --git a/deploy/fail2ban-exporter.yaml b/deploy/fail2ban-exporter.yaml index 9d5373b..f3da8ee 100644 --- a/deploy/fail2ban-exporter.yaml +++ b/deploy/fail2ban-exporter.yaml @@ -116,6 +116,13 @@ spec: port: http initialDelaySeconds: 3 periodSeconds: 2 + resources: + limits: + cpu: 500m + memory: 128Mi + requests: + cpu: 250m + memory: 64Mi serviceAccountName: fail2ban-geoip-service-account --- apiVersion: apps/v1 @@ -142,13 +149,20 @@ spec: - env: - name: F2B_GEOIP_SERVICE value: fail2ban-geoip - image: git.ar21.de/yolokube/fail2ban-prometheus-exporter:39 + image: git.ar21.de/yolokube/fail2ban-prometheus-exporter:43 imagePullPolicy: IfNotPresent name: fail2ban-prometheus-exporter ports: - containerPort: 9191 name: http-metrics protocol: TCP + resources: + limits: + cpu: 500m + memory: 128Mi + requests: + cpu: 250m + memory: 64Mi volumeMounts: - mountPath: /var/run/fail2ban/fail2ban.sock name: fail2ban