update
This commit is contained in:
@@ -32,3 +32,15 @@ spec:
|
||||
sourceRange:
|
||||
- 192.168.10.1/32
|
||||
- 10.0.0.0/8
|
||||
|
||||
---
|
||||
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: traefik-real-ip
|
||||
spec:
|
||||
plugin:
|
||||
traefik-real-ip:
|
||||
excludednets:
|
||||
- "1.1.1.1/24"
|
||||
|
||||
@@ -643,6 +643,7 @@ traefik:
|
||||
# - namespace-name1@kubernetescrd
|
||||
# - namespace-name2@kubernetescrd
|
||||
middlewares: []
|
||||
- traefik@traefik-real-ip
|
||||
metrics:
|
||||
# When using hostNetwork, use another port to avoid conflict with node exporter:
|
||||
# https://github.com/prometheus/prometheus/wiki/Default-port-allocations
|
||||
|
||||
Reference in New Issue
Block a user