KUSTOMIZE BUILD: build fail2ban-exporter deployment with kustomize 74 (done automagically via Drone pipeline)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
898eee845b
commit
37cc50da5f
1 changed files with 15 additions and 1 deletions
|
@ -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
|
||||
|
|
Reference in a new issue