Compare commits

..

No commits in common. "a94664e2e94ab5b22b788e5a6fc53669ce1b8c29" and "458eac6af58efe2de71b6b4a4f0423490fa5df5b" have entirely different histories.

3 changed files with 0 additions and 54 deletions

View file

@ -36,10 +36,6 @@ spec:
- env:
- name: GEOIP_LISTEN_ADDRESS
value: :8080
- name: GEOIP_EXPORTER_ADDRESS
value: :9191
- name: GEOIP_ENABLE_EXPORTER
value: true
- name: GEOIP_DATA_URL
value: https://data.neuber.io/data.csv
image: git.ar21.de/yolokube/country-geo-locations:latest
@ -49,9 +45,6 @@ spec:
- containerPort: 8080
name: http
protocol: TCP
- containerPort: 9191
name: http
protocol: TCP
readinessProbe:
httpGet:
httpHeaders:

View file

@ -19,25 +19,6 @@ spec:
---
apiVersion: v1
kind: Service
metadata:
labels:
app: fail2ban-geoip
app.kubernetes.io/instance: fail2ban-prometheus
app.kubernetes.io/name: fail2ban-geoip
name: fail2ban-geoip
namespace: fail2ban-prometheus
spec:
ports:
- name: http-metrics
port: 9191
protocol: TCP
targetPort: 9191
selector:
app: fail2ban-geoip
type: ClusterIP
---
apiVersion: v1
kind: Service
metadata:
labels:
app: fail2ban-prometheus-exporter

View file

@ -26,31 +26,3 @@ spec:
matchLabels:
app.kubernetes.io/instance: fail2ban-prometheus
app.kubernetes.io/name: fail2ban-prometheus-exporter
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
labels:
app: fail2ban-geoip
app.kubernetes.io/instance: fail2ban-prometheus
app.kubernetes.io/name: fail2ban-geoip
name: fail2ban-geoip-servicemonitor
namespace: fail2ban-prometheus
spec:
attachMetadata:
node: false
endpoints:
- interval: 10s
path: /metrics
port: http-metrics
relabelings:
- action: replace
sourceLabels:
- __meta_kubernetes_endpoint_node_name
targetLabel: node
scheme: http
jobLabel: jobLabel
selector:
matchLabels:
app.kubernetes.io/instance: fail2ban-prometheus
app.kubernetes.io/name: fail2ban-geoip