Make sure the real ip is forwarded through traefik
This commit is contained in:
parent
1be1a4bd81
commit
befce13f80
|
@ -48,3 +48,14 @@ spec:
|
|||
providers:
|
||||
kubernetesCRD:
|
||||
ingressClass: "traefik-external"
|
||||
|
||||
# This is needed in order to properly forward the real ip to each service
|
||||
# There are likely better ways of handling that, but for now this works
|
||||
hostNetwork: true
|
||||
service:
|
||||
spec:
|
||||
externalTrafficPolicy: Local
|
||||
updateStrategy:
|
||||
rollingUpdate:
|
||||
maxUnavailable: 2
|
||||
maxSurge: 0
|
||||
|
|
Loading…
Reference in New Issue
Block a user