Prefer local ingress endpoints behind k3s ServiceLB
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Failing after 31s
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Failing after 31s
This commit is contained in:
1 parent
2a08898a23
commit
47589988bf
1 file changed
+4
@@ -16,6 +16,10 @@ spec:
|
||||
service:
|
||||
spec:
|
||||
externalTrafficPolicy: Local
|
||||
# ServiceLB masquerades clients as pod traffic before the NodePort hop,
|
||||
# which bypasses externalTrafficPolicy. Prefer the ingress on this node
|
||||
# for that cluster-policy path as well.
|
||||
trafficDistribution: PreferSameNode
|
||||
tolerations:
|
||||
- key: workload
|
||||
operator: Equal
|
||||
|
||||
Reference in new issue
Block a user