2024-10-29 13:22:30 +01:00
|
|
|
---
|
|
|
|
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
|
|
|
|
port: 80
|
|
|
|
targetPort: http
|
2024-11-28 12:07:47 +01:00
|
|
|
- name: http-metrics
|
|
|
|
port: 9191
|
|
|
|
protocol: TCP
|
|
|
|
targetPort: 9191
|
|
|
|
selector:
|
|
|
|
app: fail2ban-geoip
|
|
|
|
type: ClusterIP
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
2024-10-29 13:22:30 +01:00
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: fail2ban-prometheus-exporter
|
|
|
|
app.kubernetes.io/instance: fail2ban-prometheus
|
|
|
|
app.kubernetes.io/name: fail2ban-prometheus-exporter
|
|
|
|
name: fail2ban-prometheus-exporter
|
|
|
|
namespace: fail2ban-prometheus
|
|
|
|
spec:
|
|
|
|
internalTrafficPolicy: Cluster
|
|
|
|
ports:
|
|
|
|
- name: http-metrics
|
|
|
|
port: 9191
|
|
|
|
protocol: TCP
|
|
|
|
targetPort: 9191
|
|
|
|
selector:
|
|
|
|
app: fail2ban-prometheus-exporter
|
|
|
|
type: ClusterIP
|